Creating unlimited AMX Page ADF mobile?

Hi guys,.

As seen in the great workflow to create a static, but about unlimited application structure AMX Page how to create and how to push for navigation or other means.

Maybe it is possible to create an unlimited application flow (like application of questions and answers that provide many pages of questions depends on configuration)

Hello

you want dynamic pages, not on an unlimited number of correct pages? There is no option to create an AMX pages on the fly. Too many dynamic content page there is no option to create in Java user interface components. You may be able to use an iterator and switcher to show the various components of rendering. However, this aspect must not rest directly on a managed bean because it does not have the link layer.

Frank

Tags: Java

Similar Questions

  • Value amx:selectOneChoice ADF Mobile

    Hello!

    I dragged a datacontrol (list < mybean >) return on my amx page

    the WEB service returns a list of objects

    I created the selectonechoice, but as you can see in the picture there is no option to assign the value that will be when the user selects a value in the choice

    right now takes the index (the first item in the list is 0,1,2 and so on)

    I would attribute the id (from my object) as the value of the amx: Selectonechoice

    http://ImageShack.com/a/img801/3977/66m6.PNG

    the Assistant asks only the display not the value attribute

    Hello

    See http://www.oracle.com/technetwork/developer-tools/adf/learnmore/m08-selectmanchoice-selected-values-1940891.pdf

    Frank

  • Dynamic model AMX in ADF Mobile

    Hi guys,.

    As seen in file AMX to design the user interface for ADF Mobile, but I just need to have a dynamic flow user interface
    for example. When choosing fall down in the page (A) and jump to the next page (b) with the value control to show some of < amx:inputText > in the page (b)

    How to make dynamic in amx?

    Hello

    have a bean managed in the Workflow page range. Bind the property made of components on the page to the same successful bean and have the bean by assigning the value of the field that is rendered true or false. That's how I'd do. A similar use case is here: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/m02-dynamicallyshowhidecomponents-1915399.pdf

    Frank

  • OnLoad in pages ADF Mobile amx

    Can someone please help me use the onload method calls in the pages of the amx? I just want to call a class method Bean while getting the loading of the page.

    I was able to use a calling method as the first activity in the workflow to make it work.

    http://xmlns.Oracle.com/ADF/controller"version ="1.0">

    getSearchParams

    SearchBean

    SearchBean

    pageFlow

    Search.AMX

    #{pageFlowScope.SearchBean.getSearchParams}

    viewsearchpage

    getSearchParams

    viewsearchpage

    Search

  • ADF Mobile: How Fund selectAll feature component &lt; amx:selectManyChoice &gt;.

    Hi all

    I use version 11.1.2.4.0 version jdev.

    I created an amx page where I create component selectmanychoice but problem, it's that there is no option as selectAll who select the option all presented in the list

    so, how I do this?


    any link tutorial


    Thank you

    Manish

    HI Manish,

    I tried something like this in one of my scripts:

    public EditionLov [] getDepartments() {}

    checkBoxUpdate();

    EditionLov d [] = null;

    d = (EditionLov []) s_editions.toArray (EditionLov [s_editions.size ()]) of new;

    return d;

    }

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Public Sub checkBoxUpdate()

    {

    Object checkAll = AdfmfJavaUtilities.evaluateELExpression("#{pageFlowScope.checkboxSelection}");

    If (checkAll! = null)

    {

    Boolean b = checkAll (Boolean);

    AdfmfJavaUtilities.setELValue ("#{pageFlowScope.checkboxSelection}", null);

    int size = s_editions.size ();

    for (int i = 0; i)< size;="" i++)="">

    try {}

    Edition EditionLov = s_editions.get (i);

    edition.setMark (b.booleanValue ());

    }

    }

    }

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    {} public void selectAllEdition (ValueChangeEvent valueChangeEvent)

    Boolean flag = false;

    Flag = ((Boolean) valueChangeEvent.getNewValue ()). BooleanValue();

    ValueExpression veIter = (ValueExpression) AdfmfJavaUtilities.getValueExpression("#{bindings.departmentsIterator}",Object.class);

    AmxIteratorBinding iteratorBinding = (AmxIteratorBinding) veIter.getValue (AdfmfJavaUtilities.getAdfELContext ());

    AdfmfJavaUtilities.setELValue ("#{pageFlowScope.checkboxSelection}", Boolean.valueOf (flag));

    iteratorBinding.getIterator (.refresh ());

    }

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Please try this and let me know if it works.

    Kind regards

    Deepak

  • 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

  • ADF Mobile | to deploy an application in release mode

    Hello

    I use Jdev 11.1.2.4.0.

    This im unable to see the password key in mobile tab of ADF platform, although it can I deploy an application in release mode. »

    I m getting an error

    -The deployment began.  ----

    [16: 50:24] the target platform's (Android).

    [16: 50:24] early deployment of ADF Mobile 'JavaScriptDemo' to Android application using the profile "JavaScriptDeployment."

    [16: 50:24] undeployment.

    [16: 50:24] - incomplete deployment.

    [16: 50:24] the following configuration of Android preference is invalid or missing. Set these options in the preferences of JDeveloper on the Panel of the ADF Mobile:

    Key to past

    (oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)

    Kind regards

    Sainaba

    See the deployment section of this tutorial - Oracle JDeveloper 11 g Release 2 tutorials - creating apps with Oracle ADF Mobile

    You may need to expand the dialog box if the field is hidden. should look like - t0105rls4.gif

  • Problems of ADF Mobile generating the file API

    Hello

    I created a demo with ADF Mobile application. Now, I have installed XCode on my Mac and configure the directories except the part of the certificate. When I try to build the application I do not get an ipa file. When I deploy on the Simulator, I get a file *.app. How do I generate the ipa file or how I can convert this app file to an ipa file and deploy it on my iphone.

    Concerning

    As described in many articles and guides you need an Apple Developer account for it.
    http://docs.Oracle.com/CD/E35521_01/doc.111230/e24475/deploying.htm#CHDIJDGE

  • ADF Mobile | call web service from Java. non-reflecting values in the AMX page

    Hi all

    I am using JDEv11124 with ADF Mobile extensions39.62.64.

    My use case is as follows.

    1. my application has 2 Pages a. Login home b.

    2. in the user login Page between user name and click on the "submit" button.

    3. on the homepage I displayed the company they joined.

    4. in the "submit" button is clicked, action defined in the support bean method will be called.

    5. by supporting the action bean method, I'll call the method of the Web Service to validate the entered user name, if the entered user name is valid, that I have to post its company name in the home page.

    6. I am moving back from the web service of datacontrol in Home.amx page

    7. calling web services from Java as follows:

    GenericType = result

    (GenericType) AdfmfJavaUtilities.invokeDataControlMethod ("Comp", null, "getCompany",

    pNames, params,

    PTypes);

    System.out.println ("after the call to the service" + result.getAttributeCount ());

    8. in the Java class, I get the response correctly (as the company designating the username entered as 'SOCIETY'), where when I navigate to the home page, I don't see any results for the method return (name of the company that dropped like OutputText in Home.amx)

    Did I miss something for this. or something more that I need to do to make it work?

    Please suggest.

    Thank you

    Vieira

    Hi all

    I was able to achieve this by executing my method in bean support.

    This code is as follows:

    AdfELContext adfELContext = AdfmfJavaUtilities.getAdfELContext ();

    MethodExpression me =.

    () AdfmfJavaUtilities.getMethodExpression

    "#{bindings.retreiveLocationInformation.execute}".

    (, Object.class, Class [] {}) new;

    me. Invoke (adfELContext, new Object [] {});

    Thanks to Luc Bors WebLog Luc Bors Weblog: ADF Mobile: implementation of "Pull to refresh" model

    Kind regards

    Vieira

  • ADF mobile component SelectOneChoice seems disabled on my amx page

    Hello experts,

    I have a class that loads selectItem table for the SelectOneChoice component.

    In my amx page, I set the value selectItems as pageFlowScope.productDefBean.serviceCategorySupplier.selectItemList as below. When I debug application I see getSelectItemList returns the array with elements as expected on my custom ServiceCategorySupplier.

    But mobile screen waiting countinously.

    "< amx:selectOneChoice value =" #{bindings.selectItemList1.inputValue} "label =" #{bindings.selectItemList1.label} "id ="soc2">

    < amx:selectItems value = "#{pageFlowScope.productDefBean.categorySupplier.selectItemList}" id = "si3" / > "

    < / amx:selectOneChoice >

    If I create DataControl of ServiceCategorySupplier class and use on my page as links, mobile screen is not locked. Component SelectOnceChoice seems this time to the people with reduced mobility. You can see tag amx with this case.

    "< amx:selectOneChoice value =" #{bindings.selectItemList1.inputValue} "label =" #{bindings.selectItemList1.label} "id ="soc2">

    < amx:selectItems value = "#{bindings.selectItemList1.items}" id = "si3" / > "

    < / amx:selectOneChoice >

    What could be the problem?

    Thank you...

    import com.accmee.mobile.pojo.ServiceCategory;

    import com.acme.structure.util.datalist.SimpleListSupplier;

    import java.util.ArrayList;

    to import java.util.Collection;

    import java.util.List;

    Import javax.el.MethodExpression;

    Import oracle.adfmf.framework.api.AdfmfJavaUtilities;

    Import oracle.adfmf.framework.api.GenericTypeBeanSerializationHelper;

    Import oracle.adfmf.framework.exception.AdfException;

    Import oracle.adfmf.javax.faces.model.SelectItem;

    Import oracle.adfmf.util.GenericType;

    SerializableAttribute public class ServiceCategorySupplier extends SimpleListSupplier

    {

    public ServiceCategorySupplier (boolean blankItemApplied)

    {

    Super (blankItemApplied);

    }

    public ServiceCategorySupplier()

    {

    Super();

    }

    Public Sub loadList()

    {

    Try

    {

    MethodExpression = me AdfmfJavaUtilities.getMethodExpression ("#{applicationScope.loginBean.loadCategories}", List.class, new class [] {});

    List categories = (List) me.invoke (AdfmfJavaUtilities.getAdfELContext (), new Object [] {});

    itemList.addAll (getConvertedToSelectItemList (categories, true));

    }

    catch (System.Exception e)

    {

    e.printStackTrace ();

    throw new AdfException (e.getMessage (), AdfException.ERROR);

    }

    }

    public String getListName()

    {

    return of the 'categories ';

    }

    public static Collection getConvertedToSelectItemList (list, boolean blankItemApplied)

    {

    Collection convertedCollection = new ArrayList();

    SelectItem selectItem = null;

    If (blankItemApplied)

    {

    selectItem = new SelectItem();

    convertedCollection.add (selectItem);

    }

    ServiceCategory serviceCategory = null;

    for (int i = 0; i < list.size (); i ++)

    {

    GenericType (GenericType) = list.get (i) serviceCategoryType;

    serviceCategory (ServiceCategory) = GenericTypeBeanSerializationHelper.fromGenericType (ServiceCategory.class, serviceCategoryType);

    selectItem = getConvertedToSelectItem (serviceCategory);

    convertedCollection.add (selectItem);

    }

    Return convertedCollection;

    }

    public static getConvertedToSelectItem (superEntity ServiceCategory) SelectItem

    {

    SelectItem selectItem = new SelectItem();

    selectItem.setLabel (superEntity.getName ());

    selectItem.setValue (superEntity.getId ());

    return selectItem;

    }

    public SelectItem [] getSelectItemList()

    {

    SelectItem [] sItemArray = (SelectItem []) getItemList () .toArray (new SelectItem [getItemList () .size ()]);

    Return sItemArray;

    }

    }

    public class ServiceCategory

    {

    whole ID private;

    private String name;

    description of the private channel;

    private parentCategoryID entire;

    private childCategoryID whole;

    kind of Integer private;

    private transient PropertyChangeSupport propertyChangeSupport = new PropertyChangeSupport (this);

    public ServiceCategory()

    {

    Super();

    }

    public void setId (Integer id)

    {

    Integer oldId = this.id;

    This.ID = id;

    propertyChangeSupport.firePropertyChange (oldId, "id", id);

    }

    public void addPropertyChangeListener (PropertyChangeListener l)

    {

    propertyChangeSupport.addPropertyChangeListener (l);

    }

    public void removePropertyChangeListener (PropertyChangeListener l)

    {

    propertyChangeSupport.removePropertyChangeListener (l);

    }

    public Integer getId()

    {

    return the id;

    }

    public void setName (String name)

    {

    String oldName = myIdName;

    myIdName = name;

    propertyChangeSupport.firePropertyChange ("name", oldName, name);

    }

    public String getName()

    {

    return the name.

    }

    public void setDescription (description of the chain)

    {

    OldDescription this.description = string;

    This.Description = description;

    propertyChangeSupport.firePropertyChange (oldDescription "description", description);

    }

    public String getDescription()

    {

    return description;

    }

    public void setParentCategoryID (Integer parentCategoryID)

    {

    Integer oldParentCategoryID = this.parentCategoryID;

    this.parentCategoryID = parentCategoryID;

    propertyChangeSupport.firePropertyChange ("parentCategoryID", oldParentCategoryID, parentCategoryID);

    }

    public Integer getParentCategoryID()

    {

    Return parentCategoryID;

    }

    public void setChildCategoryID (Integer childCategoryID)

    {

    Integer oldChildCategoryID = this.childCategoryID;

    this.childCategoryID = childCategoryID;

    propertyChangeSupport.firePropertyChange ("childCategoryID", oldChildCategoryID, childCategoryID);

    }

    public Integer getChildCategoryID()

    {

    ChildCategoryID return;

    }

    public void setSort (kind of integer)

    {

    Integer oldSort = this.sort;

    This.sort = sort;

    propertyChangeSupport.firePropertyChange ("Sort", oldSort, sort);

    }

    public Integer getSort()

    {

    return of sort;

    }

    public void setPropertyChangeSupport (PropertyChangeSupport propertyChangeSupport)

    {

    PropertyChangeSupport oldPropertyChangeSupport = this.propertyChangeSupport;

    this.propertyChangeSupport = propertyChangeSupport;

    propertyChangeSupport.firePropertyChange ("propertyChangeSupport", oldPropertyChangeSupport, propertyChangeSupport);

    }

    public PropertyChangeSupport getPropertyChangeSupport()

    {

    return propertyChangeSupport;

    }

    }

    brgds,

    A litle update worked for me.

    Code snippet below

    Public Sub loadItemList()

    {

    SelectItem selectItem = null;

    itemList = new SelectItem [list.size ()];

    ServiceCategory serviceCategory = null;

    for (int i = 0; i)<>

    {

    GenericType (GenericType) = list.get (i) serviceCategoryType;

    serviceCategory (ServiceCategory) = GenericTypeBeanSerializationHelper.fromGenericType (ServiceCategory.class, serviceCategoryType);

    selectItem = getConvertedToSelectItem (serviceCategory);

    itemList [i] = selectItem;

    }

    }

  • ADF Mobile: Create contact

    I am trying to add the functionality of contact to create my mobile app and followed the instructions here - http://www.youtube.com/watch?v=kpkJDeRH2ys

    I created a bean managed and added the following code:

    {} public void newPhoneContact (ActionEvent actionEvent)

    DeviceManager device = DeviceManagerFactory.getDeviceManager ();

    Contact = new Contact();

    ContactName, contactName = new ContactName();

    contactName.setFamilyName ("Doe");

    contactName.setGivenName("John");

    contact.setName (contactName);

    ContactField phoneNo = new ContactField();

    phoneNo.setType ("mobile");

    phoneNo.setValue("815-000-0000");

    ContactField [] phoneNos = new ContactField [] {phoneNo};

    contact.setPhoneNumbers (phoneNos);

    Contact newContact = device.createContact (contact);

    }

    When I run the application, nothing happens, and there is no error message in the logs. Page AMX code is:

    "< amx:commandButton id ="cb6' icon="/images/add_contact.png '.

    actionListener="#{viewScope.newContact.newPhoneContact}"/ >

    I don't know if I'm missing something here.

    Any help is appreciated.

    Thank you

    I checked this with success in JDev ADF Mobile 11.1.2.4.39.64.64 against XCode 5.0.2 & iOS Simulator 7.0 11.1.2.4.0 and separately 4.2.2 Android API level 17.  It works on both platforms.

    Please indicate which versions of platforms and software that you use, you deploy too.  More information the better.  It is also important on iOS when first invited to allow the application to access the contacts on the unit you click Yes.

    CM.

  • ADF Mobile Page with the data control of Web Service not showing latest results

    Hello

    I developed a simple mobile application of ADF. It has two functions members and subscriptions. These two pages are part of my Taskflow. On the members page I show all members in a list by using the Web Service method data Find command. In the list item have a listener property Set where I'm storing MemberId in a variable of pageFlowScope for action. On the subscription page, I have a bar graph that gets the data with the help of a Find method in control of data to the Web Service. The find method is based on a view created criteria which has a member ID of input parameter. in the model of ADFBC project. I connected the variable using the AMX page binding. The variable is being levied on the pageFlowScope variable.

    The page displays the chart first to a member. And shows the same graph for the other members. I printed the memberId variable and it shows the value of the respective members. But the cards are not get updated every time I select new Member.

    I use JDeveloper 11.1.2.4.0.

    Any suggestions?

    Thank you

    Mehabub

    Go to the Connections tab, and then click the Green plus sign on the central section - you need to add a 'invokeAction. Give it a name, and then select the iterator that built the table, and that's all you should have to do. The invokeAction fires whenever you visit the page and should update the list.

    Rich,

  • ADF Mobile: place a phone call with code AMX

    How to place a call from phone with code AMX?    Why isn't when simple ADF Mobile is a development tool for MOBILE PHONES?

    Just use a goLink. Set the parameter to the URL ""such: any number> "."

    Rich.

  • ADF Mobile custom Login Page link to external resources (Twitter Widget)

    Hello

    I read that as much as possible on the ADF Mobile connection custom HTML pages, it is not well documented at this time. As I understand it, I can't reference a resource such as an image or a URL that is not in the public_html directory. I tried to add a Twitter Widget by using the Twitter API on my custom login page that displays the most recent tweet from one of my Twitter accounts. However, when I try and deploy my application as it the custom login page no longer works correctly (the Connect button, for example, becomes not clickable).

    Could someone confirm whether my interpretation above is correct? Is this a case of ADF Mobile prevents me from using an external resource through it is the audit rule: file not in public_html directory?

    In addition, anyone know if there is a way for me to reach my goal?

    Thanks a lot for your time and assistance.

    Ben

    "To allow the deployment, all resources referenced by the following attributes must be located in the public_html directory of the controller view or the controller of the implementation of the projects."

    "ADF Mobile does not support resources referenced from another location, which means that you cannot, for example, enter a value outside the directory public_html to help... / as a prefix.

    http://docs.Oracle.com/CD/E37975_01/doc.111240/e24475/define_features.htm#CIHDCCED

  • create a personalized page of ADF in OIM 11 g R2

    Hello

    I want to create a Workflow page or a custom task adf in oim 11 g 2. are there available to do outside the dev IOM guide step by step guide or OBE.

    I did with the adf tutorial assistance in the oracle Web site.

Maybe you are looking for