ADF Mobile: What is the row element of AmxAccessorIteratorBinding ???

I can obtain the iterator, but methods don't give any clue.
What shall I cast AmxAccessorIteratorBinding.getCurrentRow or BasicIterator.getCurrentRow ???
None returns any specific type, all are Object.
When I capture by propertyListener, it's the same...
<amx:setPropertyListener from="#{bindings.srvIterator.currentRow}"
to="#{pageFlowScope.currentRow}" type="action"/>
Any ideas? What is the exact type to cast a row element?

Hi,
I suggest to use AmxIteratorBinding.getIterator() to obtain an instance of BasicIterator as it provides some additional methods and functionality.
Frank

Similar Messages

  • What are the basic element of Base configuration of an oracle Database ?

    What are the basic element of Base configuration of an oracle Database ?

    889543 wrote:
    What are the basic element of Base configuration of an oracle Database ?check this link
    http://www.dbnest.com/entry/194/
    and if you want to configure oracle installation click below link .
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/install002.htm
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What are the data elements of 0material and 0customer

    Hi,
    What are the data elements of 0material and 0customer??
    Thanks

    Hi.......
    Dataelement for 0MATERIAL is MATNR
    Dataelement for 0CUSTOMER is KUND1
    Check these links :
    http://help.sap.com/saphelp_nw04/helpdata/en/df/3ff438520e6a71e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0a/802e1c120511d4973900a0c930e0da/frameset.htm
    Hope this helps you......
    Regards,
    Debjani......

  • What are the necessary elements in ejb-jar.xml with CMP entity bean

    What are the necessary elements in ejb-jar.xml with CMP entity bean
    Actually i am using webligic 8.1 and while deployment getting the error that
    some elements r missing
    Thanks
    Anand Pritam

    According to the ejb-jar.xml dtd ejb-name, ejb-class, persistence-type, prim-key-class, reentrant are the required elements for an entity bean.
    <!ELEMENT entity (description?, display-name?, small-icon?,
              large-icon?, ejb-name, home?, remote?, local-home?,
              local?, ejb-class, persistence-type, prim-key-class,
              reentrant, cmp-version?, abstract-schema-name?,
              cmp-field*, primkey-field?, env-entry*, ejb-ref*,
              ejb-local-ref*, security-role-ref*, security-identity?,
              resource-ref*, resource-env-ref*, query*)>

  • Error while deploying the ADF Mobile application to the Android Emulator.

    Hi,
    I'm getting an error when trying to deploying a basic helloworld ADF mobile application to my Android sdk emulator which is already running as below.
    I'm not able to make anything from this limited log. Can anyone have a look and help me with what could be wrong.
    Any kind of suggestions are most welcome.
    [06:09:30 PM] Print the version of this tool (1.7).
    [06:09:30 PM] dx --help
    [06:09:30 PM] Print this message.
    [06:09:30 PM] Command-line execution failed (Return code: 1)
    [06:09:30 PM] Command-line executed: "D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat" dex debug keep-classes output="D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes.dex" D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\AND_ksoap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\Container.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\IDMMobileSDK.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\logging_dalvik_release.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\phonegap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\vmchannel_dalvik_release.jar
    [06:09:30 PM] Shutting down Android Debug Bridge server...
    [06:09:30 PM] Deployment cancelled.
    [06:09:30 PM] ---- Deployment incomplete ----.
    [06:09:30 PM] Deployment failed due to one or more errors returned by 'D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)
    Thanks,
    Bhasker

    I'm not able to make anything from this limited log.
    For Android emulator logs run the following command.
    adb logcat
    logcat | Android Developers

  • Can't omit both the rowset and the row element?

    consider the simple document below. Notice that row-element and
    rowset-element are both empty, so neither type of element will
    be generated. Also notice that the xsql:query tag is embedded in
    other tags.
    I get "oracle.xml.sql.OracleXMLSQLException: The row enclosing
    tag or the row-set enclosing tag is ommitted; consequently to
    get a well formed XML document, the result can only consist of a
    single row with multiple columns or multiple rows with exactly
    one column each." However, in reality the result will be a valid
    XML document because I enclosed the query in a single top-level
    <table> tag. So the error checking code in the XSQL servlet is
    generating a generating a false positive (that is, seeing an
    error that isn't there).
    My question is, how can I work around this problem? I know I can
    let the servlet generate a rowset element and use an XSLT
    stylesheet to remove it but is there a another way?
    Thanks,
    Brian
    By the way, the "numbers" table contains the numbers 1-1,000,000
    and so it can be used to generate multiple copies of the output
    of any query. In this example, I expect to get 55 <th> tags in
    the output (yes, my HTML table is really that wide), all nested
    in a single <tr> tag which is nested inside a single <table> tag.
    <table connection="XXX"
    xmlns:xsql="urn:oracle-xsql"
    xmlns='http://www.w3.org/1999/xhtml'>
    <tr><th rowspan='2'>ID</th>
    <xsql:query rowset-element=''
    row-element=''>
    <![CDATA[
    SELECT 'fvc'          AS "th"
              , 'fev1'     AS "th"
              , 'fef25_75'     AS "th"
              , 'fev1/fvc'     AS "th"
              , 'vc'          AS "th"
              , 'tlc'          AS "th"
              , 'rv'          AS "th"
              , 'frc_n2'     AS "th"
              , 'frc_pl'     AS "th"
              , 'erv'          AS "th"
              , 'dlco'      AS "th"
         FROM numbers
         WHERE n < 5
    ]]>
    </xsql:query>
    </tr>
    </table>

    In XML, single quotes are equivelent to double quotes. This
    enables you to have attribute values like "That's Neat" and
    'About 2" Long'.
    The problem is that an xsql query can only return a tree as a
    fragment (e.g. there must be one root element). I think this is
    too restrictive.

  • Problem getting the row  element

    hi
        i have a scenario where  i have  filtered data from
       3 listboxes  and  populated the data in the  table .
      now  the table contains  about  10  rows  .
      now  i need to select a particular  row  in the  table 
       and  catch the particular row data  of the table .
    n is size of the table .     
    for(int i=0;i<n;i++)
                           if(wdContext.nodeIt_Car_Data_t().isSelected(i) {
    String model=wdContext.nodeIt_Car_Data_t().currentIt_Car_Data_tElement().getP_Model();
    String trim=wdContext.nodeIt_Car_Data().currentIt_Car_DataElement().getP_Trim();
    but  iam not able get the row data in the string where i am catching in
      it_car_data_t  is the  table node .  
    model  and  trim  are table elements . 
    how can i solve this ?

    hi
    thanks  for the reply  ,  but  the same issue .
    problem here is  when i am filtering the data for the Itemlistbox
              i am catching filtered data in the String
      and  then setting it to a Structue IT_CAR  as 
    Z_CAR_DATA car= new Z_CAR_DATA()
    car.setMake(make)
    next   adding this car to the   RFC 
    wdcontext.currentRFC.modelobject.additcar(car).
    not  i will get the filtered ddata in table . along with  some 
    extra data in the  table .
    now  i need to catch the row  data  then  again set it
    IT_CAR (which i have done above )
    data i am setting is not  going to IT_CAR structure  .
    because  after i get the data in the IT_CAR strucure i can
    data this to the RFC .
        can  any one help me out with this issue .
      i need to  get the  row of the table  and then  set it 
    to a structure  which  iam not able to .

  • What does the row source generator does ?

    Hi,
    I am looking for a small sort of defination of row source generator. actually i have gone through the defintaion,and bit confused.please follow your defination with an example which could give me better see .i am confused in these line
    "it outputs the execution plan for the sql statements" and " the row source generator is collection of row sources structred in the form of tree".
    thanks
    Alok.

    The source of these words is a the Oracle documentation.
    The row source generator is a translator: it converts the optimal execution plan into a concrete set of instructions for the SQL engine. That, at least, is my understanding.
    Perhaps it might help to think of it as an exercise in navigation. The optimal plan for getting from A to B is to go via D and F. But what you tell the driver is, "go 2 miles down A-road, take third turning on left, go straight ahead at the D crossroads, take the first road on the right, then it's the third exit off the F roundabout and B is the lefthand road at the next t-junction". Of course, the problem witrh analogies is that they can confuse the issue rather than illuminate it.
    So my advice is, don't sweat the details. Approach the optimizer as a black box and get a feel for what it does by playing with queries. Then re-read the architectural definition and see if it makes more sense.
    Cheers, APC

  • What are the org Elements inSAP CRM

    can any one say wt are the org elements in  SAP CRM
    regards,
    madhav

    take a look at transaction pposa_crm.
    Michael.

  • ADF Mobile: What means ADF-MNC-40035 on WinMobile?

    Hi,
    when running the ADFBC example on WinMobile having set the option "Always" at "Run Database Initialization Script" everthing works fine and the database is recreated at each program start.
    When using the option "If no database" than the message ADF-MNC-40035 is shown. Where to find the meaning of this error message?
    Many thanks,
    Gerd
    Edited by: user467466 on May 10, 2011 7:31 AM

    Can not find the message in the application.
    ADFBC is a test program delivered by Oracle in adfmc_bundle.zip.
    adfmc_bundle.zip\jdev\extensions\oracle.adfnmc.core\Samples\Samples.zip\ADFBC
    Edited by: user467466 on May 16, 2011 1:20 AM

  • Unable to install the ADF Mobile extension inJDeveloper version  11.1.2.3.0

    Hi,
    I'm trying to install the ADF Mobile extension using JDeveloper version 11.1.2.3.0. I have tried following options -:
    1.) Install extension from Official Oracle Extensions and Updates . Help->Check for Updates->select Official Oracle Extensions and Updates->Next ->ADF Mobile ->Next ->Finish->Restart Jdev
    2.) Downloaded ADF Mobile extension zip file and saved it in local drive.Then Help->Check for Updates->Install from Local drive.
    On restarting the Jdeveloper when i tried to verify the installation, i'm unable to see ADF Mobile framework in the Extensions tab. Plus i do not see ADF Mobile option when i go to create a new application.
    I have tried to install the extension atleast 8-9 times still no luck.
    Please advice what could be the reason why installation is getting failed.
    Regards,
    Himanshu
    Edited by: HimanshuR on Oct 31, 2012 3:17 AM

    Hi,
    I tried setting up the environment on some other machine on which Jdeveloper(any version) was never installed.I tried to install the ADF Mobile extension using JDeveloper version 11.1.2.3.0.I tried following options -:
    1.)Installed JDeveloper version 11.1.2.3.
    2.)Install extension from Official Oracle Extensions and Updates . Help->Check for Updates->select Official Oracle Extensions and Updates->Next ->ADF Mobile ->Next ->Finish->Restart Jdev
    Still no luck. I'm unable to see the ADF Mobile in extension tab.
    Is there any other method apart from installing from Update center or Install from Local File. Can i directly copy the content of adf-mobile_bundle.zip in the extension folder in Jdev ?
    Please advice as i have been strugling to install ADF Mobile extension.
    Thanks & Regards,
    Himanshu Rao
    Edited by: HimanshuR on Nov 5, 2012 2:52 AM

  • ADF mobile : How to insert new rows in shopping cart application

    Hi All,
    I'm developing a shopping cart sample application.
    The first page shows 3 rows(with item and quantity columns) and "Add Row" & "save to shopping cart " buttons . On clicking add row button i want to add 4th row to the table  and on clicking "save" button all the items should add to cart.
    Can somebody tell me how to add dynamic rows in adf mobile and access the data in DC to save the data.
    Thanks,
    Prashanth.

    Are you talking about working with the local SQLite database on the device or with a remote database on the server?
    For local DB - check out the HR ADF Mobile sample.
    http://www.oracle.com/technetwork/developer-tools/adf/adf-mobile-samples-1865088.html

  • [ADF-11.1.2] Link on adf tabel does not select row before navigation

    Hi,
    I have a List of Contries displayed in table with a view button on panel collection toolbar. User Select the country row, which makes changes current row of country View Iterator binding on page, and click on view button, which navigates to detail page of selected country. This works fine.
    But I want to reduce the number for clicks made by user. So I converted one of column of county table to link with the same action as view button. So now... User Selects the row, click on link button of selected row, navigation works fine. But when user directly clicks on link, without selecting row, it navigates to last selected row (or probabily the first row when user open the table for first time).
    I was under impression that when link is there under af|column, adf would internally selects the row before any action happens otherwise what's the use of having link in column ?.
    Please correct me, if I am worng.

    Ahh sorry... My bad.
    I am using firefox 10 which seems not supported yet.
    I tried on IE 9 and chrome and it's working fine there.
    I will try with firefox 4 and post here in case if I find any issue.

  • Programatically retrieve data using iterator in oracle ADF Mobile

    I want to read programatically data using iterator in ADF mobile. My code is :
    try
    ValueExpression vex = AdfmfJavaUtilities.getValueExpression("#{bindings.WeatherDescriptionIterator}", Object.class);
    AmxIteratorBinding iter = (AmxIteratorBinding)vex.getValue(AdfmfJavaUtilities.getAdfELContext());
    GenericType row = null;
    BasicIterator bIter = iter.getIterator();
    iter.getIterator().first();
    ArrayList employees = new ArrayList();
    for(int i = 0; i < iter.getIterator().getTotalRowCount(); i++)
    row = (GenericType)iter.getCurrentRow();
    String phone = "";
    String email = "";
    if(row.getAttribute("Description") != null)
    phone = row.getAttribute("Description").toString();
    if(row.getAttribute("WeatherID") != null)
    email = row.getAttribute("WeatherID").toString();
    setTempValue(phone + " " + email);
    iter.getIterator().next();
    catch(Exception e1)
    AdfException ex = new AdfException(""+e1.getLocalizedMessage(), AdfException.ERROR );
    throw ex;
    I get error :-> cant not find property bindings
    Edited by: user12190920 on May 7, 2013 5:48 AM

    Hi,
    You can try the below code. Make sure the WeatherDescription should be of type Tree binding
    ValueExpression ve1 =
    AdfmfJavaUtilities.getValueExpression("#{bindings.departments.collectionModel}", AmxCollectionModel.class);
    AmxCollectionModel model = (AmxCollectionModel)ve1.getValue(AdfmfJavaUtilities.getAdfELContext());
    Object[] myArr = model.getKeys();
    for (int x = 0; x < myArr.length; x++) {
    Object myObj = myArr[x];
    Map provider = (Map)model.getProviders().get(myObj);
    String deptName = provider.get("deptName").toString();
    Hope this article may help you - http://deepakcs.blogspot.in/2013/02/adf-mobile-iterate-through-all-rows-in.html
    - Deepak

  • SQLite ADF Mobile HR Sample?

    Hello! well I am trying to run the ADF Mobile App for the HR schema (found in here: jdev_install/jdeveloper/jdev/extensions/oracle.adf.mobile/Samples) but I dont know how to create the database the sqlite one, If I am not mistaken a mobile App doesn't connect straight to an oracle database right? It does it through sqlite,
    Can you explain me a liitle more of that
    and how to create it and use the sample? THANKS A LOT!!

    911437 wrote:
    Hello! well I am trying to run the ADF Mobile App for the HR schema (found in here: jdev_install/jdeveloper/jdev/extensions/oracle.adf.mobile/Samples) but I dont know how to create the database the sqlite one, If I am not mistaken a mobile App doesn't connect straight to an oracle database right? It does it through sqlite,
    Can you explain me a liitle more of that
    and how to create it and use the sample? THANKS A LOT!!What exception/error you get when you try to run it?
    SQLite is used to create a local database, so it has no remote connection to anything.
    If you check the LifeCycleListenerImpl class (located by default in the ApplicationController project) you can see the initDB() method begin called when the application start (in the start method).
    The initDB() method check if the .db (the sqlite db) is present. If there isn't a .db file, it will be created by using the .sql script which is located in Application Resources > Descriptors > ADF META INF > hr.sql
    The DBConnectionFactory class will manage the connection to the sqlite database.

Maybe you are looking for

  • Problem With Submitting Data to Php Mail Script.

    So i am working with this Flash template that my boss purchased. It has a contact form, you are supposed to be able to fill it out, and it sends an email to a specified email address. However, it does not work. At all! There are 4 Fields on the form

  • I need a 2nd DVD drive, wich one?

    I have an HP DVD writer from my old PC. i tried hooking it up on my MacPro but when i try to open it up, it doesnt open because the faceplate is too big, it wont let the drive open completely. I also have an LG DVD Drive, but the same issue, the face

  • I cannot view anything

    this is weird.... i cannot see the window for mail or safari. i can't seem to open it, no matter what i try. even if i quit and open. nothing works i have to keep logging off to be able to see it again. is anyone having this problem? i don't have thi

  • Bluetooth peripheral keeps connecting

    Creative D100 Bluetooth speakers now keep connecting by themselves (or more accurately it is probably OS X doing it). Never did this before. Just recently seen this happen. Probably a bug. Solution: turn off the speakers, but it should not be happeni

  • VOFM Orders Data Transfer (307)

    Hi all, During a copy, we would like the line items pricing conditions to copy through, specifically the condition amounts. We've created a copy of routine 307 but in the comments it says that "The pricing data was not copied, it is redetermined." Ho