MAF HTML / AMX PAGES

Please is it possible to go to or call amx page page html of MAF MAF?

Thank you

Hi Omile,

You can refer to this document: http://docs.oracle.com/middleware/maf210/mobile/develop-maf/appx-maf-javascript.htm#ADFMF23884

Before you go, you can import the following part in HTML

......

......

......

......

You can find the id of the function at the CRG - application.Xml

Hope this helps.

Byron

Concerning

Tags: Oracle Mobile

Similar Questions

  • Can run us javascript function locally within the amx page?

    Hello

    I am totally new to the features of the MAF, let me just 1 thing right, im familiar with the implementation of javascript as on PHP. For example, (1) you can create a js file in a certain directory of your project as long as you can connect properly. And, on the php page, you link such as)<script type="text/javascript" src="file.js"></script>)to be of use inside of your php page or (2)locally run the javascript function inside your php page such as

    function myFunction(){
      
    Alert("Hello World.");
    }.


    So far what I've done on the tutorial javascript MAF, same case, you need to specify your javascript function inside a .js file and save your js file in your maf function (so that the javascript functions are available and can be called through the java method of AdfmfContainerUtilities.invokeContainerJavaScriptFunction () inside your file of java bean managed). After that, in my case to test the tutorial, I need to create a managed bean method to call the associated javascript function based on my actionlistener to the button that ive created inside my amx page, it didn't work (NOTHING HAPPENED when the button is clicked, as maybe it's because I was wrong by calling the managed bean method or class({viewScope.popupHelperBean.onPopupShowHideAction}). )


    Please follow this tutorial to understand what im referring to topic-> https://blogs.oracle.com/mobile/entry/how_to_open_and_close

    (If someone has already managed to made this javascript tutorial, please inform me so that I can see on my error).


    Now I'm trying a different approach which is to run the javascript locally, it's just that I don't have enough resources that could satisfy my investigation to start with. I met this amx: verbatim terms during my research. Fact amx: verbatim help by running the JavaScript locally.


    Thanks in advance.




    Hello Amey,

    Thanks, I had run successfully the popup alert box based on javascript this tutorial you had linked to me, it seems that I am on the right track on how to run javascript on the page of the amx. Its just that the tutorial I mentioned on my post doesn't seem to work as it should, I'll try to resolve the issues for a while. I just want to share with the community who are new to the MAF and are currently working on the custom javascript on page amx application:

    1. include your js inside your working directory file

    2. Add the javascript code that is personalized to your AMX

    3. create a managedbean and a method that could call the javascript function

    Carefully follow this tutorial as mentioned by Amey have the idea of how the javascript is running on amxpage--> https://blogs.oracle.com/mobile/entry/invoking_custom_javascript_from_an

    By the way, thank you very much Amey.

    Learner90

  • 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;

    }

    }

  • 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

  • How to set the different HTML (site) page in the workspace during the backup?

    Hello
    How to set the different HTML (site) page in the workspace during the backup?

    For example:
    A user connects to the workspace.
    If you have already started the procedure for backup database administrators, the user sees the HTML page that reads "don't touch anything, need a backup procedure.

    Thank you to
    Marek

    Hi Marek,

    I have not tried, but it seems the most logical way:

    Rename the BpmLauncher.jsp to BpmLauncher.jsp.orig

    Then, create a new file called BpmLauncher.jsp and put the following inside:

    
    

    Do not touch anything, it takes a backup procedure

    Kind regards
    Robb Salzmann

  • How to display the context menu declared in amx page by programming on click of a button

    Hi team,

    We ask a service when the button is clicked. If the service fails, we must show that the Popup is declared in the page of Amx. Please let us know how we can achieve this programmatically.

    Concerning

    Shaik Bachir Shafi

    https://pinboard.in/search/u:OracleADF? query = MAF + popup

  • Acrobat automaton - execute menu item "HTML Web Page"

    I am trying to automate Acrobat of VS 2010 to convert PDFs to html format.

    I know I have to use acrobatApp->MenuItemExecute(...); , but I have not found the name of the "Web Page HTML" menu item which should be passed as argument. Any help?

    It is unlikely that it would help because this menu item displays a dialog box. If automate you, you will automate all display of the dialog box.

  • Not clickable URL link on html APLEX page

    I create a Page, the type is HTML text. I have a region with the model "reports region.

    In the source of the region, I have the text looks like:

    [td] [a herf = "http://yahoo.come"] http://yahoo.com [a] [td]


    ([] means upper and lower then sign)
    But after the execution of the page, the url link is not clickable to take me on the site. How can I solve this problem?

    -Denis

    Published by: Denis Sun on June 5, 2012 14:45

    Denis Sun wrote:
    I create a Page, the type is HTML text. I have a region with the model "reports region.

    In the source of the region, I have the text looks like:

    [td] [a herf ="http://yahoo.come'"] http://Yahoo.com [a] [td]

    ([] means upper and lower then sign)
    But after the execution of the page, the url link is not clickable to take me on the site. How can I solve this problem?

    Basic typo: you herf instead of href:

    http://yahoo.com
    

    ([] means upper and lower then sign)

    Note that the display using .

    ...\
    

    Tags means that it is not necessary.

  • How to remove the html insert page here

    contct.jpgI just inserted a form of contact made externally and hosted remotely at my contact page. Unfortunately, there is a completely useless "insert your HTML here ' above the form." Please can someone tell me how to remove it. I did the form 123 Maker easy to make brilliant customer service.

    Hello

    Please, do a right-click on the form and click on edit HTML.

    Now, at the top of the code, it could have a "insert your HTMl here. Delete it and click on 'OK '.

    Kind regards
    Sachin

  • Have a layout - what is the best (simplest) html/css page layout?

    This 'site' will only be used locally. It won't be published on the internet.

    We do shocks grill covers. To-40 degrees F grille needs cold air locked out of the engine compartment. We'll get a call from a customer who needs a grill cover for a 2010 Chevy Suburban... Then be able to search and to find if we have a model for this particular vehicle.

    I put on a graphical representation of the way in which the site needs to work. I use Dreamweaver CS4.

    In my view, a table will take place in the much easier layout, but I'm looking fo your thoughts and your entries.

    The home page looks like this:

    CCA_WFF_01.jpg

    The user (me) will then click on the year:

    CCA_WFF_02.jpg

    This will show what grounds we have for what makes for the year 2010.

    From there, click on Chevy

    CCA_WFF_03.jpg

    This will show what grounds we have for what models of Chevrolet 2010.

    Then click on Suburban

    CCA_WFF_04.jpg

    We find now the #WF1023 model is the lid of the grill (aka winter before) and we also learn that it will work for the years 2008 to 2011.

    If we hover over a thumbnail we get to see a photo of the model or vehicle

    CCA_WFF_05.jpg

    So there you have it... Now, I just need to build it.  I am yet to learn html and css, which I believe is a life long process, but there still is not?

    Once I get a built basic page, I'll be able to post a temporary link - as I'm sure you need your help again.

    Thanks in advance for your comments.

    Eric

    No giraffes.  It is the perfect answer, and this means that PHP/MySQL is the choice for you.  Now, all you need is the year or so need you to the ramp at speed in this environment and you will be all ready to go!

    Y does it have no budget to hire some 'help '?

  • PHP Beginner: can the data values for the DW effect Html on pages form?

    I'm working on the creation of data form effect HTML pages, but I don't know how to run the whole thing. I have a php document, and I filled in a drop-down list with the names and the values I would like to be placed in a HTML page.  Oh I also was wondering on the forum code snippets are they copyrighted or anyone can use them?

    Dreamweaver has a lot of support for PHP, including a set of server behaviors to accelerate the development of Web sites that use a MySQL database. It also has a lot of code hints PHP (more than 2,000) and syntax coloring. So, Yes, Dreamweaver can help you work with PHP, but you need a solid knowledge of HTML, as well as a knowledge of the basics of PHP and SQL before you start.

    PHP is a language side server that processes the content of a web page on the server before sending the output as HTML in the browser. Unless your server is configured to manage HTML as PHP pages (most are not, and it is not recommended in any case), you must save the pages with a .php file name extension to use PHP.

    Data entered in a form can be used to assign the production on other pages. To give a very simple example, if a form contains a text called 'username' field, the value in this field can be displayed using a PHP variable. If the form is submitted using the POST method, you view the value in the page like this:

    Welcome, !

    This is a deliberately simple example; and in practice, you have to filter the value of the shape to make sure leave you vulnerable to multisite by scripts.

    If you want to start using PHP in Dreamweaver, I recommend that you take the time to learn the basics of PHP before using it in web pages. The PHP online documentation is very good, and it includes a simple tutorial. However, you might find that tried to browse through the documentation on your way your own is a little like trying to swallow a dictionary. This is more than a reference to a learning tool. There are a lot of PHP tutorials on the web, but many of them are old and do not necessarily follow best practices.

    If you want to learn more about PHP in a context of Dreamweaver, you may be interested in my books (more details on my Web site at http://foundationphp.com/).

    Finally, your question on copyright law. Copyright of the code remains with the person who wrote it, but any code posted in these forums is free to use, unless otherwise stated (but no one should view code here they don't want others to use). It goes the same for code in my books. It is there for you to learn and use freely in your own projects.

  • RoboHelp crashes when I try to change a sensitive 5 html layout page

    If I right click on one of the pages screen layout in the section of provisions of area form of project configuration that RoboHelp breaks down.  If I create a new, the Editor opens, but RoboHelp crashes whenever I try to change it. I can manually change the slp files in a text editor, but it's not particularly easy!

    I have 11.0.3.268 of RoboHelp.  I tried to create a completely new project, and the same thing happens.  I work locally on my desk, publication on a server.  I've added yet not any control of the project's source code.

    Any suggestions would be welcome.

    It is a known problem of regression in RoboHelp 11.0.3. The only solution for now is to open the SLP files with Notepad or another editor.

    You can report a problem to: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38 if Adobe is already aware of this problem, this form gives them an estimate of how many people use this feature. And more people report it, it is more likely to be fixed quickly.

    Kind regards

    Willam

  • How can I associate a button or an image on another site or html http page?

    I'm new to Flash and understand how to link with text in Flash, but I keep trying to connect the buttons and images on the model that I bought and I do not get the answer.

    I would like to add a link to gif files, so people can just double-click on it and see a bigger picture. Also, I want to be able to change the links that they have and they have a link to my html site. I'm used to using Dream Weaver and it's really diffreent. This is the model that I use:
    http://www.TemplateMonster.com/website-templates/9008.html

    Hello

    convert your gif movieclips in flash files and add an eventhandler on the first empty as keyframe:

    movieclipInstancename.onPress = function () {}
    getURL()
    }

    I hope this helps.

    Gerard

  • After changing the IP Server Web host, the datacontrol to AMX page needs to be recreated?

    Hello

    I had deployed a Web service to a Server Web standlonee in my laptop, when I have at home or in the office, wlan ip address will change, so my app of the adf cannot get response of webservice except to build datacontrol based on Web server again, how I change the IP Address of the Web server host in the mobile application and do not need to create the new datacontrol again?

    Please help me! Thank you very much!

    You can change the IP address in the connections.xml file.

    More about this in the video here https://blogs.oracle.com/shay/entry/updating_adf_web_service_data

    about 05:20 in the video

Maybe you are looking for