Display a table in the ADF Mobile app

The source of data for the mobile adf application I'm building is the Oracle database. I developed a SOAP web service to retrieve data from database. However, I do not understand how to map data from the web service to adf mobile application.

I intend to display the data in a table on page amx of adf mobile application. Please advise me how to do this.

To look at an amx:iterator to browse the lines.

And it generates amx:table and rowLayout while doing it.

http://docs.Oracle.com/CD/E35521_01/apirefs.111230/e26230/TOC.htm#AMX:rowLayout

Tags: Java

Similar Questions

  • Play Google store does not accept the ADF Mobile apps for tablets

    My ADF Mobile app is published on the Google game, but he says that the app is not compatible with the tablets, for the following reasons:

    1. properly target the Android Versions

    I fixed this by going into the properties of the Application > deployment > Android profile > edit > Options Android > change target SDK API level from 9 to 14.

    Note to the ADF Mobile Team: I recommend that you change the default target SDK API level from 9 to a higher level (Google recommends 14 today).

    2. correctly report physical dependencies

    I understand the problem, but I need help to find a good solution.

    The problem is, when ADF Mobile deploys on the package, it creates an AndroidManifest.xml file and since my application uses SMS, it necessarily adds a < permission > element for telephony.  In general, approval will be "implies" that phone is a "requirement of functionality of the material" unless we also add an element of <>uses feature corresponding with android: required = "false".  However, ADF Mobile not set the < uses > function in the AndroidManifest.xml.

    Does anyone know a good solution for this?  (I searched for a way to configure this in ADF Mobile and in the docs, but it found nothing. "And I can't manually change the AndroidManifest.xml because ADF Mobile it creates in the middle of the deployment process).

    3. take advantage of the extra screen available on shelf area

    I have no start troubleshooting this in detail yet, but I'm curious to know how the Google game store, determines exactly?

    Anyway, if anyone can help me with #2, I would be grateful.  Thank you!

    Patrick

    Edit: Title changed this message, because I believe it is a more serious current problem.  Will respond with more information soon.

    Hi, Patrick, recently Google game made a number of changes, so it is much stricter in terms of supported Android.  Successfully, we applied workarounds and found the combination that seems to work for Google play.  Here are the details based on your questions:

    (1) the level of the API should not matter as long as it's 9 or above - 9 is the current default value.  Nothing specific in ADF Mobile that requires the level more high API.  However, if you are interested you should limit your application to 4.x devices, you can set the minimum and target API level accordingly to assert that.

    (2) by default, ADF Mobile says all the permissions of the device which may potentially be required by the framework.  This is why, for example, even if the application accesses a camera, the AndroidManifest.xml file will still contain references to the permissions of the camera.  Possibility to choose the correct hardware permissions selectively is planned for the next version of Mobile of the ADF.  In the meantime, you can change the AndroidManifest.xml file template in an extension of the ADF Mobile as the workaround.

    (3) Google game uses the element of "Supports the screen" in the file AndroidManifest.xml to determine what factors shape/devices are supported.  Summary of form factors supported and densities are described here: supporting multiple screens | Android developers.  ADF Mobile supports the display of different density already.  In what concerns the size of the screen, you must add the element "supports the screen" in the model of manifest file xml for the size of the screen that you want to support.  For example, if you want to add in support of all devices:

    Android: normalScreens = 'true '.

    Android: largeScreens = "true".

    Android: xlargeScreens = "true" / >

    The Android site would give you definitions of what mean these sizes.

    Finally, here are the instructions on changing the template AndroidManifest.xml:

    -Access file /JDeveloper/JDev/Extensions/oracle.adf.mobile/Android/Oracle_ADFmf_Framework.zip

    -Make a backup copy of the zip file

    -Unzip the file, which would be to extract all files in a directory of 'framework '.

    -Navigate to the framework/template/AndroidManifest.template.xml file

    -Use a text editor to change the permissions of the device, as well as the addition of the screen element supports as indicated above.

    -Zip up the framework directory and name the file zip as Oracle_ADFmf_Framework.zip, replacing the old.  Please make sure that the zip file has the same directory structure exactly as before.

    -In JDeveloper, before you deploy the application, please do a "Clean All" to clean up all the old objects deployment.

    -Deploy the application - the application should now be visible for tablets, as well as with adequate permissions.

    -Download the application on Google game - no further action is necessary in the game of Google around form factors supported and the permissions of the device.

    Now the Android deployment process does not additional validation for the device permissions are actually necessary, therefore, to ensure that these are properly defined.

    I'll also cross post this on the blog of the ADF Mobile team.

    Thank you

    Joe Huang

  • Dynamically set object to display a table of the ADF

    I need set dynamically the view object used by a table based on almost 100 different choices. By example, if you click on departments then use the DepartmentsView object for the table.

    What would be the best way to address the issue? I think I have to essentially dynamically bind the array to a display object, or run the query by program and update the table.

    I'm sure that others had to do something similar, so if there are resources available that address this specific approach if someone could provide a link? Otherwise if you could help me with the code for this and tell me where to go, who would be most appreciated.

    JDeveloper 11.1.2.0

    Thank you!

    Published by: 862567 on August 3, 2011 04:29

    Using Facelets? I just did a test and found that ADF dynamic array is not available (but ADF read-only dynamic Table is) in a Facelets page, but it is in a JSP page.

    John

  • Error in creation of Control (SOAP) data to the Web Service in the ADF Mobile app

    Hi, I tried to create a Control (SOAP) Web Service data in a Mobile application of ADF in JDeveloper 11.1.2.4.0 under Mac OS X 10.8.5

    The application has been newly created (no features) and I tried to create a Web Service data control directly.

    In the 'Create Web Service data-> step 1 control', when I entered the URL of the WSDL and left the text box, the window "WSDL Document for reading" came and I got an error message saying "invalid WSDL URL.

    The error description is given below:

    Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is DCA-29000. Are parameters of error message ({0 = oracle.webservices.mdds.MddsException, 1 = java.io.InterruptedIOException: connection timed out})

    I have JDeveloper put 11.1.2.4.0 in place on a Windows 8 and follow the same steps with the same WSDL URL and he accepted the URL.

    Can anyone help on how to fix this problem as I want to develop on Mac.

    Hello

    We have solved the problem by asking the dev team to provide the file for the web service's .wsdl. We copied the file in the file system on the mac and then instead of provide the URL, inviting us to the wsdl file. Who does the work on the mac.

    We were able to put a URL as http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL (a non-secure web service) and the wizard to create the Web Service data control accepted the URL on the mac. Can be to secure web services, we have the .wsdl himself file. (the web service that we were trying to access was on EBS and was a secure web service)

  • Dynamic display of table on the page of the ADF

    I'm looking for a page ADF that has a drop down box whose name table as inputs and when he selected should show data within this table in the ADF array element.

    Arun,

    What do you mean by "more simple? Another way to proceed would be to have fragments of JSF page separated for each table and use a dynamic region on the home page. I haven't worked through the solution, but it should work.

    John

  • How to hide the column in a table in the adf.

    I created the table of the ADF and surround it in the collection of panels, the data in the table from the bean to support variable. Depending on the State, there are a few columns that must hide with the user. I used visible = "false", where the false value will come from backing bean. However the user to the table always have the ability to display the column. Is there any one to hide the column with the user at all times. Fixing the code example:

    < af:column sortable = "false" headerText = "column1" id = "c13" visible = "false" >

    "" < af:outputText value = "{row.columns1} ' id ="ot13"/ >

    < / af:column >

    Hello

    Use the rendered property?

    Concerning

  • How to set the order in the table in the ADF for a transitional attribute in the default sort t

    Guys,

    I have a VO with 2 columns, the column is transitional attribute.  In my jsff page, I got an af:table that displays the transition attribute.

    When the page is loaded for the first time, by default, transitional attribute values should be sorted in ascending order. Currently, the displayed values are not sorted. I need to click the sort button to sort the values. I need to change this behavior to sort automatically when the page is displayed for the first time.

    Question: How can I set the command to the table in the ADF for a transitional attribute of default sort?

    Note: I have to pragmatically, I can't use order by clause in my VO for the transitional attribute.

    Help, please.

    Thank you

    Rambaud

    Hi Rambaud,

    You can do the sorting "in memory".

    You can implement it like this:

    Get the VO and make sure that all required lines are extracted from the DB

    ....

    Sort the rows by transient attribute

    myVO.setSortBy ("TransientAttribute");

    read the current query mode

    int oldQueryMode = myVO.getQueryMode ();

    to sort in memory

    myVO.setQueryMode (ViewObject.QUERY_MODE_SCAN_VIEW_ROWS);

    myVO.executeQuery ();

    redefine the query mode on original value (only needed if you want to be able to get new lines of the DB)

    deadlineVO.setQueryMode (oldQueryMode);

    I hope this helps.

    Kind regards

    Linda

  • Select a choice from the table of the ADF

    Hello

    does anyone know how to convert a column in a table in the ADF to display a list of values in a control of first choice select?

    I want to allow the user to select a value from a drop-down inside the table.

    Thank you

    Hello
    Welcome to OTN forum and always mention your version JDev,.
    Hope that follows will be useful

    SelectOneChoice and ADF Table
    http://www.gebs.ro/blog/Oracle/Oracle-ADF-selectonechoice-table-filter-for-lov-column/

  • How to get the extension of the ADF Mobile Client

    Hi all

    Please post a link where I can download the ADF Mobile Client extension for Jdeveloper 11.1.1.4.0 directly on my local disk. I tried to go through the help-> check updates in Jdeveloper but my proxy does not work

    Let him. so the only possible option for me is to download it on my local drive and should be updated. I searched but could not find the appropriate link, so I have to post here. Kindly help me to find it please...

    Thank you
    Flavian.

    Just to clarify, there are two types of mobile applications, we support:
    Web mobile apps are the ones that you create using the components of the Trinity, access you them from the browser on the mobile device. To use it, you don't have any extension for JDeveloper.
    If you want to get all of the features shown in the video that you are referencing you should get the latest * 11.1.2 JDeveloper - in the version you have 11.1.1.4 you will need to manually do steps (such as the creation of the skins file).
    Tutorials for 11.1.1. *-http://www.oracle.com/technetwork/developer-tools/jdev/ccset51-all-102005.html

    The other type of applications mobile, we will offer a solution soon is application that you build and install on the device itself.

  • Table of the ADF and shape ADF on the same view object

    Hello

    According to ADF demonstrations available on the website of the ADF, I created a jsf with 2 panels page. A Panel is an ADF table based on a display object. The other Panel is and ADF form based on the same view object. My requirement is that I scroll the records in the table of the ADF, the shape of the ADF should dynamically display the details of the record in the table of the ADF. My understanding is that this should be automatic. However, its does not work as expected. What did I miss?

    Hello

    Ask PPR form that shows the details.

    As:

    ...



    ..

  • Editable fields in the table to the ADF when you make a CreateInsert

    After trying a CreateInsert operation for a table of the ADF, the new line is created, but the fields are not editable. Any reason, why this could happen?

    This is the jsp button and table code:

    < af:commandToolbarButton actionListener = "#{bindings." CreateInsert.execute}.
    Text = "CreateInsert."
    ID = "ctb1".
    partialTriggers = "table1" / >


    < af:table value = "#{bindings." DeliverableTblVO2.collectionModel}.
    var = "row".
    lines = ' #{bindings. " DeliverableTblVO2.rangeSize}.
    emptyText = "#{bindings." DeliverableTblVO2.viewable? "{'No data to display.': 'Access Denied.'}".
    fetchSize = "#{bindings." DeliverableTblVO2.rangeSize}.
    rowBandingInterval = '0 '.
    filterModel = "#{bindings." DeliverableTblVO2Query.queryDescriptor}.
    queryListener = ' #{bindings. " DeliverableTblVO2Query.processQuery}.
    filterVisible = "true" varStatus = "vs."
    rowSelection = "single" id = "table1" partialTriggers =": ctb1" > "

    in the original version, all attributes should be updated to "always."

  • How to use &lt; C:when test... inside the column in the table of the ADF

    I use ADF table with two columns
    in the first column, I check the Type of document is doc type so I have to use commondlink to download this file, otherwise I need to display only text.

    to this I added
    * < c:when test = "{boolean ($favoriteType eq 'doc')}" > *.
    that does not work.

    Please let me know how to use < C:when test... inside the column in the table of the ADF

    < tr:column sortProperty = "favoriteName" sortable = "true".
    headerText = "#{res ['favorite.favoritename ']}" "
    width = "500" noWrap = "false" >
    < c: choose >
    * < c:when test = "{boolean ($favoriteType eq 'doc')}" > *.
    < tr:commandLink actionListener = "#{bindings.downloadFile.execute} '"
    Text = "#{row.favoriteName} '"
    Disabled = "#{!}" Bindings.downloadFile.Enabled}"/ >
    < / c:when >
    < c: otherwise >
    < af:outputText value = "#{row.favoriteName}" / >
    < / c: otherwise >
    < / c: choose >
    < / tr:column >
    < tr:column sortProperty = "favoriteType" sortable = "true".
    headerText = "#{res ['favorite.favoriteType ']} ' rendering ="true">"
    < af:outputText value = "#{row.favoriteType}" id = "favoriteType" / > "
    < / tr:column >

    Hello

    I do not see, you use a Table of the ADF, but I see that you use Apache Trinidad. JSTL is executed analysis of time then that JSF is to render time, that's why it does not work what you see. Trinidad is a part of tr:switcher, and you can try this. Note that it doesn't ' r allow to change components by rank.

    Frank

  • ADF 11g - adding serial No. sum of column/calculation of column in the table of the ADF.

    Hello

    -How can I add serial number of column in the table of the ADF.
    -What is the way to calculate the sum of a column at the end of the table. (Table of the ADF). That is to say.
    10
    20
    15
    ______
    45


    Niaz M

    Hello

    Here you have some links to blog posts how do the sum:
    http://apps.branislavnemec.com/blogs/faces/bjanko/blogs.jsp?blog=bjanko20070725180020
    http://Kuba.zilp.pl/?id=781

    Kind regards

    Branislav

    Published by: Branislav Nemec June 6, 2011 11:23

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • Best way to apply the Format mask for the fields in a Table of the ADF

    Hi all

    12.1.3 JDev

    I would like to introduce the price data, quantity etc. fields of the ADF Table of the user interface in a specific format.

    These formats need to be dynamic, because they change according to the locale selected and sometimes they differ in the same locale.

    I tried approach converter custom but not satisfied because it is called several times when it is used in a table of the ADF and when asked that told me that this is the behavior.

    Custom converter of an attribute in a table called several times

    So, please suggest a better way to apply the format mask (which has min & max fractions, grouping, rounding) to the fields in the Table of the ADF.

    Please let me know if you need more information.

    Thank you

    B S Bilodeau.

    The second question, which I've mentioned here is the converter is called several times for each click on the table.

    This isn't a problem, this is the expected behavior (and you can't avoid it).

    Dario

Maybe you are looking for