Not able to bind the model in Menu Control

Hi All,
I am creating a menu. I need to bind the content from Json data. Please do find the below code.
sap.ui.jsview("menusample.menu", {
  getControllerName : function() {
  return "menusample.menu";
  createContent : function(oController) {
  var handleSelect = function(oEvent){
  alert(oEvent.getParameter("item").getId());
  var oMenu11 = new sap.ui.commons.Menu("menu1-1", {ariaDescription: "File Menu"});
  var oControl = new sap.ui.commons.TextView().bindProperty("text", "id");
  var oMenuItem11 = new sap.ui.commons.MenuItem("item1-1-1",{template:oControl});
  oMenu11.addItem(oMenuItem11);
  var oMenuItem12 = new sap.ui.commons.MenuItem("item1-1-2",{text: "Delete"});
  oMenu11.addItem(oMenuItem12);
  var oMenuItem13 = new sap.ui.commons.MenuItem("item1-1-3",{text: "Properties", enabled: false});
  oMenu11.addItem(oMenuItem13);
  // Create a Link which opens the menu on click
  var oLink1 = new sap.ui.commons.Link("link1", {text: "Click me"});
  oLink1.attachPress(function(){
  var eDock = sap.ui.core.Popup.Dock;
  oMenu11.open(
  false /*First item already highlighted*/,
  oLink1.getFocusDomRef() /*Dom reference which gets the focus back when the menu is closed*/,
  eDock.BeginTop, /*"Edge" of the menu (see sap.ui.core.Popup)*/
  eDock.BeginBottom, /*"Edge" of the related opener position (see sap.ui.core.Popup)*/
  oLink1.getDomRef() /*Related opener position (see sap.ui.core.Popup)*/
sap.ui.controller("menusample.menu", {
  onInit: function(oController) {
  this.createJSONContent();
  createJSONContent : function() {
  var aData = [
          {id: "1", name: "Al", isVisible: true, isEnabled:true}
  var oModel = new sap.ui.model.json.JSONModel (aData);
  var oMenu = sap.ui.getCore().byId("menu1-1");
  oMenu.setModel(oModel);
  // Attach the link to the page
  oLink1.placeAt("content");
Please guide me.
Regards,
Aravindh

remove u glass from eyes man

Similar Messages

  • I am not able to bind the data permanently

    HI
    I created a property sheet and a modified menu Component. I am able to bind data from the excel sheet.
    And it showing the data in the component as expected when I click preview.
    The problem is :
    After I have done binding if I click anywhere else in the canvas and then click back on the component the data I inserted in the property sheet is showing there but it is not reflected in the component (data that I have binded from excel sheet as well as the ones I have modified manually).
    The component looks just like its just been dragged and dropped from the Add-On list ( like I have just added a new component and I haven't attached any data to it). At this point if I try to modify data in property sheet, then also there is no change.
    It starts working again only if I delete the entire component, create it once again and then bind the data all over again.
    PS: I can attach some snapshots if my question is not clear.

    Hi,
    On manage screen of your ODS check in request tab how many records are
    added & transferd if they are correct the data is coming properly by ur request id only other wise check that request once in PSA also, if u activate at a time for two
    requests the two requests r comes into one request id with this purpose delete that request & load the same request.

  • Not able to distribute the model

    Hi
    I created a model using BD64 according to the procedure to the best of my knowledge. But i am getting the following error
    "Model view has not been updated. Reason: the distribution model is currntly being processed."
    Nobody else are logged in. Can anybody say what the prob might be and how can that be solved

    hi
    check this link
    [Re: getting problem while creating the dist model in bd64|Re: getting problem while creating the dist model in bd64]
    Thanks& Regards
    Nagesh.Paruchuri

  • Not able to Bind DPS 6.3.1

    Hey,
    I configured Sun Directory Server 6.3.1 on Solaris Sparc. I'm not able to bind the ldapclient.
    **DPS Error log says:**
    17/Sep/2009:07:36:08 +0000] - BACKEND - WARN - No data source available for ADD,BIND,COMPARE,DELETE,MODIFY, in data source pool cn=my pool,cn=datasource pools,cn=config .You may want to check whether the configuration of this pool contains at least one data source enabled and with non-zero weights.
    [17/Sep/2009:07:36:08 +0000] - BACKEND - WARN - Can't retrieve LDAP schema (LDAP error code: 32) No data view were found to process the search request.
    [17/Sep/2009:07:36:08 +0000] - STARTUP - INFO - Sun-Java(tm)-System-Directory-Proxy-Server/6.3 B2008.0311.0334 started on host server-ldap in directory /opt/ldap/master/att-dps1
    [17/Sep/2009:07:36:08 +0000] - STARTUP - INFO - Listening for secure client connections on 0.0.0.0:5392
    [17/Sep/2009:07:36:08 +0000] - STARTUP - INFO - Listening for client connections on 0.0.0.0:5391
    [17/Sep/2009:07:36:37 +0000] - BACKEND - WARN - LDAP server server-ldap:3998/ is up and running.
    [17/Sep/2009:07:36:37 +0000] - BACKEND - WARN - Attempt to bind as dc=my-domain,dc=com to backend server server-ldap:5389/ failed. Silent BIND failed : err=48, error message "",
    [17/Sep/2009:07:36:37 +0000] - BACKEND - ERROR - Failed to create a connection to mdtnj001ldap:5389/
    [17/Sep/2009:07:36:37 +0000] - BACKEND - WARN - LDAP server mdtnj001ldap:5389/ is up and running.
    [17/Sep/2009:11:39:53 +0000] - BACKEND - WARN - No servers available to process BIND in data source pool cn=defaultdatasourcepool,cn=datasource pools,cn=config
    DPS Acces logs says:*_
    [17/Sep/2009:08:56:45 +0000] - SERVER_OP - INFO - conn=67 op=1 BIND RESPONSE err=0 msg="" s_conn=dscc_ldap_mdtnj001ldap:3998:32
    [17/Sep/2009:08:56:45 +0000] - PROFILE - INFO - conn=67 assigned to connection handler cn=directory services administrators,cn=connection handlers,cn=config
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=67 op=1 BIND RESPONSE err=0 msg="" etime=0
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=67 op=2 UNBIND
    [17/Sep/2009:08:56:45 +0000] - DISCONNECT - INFO - conn=67 reason="unbind"
    [17/Sep/2009:08:56:45 +0000] - CONNECT - INFO - conn=68 client=135.25.219.143:28428 server=mdtnj001ldap:5391 protocol=LDAP
    [17/Sep/2009:08:56:45 +0000] - PROFILE - INFO - conn=68 assigned to connection handler cn=default connection handler, cn=connection handlers, cn=config
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=68 op=0 EXTENDED oid="1.3.6.1.4.1.1466.20037"
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=68 op=0 EXTENDED RESPONSE err=0 msg="" etime=0
    [17/Sep/2009:08:56:45 +0000] - OPERATION - INFO - conn=68 op=1 BIND dn="cn=admin,cn=administrators,cn=dscc" method="SIMPLE" version=3
    [17/Sep/2009:08:56:45 +0000] - SERVER_OP - INFO - conn=68 op=1 BIND dn="cn=admin,cn=Administrators,cn=dscc" method="SIMPLE"" version=3 s_msgid=4 s_conn=dscc_ldap_mdtnj001ldap:3998:33
    *DS Error logs says:*
    [15/Sep/2009:09:35:59 +0000] - Sun-Java(tm)-System-Directory/6.3 B2008.0311.0058 (64-bit) starting up
    [15/Sep/2009:09:36:00 +0000] - Listening on all interfaces port 5389 for LDAP requests
    [15/Sep/2009:09:36:00 +0000] - Listening on all interfaces port 5390 for LDAPS requests
    [15/Sep/2009:09:36:00 +0000] - slapd started.
    [15/Sep/2009:09:36:00 +0000] - INFO: 161 entries in the directory database.
    [15/Sep/2009:09:36:00 +0000] - INFO: add:0, modify:0, modrdn:0, search:1, delete:0, compare:0, bind:0 since startup.
    [16/Sep/2009:09:36:00 +0000] - INFO: 161 entries in the directory database.
    [16/Sep/2009:09:36:00 +0000] - INFO: add:0, modify:2, modrdn:0, search:7348, delete:0, compare:0, bind:4 since startup.
    **DS Access logs says:**
    [17/Sep/2009:09:06:52 +0000] conn=630 op=44 msgId=45 - SRCH base="" scope=0 filter="(objectClass=1.1)" attrs=ALL
    [17/Sep/2009:09:06:52 +0000] conn=630 op=44 msgId=45 - RESULT err=0 tag=101 nentries=0 etime=0
    [17/Sep/2009:09:07:22 +0000] conn=637 op=180 msgId=1 - SRCH base="" scope=0 filter="(|(objectClass=*)(objectClass=ldapSubEntry))" attrs="1.1"
    [17/Sep/2009:09:07:22 +0000] conn=637 op=180 msgId=1 - RESULT err=0 tag=101 nentries=1 etime=0
    **On Ldap Client which is also Sun Sparc Box:**
    bash-3.00# ldapclient list
    NS_LDAP_FILE_VERSION= 2.0
    NS_LDAP_BINDDN= cn=proxyagent,ou=profile,dc=my-doamin,dc=com
    NS_LDAP_BINDPASSWD= {NS1}25c94587c053424f
    NS_LDAP_SERVERS= Y.Y.Y.Y:5389
    NS_LDAP_SEARCH_BASEDN= dc=my-domain,dc=com
    NS_LDAP_AUTH= simple
    NS_LDAP_SEARCH_REF= FALSE
    NS_LDAP_CACHETTL= 0
    NS_LDAP_CREDENTIAL_LEVEL= proxy
    bash-3.00# ldaplist -v
    +++ database=NULL
    +++ filter=objectclass=*
    +++ template for merging SSD filter=%s
    ldaplist: Object not found (Session error no available conn.
    I'm able to run successfully ldapsearch -p 5389 -h Y.Y.Y.Y -D "cn=Directory Manager" -b 'ou=People,dc=my-domain,dc=com' objectclass=* from client box [ When I'm using port 5389 where DS service is running on]
    BUT
    Getting Error when searching using port 5391 [Where DPS is running on ]
    bash-3.00# ldapsearch -p 5391 -h Y.Y.Y.Y -D "cn=Directory Manager" -b 'ou=People,dc=my-doamin,dc=com' objectclass=*
    Enter bind password:
    ldap_simple_bind: Operations error
    ldap_simple_bind: additional info: Unable to retrieve a backend BIND connection
    bash-3.00#
    bash-3.00# tail -f /var/ldap/cachemgr.log
    Tue Sep 15 09:06:38.0240 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
    Tue Sep 15 09:06:38.0460 sig_ok_to_exit(): parent exiting...
    Tue Sep 15 09:31:25.3718 Starting ldap_cachemgr, logfile /var/ldap/cachemgr.log
    Tue Sep 15 09:31:25.3977 sig_ok_to_exit(): parent exiting...
    bash-3.00# tail -f /var/adm/messages
    Sep 17 03:44:41 mdtnj001wbs last message repeated 11 times
    Sep 17 03:44:41 mdtnj001wbs last message repeated 11 times
    Sep 17 03:48:31 mdtnj001wbs ldaplist[6828]: [ID 293258 user.error] libsldap: Status: 32 Mesg: openConnection: simple bind failed - No such object
    Sep 17 03:48:31 mdtnj001wbs ldaplist[6828]: [ID 293258 user.error] libsldap: Status: 32 Mesg: openConnection: simple bind failed - No such object
    Could you please help me out. Whats wrong configuration I made .. OR Did I forget to add....
    Thanks
    Sanjay

    Adding Few more Info for the same:
    I create My View/My Pool
    bash-3.00# /opt/ldap/master/dps6/bin/dpconf get-ldap-data-view-prop -h server-ldap -p 5391 -v My\ View
    alternate-search-base-dn : ""
    alternate-search-base-dn : dc=com
    attr-name-mappings : none
    base-dn : dc=my-doamin,dc=com
    contains-shared-entries : false
    custom-distribution-algorithm : none
    description : -
    distribution-algorithm : none
    dn-join-rule : none
    dn-mapping-attrs : none
    dn-mapping-source-base-dn : none
    excluded-subtrees : -
    filter-join-rule : none
    is-enabled : true
    is-read-only : false
    is-routable : true
    ldap-data-source-pool : My Pool
    lexicographic-attrs : all
    lexicographic-lower-bound : none
    lexicographic-upper-bound : none
    non-viewable-attr : none
    non-writable-attr : none
    numeric-attrs : all
    numeric-default-data-view : false
    numeric-lower-bound : none
    numeric-upper-bound : none
    pattern-matching-base-object-search-filter : all
    pattern-matching-dn-regular-expression : all
    pattern-matching-one-level-search-filter : all
    pattern-matching-subtree-search-filter : all
    process-bind : -
    replication-role : master
    viewable-attr : all except non-viewable-attr
    writable-attr : all except non-writable-attr
    The "get-ldap-data-view-prop" operation succeeded on "server-ldap:5391".
    bash-3.00# /opt/ldap/master/dps6/bin/dpconf list-attached-ldap-data-sources -h server-ldap -p 5391 -v My\ Pool
    SRC_NAME add-weight bind-weight compare-weight delete-weight modify-dn-weight modify-weight search-weight
    My DS disabled disabled disabled disabled disabled disabled 100
    The "list-attached-ldap-data-sources" operation succeeded on "server-ldap:5391".
    bash-3.00# /opt/ldap/master/dps6/bin/dpconf list-ldap-data-sources -v -h server-ldap -p 5391
    SRC_NAME is-enabled ldap-address ldap-port ldaps-port description
    My DS true server-ldap 5389 ldaps
    dscc_ldap_server-ldap:3998 true server-ldap 3998 ldaps dscc administration server
    The "list-ldap-data-sources" operation succeeded on "mdtnj001ldap:5391".
    If you need more info .. please let me know....
    Thanks
    Sanjay

  • BI Publisher: not able to see the xml data after creating a data model

    I am learning BI publisher and trying to create a report data model
    I created a new data model from the report tab, use query builder, able to see the results. Then i save it and try to launch XML view from clicking View .
    I am getting unexpected exception, not able to see the XML view .
    in the server console i got servlet exception, here is one of the line
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303
    Edited by: joysaha123 on Mar 17, 2010 6:07 PM

    Hi karthik
    Thanks for your response
    Actually iam a beginner in java coding hence struggling to come up with the things
    I tried putting your code and onserver side i see it is returning 09:12:17,234 INFO [STDOUT] [root: null]
    actually the same program i wrote in java
    and the same method i was calling from the main
    and it is working fine and the xml document is getting displayed one important thing to be noted here is that the factory.newDocumentBuilder().parse(new File(filename));is returing XmlDocument
    and the printing takes place
    but the in same method public static Document parseXMLFile(String filename, boolean b) in servlet
    the line factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
    and this creating problem , had it returned XmlDocument
    i would have printed the elements one one
    but as it is returning deferredimpl
    iam unable to print the elements
    could you please tell me why factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
    in servlets but in plain java pogram it is returing XmlDocument
    Thanks
    Bhanu

  • I got a Model Number: A1181, My hard drive burned out. I bouhgt a new hard drive Wd Scorpio 500 GB. When i tried to install the MAC OS, it identies a hard drive with 3.6 TB and i'm not able to do the installation.

    I got a Model Number: A1181, My hard drive burned out. I bouhgt a new hard drive Wd Blue Scorpio 500 GB. When i tried to install the MAC OS, it identifies a hard drive with 3.6 TB and i'm not able to do the installation. I touhgt the new ard drive was bad but i was able to install windows XP. Any ideas what do i have to do?

    Well, let's hope that nothing was jiggled out of place when you were installing the new hard drive. Your optical drive may just be out of alignment or the disc you have is "dirty." Get a lint-free cloth and some rubbing alcohol, then clean the disc as thoroughly as you can starting from the center and working outward in a concentric circlular motion. See if that helps. In particular clean the inner portion well.
    If this does not help, then you have a problem. You have opened the computer yourself. That action voids all support from Apple. If you take the computer in for service the store may refuse to service the computer. This is not related to your now expired warranty.

  • I have Photoshop Lightroom 5 and have downloaded Camera Raw 8.7.1 &DNG converter successfully. I have a new Sony Alpha 7 11 model ILCE-A7M2 that is supported by LR5. I am still not able to see the RAW pictures. The message says preview unavailable for thi

    I have Photoshop Lightroom 5 and have downloaded Camera Raw 8.7.1 &DNG converter successfully. I have a new Sony Alpha 7 11 model ILCE-A7M2 that is supported by LR5. I am still not able to see the RAW pictures. The message says preview unavailable for this file DSC-ARW. Whatelse I should be doing to see my pictures? Can someone help?
    Anita

    The support for that camera was added in the very latest release of Lightroom, version 5.7.1. Having downloaded Camera Raw 8.7.1 will have no effect on Lightroom because Lightroom doesn't use the Camera Raw plug-in. You need to make sure you have updated Lightroom to the very latest release in order to have support for that camera.

  • Hi I was using whatsapp on my iPhone5.I was not able go to the main menu by pressing the center button so I hold on to the button for 2 seconds.Then the whole display turned out to be black

    I was not able go to the main menu from whatsapp by pressing the center button so I hold on to the button for 2 seconds.Then the whole display turned out to be black & white. how can i fix it?

    Hello monicaa003,
    Thanks for participating in the Apple Support Communities.
    If your iPhone display turned black and white after holding down the Home button for 2 seconds, first try pressing the Home button again to go to the main menu (Home screen.)
    For reference, holding down the Home button for 2 seconds will trigger Siri if that feature is enabled:
    About Siri - Apple Support
    If pressing the Home button doesn't return you to the main menu, try restarting or resetting your iPhone:
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    Additionally, if Whatsapp is not responding or working as expected, see the troubleshooting steps at this link:
    If an app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
    Best Regards,
    Jeremy

  • I am not able to edit the spry menu via dreamweaver

    After having configured a spry-menu-horizontal-bar in my we page the
    day before, I cam back to add more links, however, I found this error
    message:
    The following translator were not loaded due to errors:
    PHP_MySQL.htm, has configuration information that is invalid.
    Spry.htm: has configuration that is invalid.
    SplyWidget.htm: has configuration information that is invalid.
    XSLT.htm: has configuration information that is invalid
    I am not able to edit the spry menu via dream weaver and doing the
    modifications by hand is cumbersome and prone to errors.
    Does anyone know how to solve this problem?
    Have a good day!
    http://www.tandooristyle.ca/ArbolOne1.html

    Not sure exactly why, but somethings don't look normal like why you have a PHP_MYSQL.htm file?
    Anyways, bets to post this on the Dreamweaver forum instead of the Developer Toolbox forum. You will get a much quicker response as this has nothing to do with the Adobe Dreamweaver Developer's Toolkit.
    Brad Lawryk
    Adobe Community Expert, Dreamweaver
    Adobe Usergroup Manager, Northern British Columbia Adobe User Group

  • I am not able to view the default view of FF 4.0, It is showing menu bar with the windows border. When i turn off menu bar, the strip which should be present above the tabs goes missing.

    I have recently downloaded FF 4.0 and using a lot of add-ons. I am not able to view the default view of FF 4.0 with no menu bar. Even after turning off the menu bar from customization, I am able to see only the tabs and FF button, but not the strip over the tabs.

    When you hide the menu bar to display the Firefox button, the titlebar (strip above the tabs) is only displayed if the Firefox window is not maximized. If you always want the Window titlebar, you can use the Firefox 4 UI Fixer extension - https://addons.mozilla.org/firefox/addon/firefox-4-ui-fixer

  • To download an App the 3 security questions are required. But at the end, apple is not able to complete the task and gives an error message. No more downloads are possible. What can I do?

    to download an App the 3 security questions are required. But at the end, apple is not able to complete the task and gives an error message. No more downloads are possible. What can I do?

    Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Do they launch OK while in Safe Mode?

  • The problem here is i am not able to get the data from the list

    hi all,
    i have the following code
    EnrichedProductCatalogue enrichedProductCatalogue1 = new EnrichedProductCatalogue();
    enrichedProductCatalogue1.setAssetCount(2);
    enrichedProductCatalogue1.setBlockingProduct("Weekend Freebee");
    enrichedProductCatalogue1.setBlockingReason("Compatability");
    ArrayList<String> availableActionsList = new ArrayList<String>();
    availableActionsList.add(EnrichedProductConstants.ADD.toString());
    availableActionsList.add(EnrichedProductConstants.REMOVE.toString());
    enrichedProductCatalogue1.setAvailaibleActions((ArrayList<String>)availableActionsList);
    BundleProduct bundleProduct = null;
    Product product = new Product();
    product = new Product();
    product.setProductName("International");
    product.setProductClassName("International");
    ArrayList<UiCategory> uiCategory = new ArrayList<UiCategory>();
    UiCategory uiCategory1 = new UiCategory();
    uiCategory1.setCategoryName("Simply");
    UiCategory uiCategory2 = new UiCategory();
    uiCategory2.setCategoryName("Freebees");
    uiCategory.add(uiCategory1);
    uiCategory.add(uiCategory2);
    product.setUiCategory(uiCategory);
    bundleProduct = new BundleProduct();
    bundleProduct.setCommercialProduct(product);
    enrichedProductCatalogue1.setBundleProduct(bundleProduct);
    listOfEnrichProducts.add(enrichedProductCatalogue1);
    listOfEnrichProducts.add(enrichedProductCatalogue1);
    here i have an list called listOfEnrichProducts.
    here i am adding two objects of enrichedProductCatalogue.
    which contains a object called BundleProduct.
    which has a reference for Product class.
    here this product class has a list which contains objects of another class called UiCategory.
    the problem here is i am not able to get the data from the list which contains UiCategory objects .
    the following is the UI
    <af:table var="row" rowBandingInterval="0" id="t1"
    value="#{pageFlowScope.sample1}"
    binding="#{pageFlowScope.sampleManagedBean.dataTable}"
    partialTriggers="apimethods ::apimethods">
    <af:column sortable="false" headerText="ProductName" id="c2">
    <af:outputText value="#{row.bundleProduct.commercialProduct.productName}" id="ot15"/>
    </af:column>
    <af:column sortable="false" headerText="ProductClass" id="c12">
    <af:outputText value="#{row.bundleProduct.commercialProduct.productClassName}" id="ot19"/>
    </af:column>
    <!--
    <af:column sortable="false" headerText="UICategoryName" id="c32">
    <af:forEach var="item" items="#{row.bundleProduct.commercialProduct.uiCategory}" >
    <af:outputText value="#{item.categoryName}" id="ot119"/>
    </af:forEach>
    </af:column>
    -->
    <af:column sortable="false" headerText="AssetCount" id="c22">
    <af:outputText value="#{row.assetCount}" id="ot1"/>
    </af:column>
    <af:column sortable="false" headerText="blockingReason" id="c3">
    <af:outputText value="#{row.blockingReason}" id="ot2"/>
    </af:column>
    <af:column sortable="false" headerText="blockingProduct" id="c4">
    <af:outputText value="#{row.blockingProduct}" id="ot3"/>
    </af:column>
    <!--<af:column sortable="false" headerText="availaibleActions" id="c1">
    <af:commandButton text="#{row.availaibleActions}" id="cb1"
    actionListener="#{pageFlowScope.sampleManagedBean.callAction}"
    partialSubmit="true">
    <af:setPropertyListener from="#{row.availaibleActions}"
    to="#{pageFlowScope.avalibleaction}" type="action"/>
    </af:commandButton>
    </af:column>-->
    </af:table>
    Can anyone pls give some solution ...

    Hi Frank,
    value="#{pageFlowScope.sample1}"
    here sample is
    Map<String, Object> flowScope1 =
    ADFContext.getCurrent().getPageFlowScope();
    flowScope.put("sample1", listOfEnrichProducts);
    this is not the problem . i am able to get all the values except the following .
    ArrayList<UiCategory> uiCategory = new ArrayList<UiCategory>();
    UiCategory uiCategory1 = new UiCategory();
    uiCategory1.setCategoryName("Simply");
    UiCategory uiCategory2 = new UiCategory();
    uiCategory2.setCategoryName("Freebees");
    uiCategory.add(uiCategory1);
    uiCategory.add(uiCategory2);
    product.setUiCategory(uiCategory);

  • Remote Object - not able to get the returned value from java method

         Hi ,
    I am developing one sample flex aplication that connects to the java code and displays the returned value from the
    java method in flex client. Here I am able to invoke the java method but not able to collect the returned value.
    lastResult is giving null .  I am able to see the sysout messages in server console.
    I am using flex 3.2 and blazeds server  and java 1.5
    Here is the code what I have written.
    <?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication  xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#FFFFFF" initialize="initApp()">
     <mx:Script><![CDATA[
    import mx.controls.Alert; 
    import mx.binding.utils.ChangeWatcher; 
    import mx.rpc.events.ResultEvent; 
    import mx.messaging.*; 
    import mx.messaging.channels.* 
    public function initApp():void { 
         var cs:ChannelSet = new ChannelSet(); 
         var customChannel:Channel = new AMFChannel("my-amf", "http://localhost:8400/blazeds/messagebroker/amf");     cs.addChannel(customChannel);
         remoteObj.channelSet = cs;
    public function writeToConsole():void {      remoteObj.writeToConsole(
    "hello from Flash client");
          var returnedVal:String = remoteObj.setName().lastResult;     Alert.show(returnedVal);
    //[Bindable] 
    // private var returnedVal:String; 
    ]]>
    </mx:Script>
    <mx:RemoteObject id="remoteObj" destination="sro" /> 
    <mx:Form width="437" height="281">
     <mx:FormItem>  
    </mx:FormItem>  
    <mx:Button label="Write To Server Console" click="writeToConsole()"/>
     </mx:Form>
     </mx:WindowedApplication>
    Java code
    public  
         public SimpleRemoteObject(){  
              super();     }
      class SimpleRemoteObject { 
         public void writeToConsole(String msg) {          System.out.println("SimpleRemoteObject.write: " + msg);     }
         public String setName(){          System.
    out.println("Name changed in Java"); 
              return "Name changed in Java";
    And I have configured destination in  remote-config.xml
    <destination id="sro">
       <properties>    
        <source>SimpleRemoteObject</source>
        <scope>application</scope>
       </properties>
      </destination>
    Please help me .

    You are not able to get the returned value because if you see the Remote object help you will realise you have to use result="resultfn()" and fault = "faultfn()"
    In this you define what you wish to do.
    More importantly in the remote object you need to define which method you wish to call using the method class like this
    <mx:RemoteObject id="remoteObj" destination="sro" result="r1" fault="f1"  >
         <Method name="javaMethodName" result="r2" fault="f2"/>
    <mx:RemoteObject>
    r2 is the function where you get the result back from java and can use it to send the alert.

  • I am trying to authenticate at Filevault preboot using external Serial (RS232) to USB convertor where USB port is connected to my mac machine.But on preboot I am not able to type the password using console where my machine is connected.

    I am using an external keyboard which is actually a Device KeyAT who do the keyboard simulator kind of operation over Serial (RS232) to USB connector.
    I have a controller machine connected with Serial Port and MAC machine is connected by a USB port to that device.
    I am able to type the password on OS X login screen but on using the same device and set up on Filevault preboot I am not able to type the password.
    This connector is detected as a USB 2.0 composite device in System Hardware table.
    Can someone hints or point out a potential cause or to rectify this issue.
    Thanks in Advance.

    Which os version are you using? 
    Which iPod Nano model do you have?  iPod Models 
    iPod not recognized in iTunes and Mac desktop 

  • Not able to run the SSIS package in SQL Server Agent Job in SQL 2012

    Hi,
    I scheduled a job (SQL SERVER AGENT) which will call my SSIS package. This package will execute 5 packages in loop.
    When I execute this job I am getting error as below
    ============================================================
    Started  : 12:30:19 PM 
    Error  : 2014-01-23 12:30:20.37    
    Code  : 0xC00220EC    
    Source  : Execute Package Task     
    Description : Error 0x80070005. Failed to create an instance of empty child package.
        The Distributed Component Object Model (DCOM) configuration or the installation of SQL Server Integration Services,
        may be corrupted on your machine.  End Error 
    Error  : 2014-01-23 12:30:20.37    
    Code  : 0xC00220DE    
    Source  : Execute Package Task     
    Description : Error 0x80070005 while loading package file "D:\SSIS\RetailMobileApp\Staging_Pkg\stg_Category_Master.dtsx". Access is denied.End Error 
    DTExec  : The package execution returned DTSER_FAILURE (1). 
    Started  : 12:30:19 PM 
    Finished : 12:30:20 PM 
    Elapsed  : 1.123 seconds. 
    The package execution failed. 
    The step failed.
    ============================================================
    In the STEPS I have selected as follows:
    Type  : SQL Server Integration Services Package
    Run as: SQL Server Agent Service Account
    Package Source: File System
    What config I need to check here ? This job is not able to access the package stored in the folder.
    Sridhar

    Thanks for your reply. I had created credentials and used this while creating the Proxy account. With the Proxy account I am able to execute the Job Successfully. Concern here is I used my NT account to create this Proxy. Suppose If I left from the
    current project if some one is coming to this project later they need to change the credential with their NT account and run the JOB? Is this right way or we an create any other account in common? If so how?
    Sridhar

Maybe you are looking for

  • Project cannot open: "Searching for Movie Data" in render file

    My feature-length project suddenly stopped loading today, pausing at 47% to complain that a bunch of render files are missing, and that "this movie cannot play without the file..." I've seen these error messages when trying to open Quicktimes that re

  • Issue with Archiving & Deletion of messages in PI ,SXMB_MONI messages

    Hello experts I am  working on Archiving & Deletion of messages in PI ,SXMB_MONI, i have fallowed all the steps which are avialable in /people/deepak.shah/blog/2010/04/22/archiving-deletion-of-messages-in-pi--part-2, but the messages still there in S

  • Whatsapp application issue after update done

    i ahve purchased sonyxperia p 2 months back and having an issue with whats app application it is installed but not goring forward after i put my no it is giving below mentined error ..I have tried after re installing it no. of time ..pls help for thi

  • Firefox cannot load websites(facebook) but other programs can

    after i have upgrade firefox cannot load websites(facebook) but other programs can, i cannot see my friend whose is online,and cannot chat with them, cannot share video ....what should i do?

  • Unable to Open Inbox sub folders of other users Using OWA

    I have a mailbox in which I have granted the permission to access another mailbox's items. The exact command I used is: Add-MailboxPermission –identity <Identity of mailbox to be accessed> –User domain\groupname –AccessRights ReadPermission –Inherita