MAF: Navigate between the AMX and page HTML

Hi all

Now, I use a scenario:

First step: a.amx-> b.html (also want to pass some parameters)

Second step: b.html-> a.amx page


How to implement the above function? Could someone give me some advice about this? Thanks in advance.



Byron

Concerning

Hello.

Since you can't combine HTML and AMX pages in the same element, you will need to create two separate functions. Unfortunately, HTML features cannot use the workflow. It complicates things a bit.

A.AMX must be in a workflow. B.HTML should be the default page for the HTML feature.

You must create a scope of Application JavaBean. This bean, implement a method that calls the HTML function. This is done via the utilities of the MAF container API. See http://docs.oracle.com/middleware/maf210/mobile/develop-maf/appx-maf-javascript.htm#ADFMF23884. You must also add a property for the parameter to the JavaBean, but also a getter/setter methods. Bind the JavaBean property on the a.amx page. This can be done by a setPropertyListener, for example.

To navigate from a b, add a method call to the workflow where a.amx is referenced.

To read the value of parameter b.html, simply use the MAF JavaScript APIs in your HTML page to access the value stored in the JavaBean.

To return to a.amx b.html, use the goToFeature API JavaScript method. https://docs.oracle.com/middleware/maf210/mobile/js-ref/adf.mf.api.html#gotoFeature. The full reference for the JavaScript API of MAF is here: https://docs.oracle.com/middleware/maf210/mobile/js-ref/toc.htm.

Best regards

Frédéric Desbiens

Senior Product Manager

Mobility and Cloud oracle

Twitter: @BlueberryCoder

blog: http://blogs.oracle.com/blueberry

Tags: Oracle Mobile

Similar Questions

  • See link and navigate between the problem of pages...

    Hello world! Hope someone can help with my problem. DB, I have a table with information on employees and employment. This one table I did an OS where I did 2 VO - EmployeeVO and JobsVO. I connect these two VO with ViewLink - EmpJobVL (realtionship 1 to 1).

    Then I created 2 .jspx pages. In a page I droped EmployeeVO but on the second page I droped JobsVO. I put the button with which I can navigate between these two pages in the page template.

    The problem is when I start my employee page and navigate to the correct folder with the 'next' button and then try to navigate to the jobs page and then in the jobs page I can't see correct record. I still see everything first save. Why this is so and what can do?

    Hope that someone help me,

    Best regards, Debuger!

    Hi Debuger,

    No probs, you can keep your Jspx so u just have to clean your PageDefs... More fight urself its such an easy task...
    Remove all entries def of your page and then have a copy of your jspx coding in a notebook that also remove...
    Drag your def jspx and page a new re-make your your and paste your new jspx encodings
    your your get binded automatically... :)

    Kind regards
    Suganth.G

  • Navigate between the report and dashboard and pass values between another column

    Hello

    I have a question about navigate from 1 report to a dashboard page passing value from column 1 to column 2 in the second report...

    In OBIEE 11 G, I create link action report 1, column 1 and this link from the action is go to the content of the BI and the destination is a dashboard page, which has used 2 column as a dashboard and there are 3 reports that all use column 2 to filter. Now, the dashboard page 2 column is an alias for column 1 report 1, from the point of view of users, these are the same, but OBIEE point of view, they are different.

    My action link is able to access the dashboard, however, the value in column 1 which I clicked on run navigation, not are placed in column 2 as the line of dashboard does not receive this value when navigating...

    Since I can't put column 1 in dashboard 2, nor that I can put the 2 column in the report 1. Because our data model is done in the way that if I use column 1 or 2 in both cases, it will be o-ring...

    Is there a way around this problem?

    Let me know if I need to elaborate

    Thank you

    Hello

    You are going to have three main dashboard page (i.e., dashboad1, 2, 3) in the dashboard you will be having 3 different relationship with different column aliases (e.g. columnx_alias1, columnx_alias2, columnx_alias3) and you're going to have a dashboard more page say dashboardx a report with columnx. Now if you click on report of dashboard1 to go to dashboardx, click on report of dashboard2 also should go to dashboardx, click dashboard3 report should also go to dashboardx.

    1 > you can create 3 variable presentation for column 3 aliases and hide. {{{You can use the union query in sql result say columnx select from table where columnx='@{column1}' union select columnx table where columnx='@{column2}' union select columnx table where columnx='@{column3}'.
    2 > now you can hide these guests with variables.

    Please let me know if you are facing a problem.

    Thank you
    Yacoub

  • Horizontal AND vertical gliding between the articles and pages?

    Hello

    I was invited by my Creative Director to amend a portfolio of work. Currently I have a doc about InDesign several page that allows to drag horizontal, but with most of the thumbnails on the respective pages linking to the images full screen (using the buttons / navto: / /) etc. However, he wants to scroll horizontally between different clients and then vertically within the client to see the case studies of full screen. He wants to also (once in these case studies of fullscreen) power do rotate the iPad vertically and have written a summary on this relevant case study (ovbiously just in the direction of V)

    My questions are: A) is it possible to slide vertically and horizontally and B) how would I created pages? Obviously if I was in the case study customer 1 4 I would viwer swipe horizontally to go to the case study 2 customer 1 and so on. I guess

    If possible someone at - it pointers to tutorials online?

    Thank you man

    Steve

    This means that you have left this article on page 3 the last time you were

    read.

    You can reset the folio in a triple type the title of the folio in the

    title bar.

    Bob

  • I can switch between the code sheet and css html, but I would like to see them both at the same time as well as the design window. Right now and can see rather the design and code html or design and css. How can I arrange to see all at the same time, of

    Hello

    My name is Ellie and I am new to Dreamweaver.

    I can switch between the code sheet and css html, but I would like to see them both at the same time as well as the design window. Right now and can see rather the design and code html or design and css. How can I arrange to see everything at the same time, design, HTML and CSS?

    Thank you

    It ends up something like that...

  • The difference between the ADR and ADF

    People,

    Hello.   I have implemented PeopleSoft Campus Solution 9.0 revision 5 for a University. I develop the application for Admission online for future student to apply for admission.

    I need to install Oracle ADF (Application Development Framework) or ADR (execution of Application Development) to run my application for Admission online web page for PeopleSoft Campus Solution 9.0, but I do not know the difference between the ADF and the ADR.

    My installations are below:

    Server machine: Oracle Linux 5.10 (64-bit)

    Client computer: Windows XP Professional (64 edition) with the Internet Explorer browser

    Architecture Internet Oracle Linux 5.10 Server:

    (1) database server: Oracle Database 11 g

    (2) the server application: Tuxedo 11 g

    (3) web Server: Web 11 g logic

    (4) browser: Firefox Mozila

    5) 8.53 PeopleTools and PeopleSoft Campus Solution 9.0 R5

    On the download page http://www.Oracle.com/technetwork/developer-tools/ADF/downloads/index.html , there are 2 packages to download:

    (1) execution of the 12.1.3.0 application development

    (2) oracle ADF essential 12.1.3.0

    My Architecture Internet of PeopleSoft as shown above has been working properly for a long time. Logical Web 11g works correctly. It seems that the first 'Application development performance' package also install logical Web server which is not necessary in my machine. In addition, ADR is not free, and we may need to purchase the license.

    Essential because ADF is free and without license fees, I chose Oracle ADF essential 12.1.3.0.0 to develop the application for admission online. I read his paper on http://www.oracle.com/technetwork/developer-tools/jdev/documentation/121300-cert-2164864.html

    9.0 Solution Campus system will be run by a University to do business formally.

    My questions are:

    First of all, what package is right for my application for Admission online Campus Solution 9.0? ADR or essential ADF?

    Second, if choose essential ADF, I have a few questions about the 12.1.3.0.0 ADF to match my installations as below:

    (1) as indicated in the document, ADF 12.1.3.0.0 can work with Oracle Linux 5 & 6 (64-bit) and other operating systems. ADF can also work with Windows XP? Can I install ADF with my Oracle Linux 5 server machine?

    (2) as indicated in the document, ADF 12.1.3.0.0 can work with Websphere Server Application. ADF can work with Tuxedo 11 g?

    (3) as indicated in the document, ADF 12.1.3.0.0 can work with the Firefox browser. ADF can work with Internet Explorer in Windows XP?

    Thanks in advance.

    If you want to use essentials, you must download the package from the essential. ADR is the complete stack where you must purchase a license.

    Timo

  • How do the areas of adjustment between the fields and lines in the apex?

    (Request Express 4.2.5.00.08)


    Hello world

    I am beginner in the apex...  When I created the form page, I found different spaces between the fields and lines... But I can't adjust it...?


    Help me please


    PIC

    http://i.imgur.com/ZSFlmCi.PNG


    Demo https://apex.oracle.com/pls/apex/f?p=50581:3:4430339212420:

    PEAK http://i.imgur.com/T14TE3n.png

    Hello

    Solve this problem...

    In the section "Attributes of the HTML Form element" for item writing: style = "" margin: 0px 1px 0px; ""

    Thanks Amr

  • Decrease the space between the ball and the penalty

    Y at - it no control that will decrease the space between the balls and the penalties? It looks good on the office, but given all three browsers there is too much space. I use RoboHelp 11 with WebHelp as my main page layout.

    Is based on the HTML code of the ball lines and the corresponding CSS applied. The chips are HTML lists or just text?

  • Why is there a gap between the banner and navigation bar?

    Hi gang,.

    I hope someone can help me. I tried a new layout, but cannot work out why space appears between the banner and navigation bar.

    It seems (at least for me) fill and margins are reset to zero, so I do not understand.

    The url of the temporary page is www.iainmoran.com/new.html

    Thank you very much in advance for your time.

    Iain.

    In your attempt to css:

    #masthead img {}

    display: block;

    }

  • RoboHelp5: Connection between the project and subproject

    I have a master project and four sub-projects that all reside in a flat directory; in other words, the main project folder and all subproject files are at the same directory level. Can I combine the projects very well, but when I try to add a hyperlink to a topic in the main project of a subject in one of the subprojects, the link disappears when I compile the main project.

    I searched for the answer adobe and found a page describing the 'link between merged WebHelp projects', but the instructions say to put the files from subproject in the main project directory. I keep a set of available test only projects for practical things on without breaking my work today and tried it. I could not create merged using this method in all projects the. The link of the merged project appears in the table of contents, but when I met the main project and seen the results. merged projects appeared.

    Any ideas on how I can combine projects * and * create hyperlinks between the master and subprojects? Thank you.

    Ok. It worked, and I didn't have to change the structure of Active Directory or create a master project that is devoid of content. Basically, my project composed of five projects... a master project and four projects that are merged into the hand. All project files are on the same level of directory.

    The key to creating a hyperlink between a subject in a project and a topic in another project is in the table of contents:

    Type the text in the topic you want to turn it into a link
    Derivative of this text
    By clicking on the hyperlink icon in the toolbar
    Next to the link, click on the arrow down and select Remote topic in the menu
    Navigate to the project's CHM file you want and double click it.
    If you get a notification dialog box indicating that the files of theme with spaces may cause remote subject links do not work, click OK (in the future, I will have to create the topic filenames without spaces)
    In the select a remote topic dialog box, select the name of the topic you want to link to, click OK and click OK again.

    I know this is fairly elementary to most of you, but I thought that document my steps might help someone like me who is facing the same situation.

    Thanks again.

    -Travel

  • Why my display of the date of the mailbox does not have a / between the year and the month?

    I'm talking here about how the date of different e-mails appear in my Inbox. I have a / between the month and the day, and a / after the day, but I did not / between the year and the month.

    TB uses the date format short, such that defined by your operating system, which, in the case of Windows, is located in the Panel control/region and language.

    http://KB.mozillazine.org/Date_display_format

    There are a few modules that might also be useful:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ConfigDate/

    https://addons.Mozilla.org/en-us/Thunderbird/addon/Super-date-format/

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

  • Difference between the G20 and G25 models

    Hi people!

    I searched your laptop and I was amazed by the Qosmio.
    When I was going to order it, I noticed that there are many models of the G20 with different specifications. Also, I found G25 on internet research and found no difference between the G25 and G20 except receiver TV G25 is NTSC and G20 was released on March and G25 was in June. Instead, they have the same specifications for the hard drive.

    I live in the Portugal and the model Qosmio I can find that this is the G20-118. I was looking for the model that has 2 x 100 GB SATA HD, but cannot not thought about it.

    Internet research I found Qosmio G20-111 which has 2 x 100 GB SATA HD, but on the web page mentioned that it was a Pentium III processor (ridiculous, isn't?). I was looking for more reliable information.

    Already searched for toshiba pages and found no specifications for all models I found 490LS on the research on the web as the G20 - 102, 105, 106, 108, 109, 111, 118, 123,...

    Can someone help me with this? Are there any reliable web page where I can see the differences between the models? is there a .pdf or anyone who can please give me some advice?

    Money is not a problem at this time to acquire the laptop, I'm looking for only the laptop performance more!

    Best regards
    João Pereira

    Hello

    It of very difficult to say what camera is best, because there are many models with different parts.
    However, I found page with description of the G20 and G25.
    Take a look at this link.

    http://www.releasereview.com/Toshiba-Qosmio-G20-105-108-114.aspx?d=0101000580926052005

    Good bye

  • Example of configuration, VPIM between the unity and Unity express

    I neet to configure the network of VPIM between unit w/Exchange and 3rd-party voice messaging system and want to familize functionality. That's the analogy between unity and unity express research. I can understand between the unit and Exchange, but do not know how it works between Exchange and the express unit. specually the requirement of the domain.

    Can I get the sample configuration for configuring VPIM between unit w/Exchange network and the express unit?

    Thanks in advance,

    Networking VPIM can be used for networking between Unity and Unity Express, just as it can be used for networking with a third-party system, however, each have their own implementation. Unity Express does not connect to the Exchange. I suggest you re-read the chapter ' using VPIM for Networking with Cisco Unity Express or other Cisco Unity Systems "to http://www.cisco.com/en/US/products/sw/voicesw/ps2237/products_feature_guide_chapter09186a0080449a39.html and Cisco Unity Express Networking guide at http://www.cisco.com/en/US/partner/products/sw/voicesw/ps5520/prod_configuration_basics09186a008035bbdb.html.

    A third-party system would have concepts comparable to the implementation of unity VPIM, but would not exactly be the same - see the documentation of that system for details.

  • How can I put a dashed between enrty line and page number of an index?

    I've successfully created an index with Indesign CC, but I can't seem to right align page numbers and get a dotted line between the entry and the page number. It doesn't seem to be an option for that. The menu of content table has a field "between entry and Page number", but I can't find an equivalent here.

    There is also a full stop after each page number. I don't know how it got there, but how do I get rid of this?

    You must change the paragraph style, you use with your texts to index. Go to the tabs tab and change the tab tab left justified right, Insert tab arrow to correct places on the rule of the tab and finally add a point to the head field. Then you need to return to your indexing settings and make sure that you separate the entries index and page number with tab...

    Paragraph Style settings:

    Indexing settings

  • Conflict between the cursor and the buttons?

    Help please!

    I used the cursor successfully to move to part 43 and 60 in a single scene:

    Stop()

    function moveAlong_ff(evt:Event):void {}

    gotoAndStop (sl_ff.value);

    }

    sl_ff.minimum = 43;

    sl_ff.maximum = 60;

    sl_ff.liveDragging = true;

    sl_ff.addEventListener (Event.CHANGE, moveAlong_ff);

    this.addEventListener ("enterFrame", onEnterFrame_ff);

    function onEnterFrame_ff(e:Event) {}

    sl_ff. Value = this.currentFrame;

    }

    And I also managed to implement a few buttons that navigate between scenes with success:

    ff_btn2.addEventListener (MouseEvent.CLICK, jump11);

    function jump11(event:MouseEvent):void

    {

    gotoAndPlay(1,"Scene2");

    }

    fb_btn2.addEventListener (MouseEvent.CLICK, jump12);

    function jump12(event:MouseEvent):void

    {

    gotoAndPlay(1,"Scene3");

    }

    bs_btn2.addEventListener (MouseEvent.CLICK, jump13);

    function jump13(event:MouseEvent):void

    {

    gotoAndPlay(1,"Scene4");

    }

    However, when the above scripts are present together there seems to be some kind of conflict, and I get the error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    at trailfresh_demo_19_fla::MainTimeline/onEnterFrame_ff()

    Can anyone help because I would like to really be able to navigate between the scenes using the buttons and also have the cursor work in different scenes?

    first of all, make sure that it is not an obvious error.  Click the object that you think is sl_ff and check the properties panel to make sure that the spelling is correct.  using the copy (from your code) and paste (in the properties panel) provide the spelling is the same in both places.

    If this does not resolve the problem:

    If you have created sl_ff by putting it on stage in certain keyframes to verify if it is interpolated of chronology.  If this is the case, it is a subtle cause of this problem.  I would like to know if this is the case.

    otherwise: the first keyframe that contains sl_ff should contain your code (or there may be another subtle cause of this problem).  t it?

Maybe you are looking for

  • Toolbar keeps glitching

    My toolbar on Mozilla flashes at random points, when he does this he doesn't know my typing and will support me out of things that are selected in the toolbar. For example, when I try to click the icon on the toolbar of the story will be flash and it

  • How can I stop the automatic updgrades to Thunderbird?

    New versions of Thunderbird are incompatible with an add on called Quicktext Pro and their attachments. Uninstall the service of maintenance does not help.

  • Using the PV formula in numbers

    Hello out there in cyber space. Can someone tell us how we can use the formula PV of Apple in a Numbers spreadsheet?  It is listed in the new forms, but how o to enter the ss? Help much appreciated. Team consult Ultra Luxembourg.

  • Since the upgrade to El Capitan on my Mac, I can't do 2 Facer of printing?

    I have an Epson SX535WD all in one printer that came with a duplexer installed. I used Double sided printing several times successfully with this printer, but now, for some reason, that I can't because it appears on the screen, but if it doesn't it i

  • How install sata ide converter adapter

    I have a sata adapter converter ide but whence the son connnect and which wires go where?