How to display the new page with HTML, click the ADF

I have an ADF page with a button.

When I click that button, I call a method in backing bean that calculate a string that is HTML. I want to make this HTML as a new page in the same window of the browser as a result button click.

How do I do that?

I can also call a methodCall to task flow on a button click. But my next page should be a new HTML page including the calculation in the method call.

You can convert the calling method in a servlet - your ADF page calls the servlet that returns the HTML code - this may be as a separate page using an af:goLink to call the servlet or it can be included in an af:inlineFrame in your page.

Another option is to return the HTML string as the value for an af:outputText and the attribute of the escape of this element the value false.

Tags: Java

Similar Questions

  • How to create a new page with the existing provision of the one that I already created?

    Well, I'm very new to DreamWeaver, just an info. I was ordered to develop a site for a company. There will be as a total of 10 pages on the site. I created the home page, and I'm now trying to make the other. But I don't know how I can take the basic layout, I created in the homepage so I can add information for other pages later. I tried to save as a template, but I had to create editable regions and those got in the way. I even tried to copy the code from the original, but then the Spry menus will not work correctly. I hope I passed my problem properly. Any help will be more useful.

    Thank you.

    1. Open index.html
    2. File > save as > page2.html
    3. Repeat for other pages of the site...
    4. Change content as needed.

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/

    http://Twitter.com/ALTWEB

    http://ALT-Web.blogspot.com/

  • How to display the html page to 4.5Os

    Hi all

    How to display the html page to Nontouch 4.5Os...

    Private documentation has enough detail - read and implement.

  • How to create a new project with other page with the new version of Muse layouts?

    Hello
    If someone would continue to operate as before with the inadmissible Muse version... is - this posible to have both versions installed? or how to create a new project with other page with the new version of Muse layouts?
    Or how to download third party) 3 different configurations (desktop/tablet/mobile) under the same url with a clean result, like up yet with the Muse does not?

    Thanks for any help,

    Patrick

    Use the new version! What you want to achieve, will work! Go to the 'Page' menu and choose 'Add another Layout' and the missed buttons are in plan view.

  • How to add the new page with the new preferences marginal?

    Hello

    can someone tell me? How to add new page with specific preferences marginal? is it possible to add the margin setting when adding page?

    Part of engineering substances comes with Google when necessary. (I think)

    nt-considered-harmful http://blog.boyet.com/blog/javascriptlessons/javascript-for-c-programmers-the-with-stateme / ... and much more can be found "with statement considered as harmful.

    There is nothing wrong with the definition of the properties on one line, except that it becomes progressively harder to read, understand, maintain, and update:

    myDoc = app.activeDocument;
    var myLastPage = myDoc.pages.add(LocationOptions.AT_END, undefined, {marginPreferences:{bottom:"6p", left:"6p", right:"4p", top:"4p"} });
    

    Note that since you are using "LocationOptions.AT_END", you don't have to use a reference to any page. This is only necessary when you want to insert a page anywhere except at the end or the beginning.

  • Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but

    Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but I can't it to work on the laptop.

    I downloaded "New tab Pro" on the laptop (do not even see on desktop computers so don't think about) such that she was like the real deal but nope... do not work. Running the latest version of MF, ideas on how activate it please?

    Thank you guys are going to mark as 'resolved' BTW it is no "folder on the desktop named old data from Firefox. Hmmmmmm.

  • How to display very large text with the font size?

    I'm using html and css to display large text with the font size.

    Label {
        text: "Acit"
    }
    

    In the image below, it is the largest size, although I try to increase the value of the size of the font. Do you know how to display the largest font size?

    Thanhks

    You should be able to amplify it upward with scaleX/scaleY properties, although no doubt quality will suffer somewhat (but probably not significantly, for most people).

  • I need to update the screenshots for a new version of an app existing Itune application to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    I need to update the screenshots for a new version of an existing iTunes Connect App asks me to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    You must call the assistance of the company and ask them to help you with this. You can find contact information by logging on http://digitalpublishing.acrobat.com/ and looking at the Middle at the bottom of the page.

    Neil

  • How to display the list on the page all?

    I have a 1 page. In this 1 page, I have a list box. This list to contain three region list.
    each list is a page (page 2, page 3, page 4). When click on any list redirect to the corresponding page, but the region from the list on page 1 does not appear when I redirect page 2, 3 or 4.

    How to display the page list all the 2,3,4?

    SKUD.

    Hello

    create the list in page zero and give the State, saying that all pages will be displayed..,.

    or

    GoTo
    Home > Application Builder > Application xxx > shared components > list of commitments

    Here you can set new pages where you need to see your list

    Kind regards
    Little Foot

  • How to create a new page when the user activates a box?

    I guess this would be a checkbox.  I am looking for a way to create a user, select Create a new page when the user runs out of space in the text box that is given.  So if possible is a way to create a new page with a text box continuous when the user selects create it a new page check box.  Thank you.

    Yes, if you create a new page in the designer of the LC (page 2) and deselect the number of minutes, so that when the form is displayed at the start, it is not an instance of the page. While the click event of the button would be:

    _page2.addInstance(true);
    

    You can design page 2 with which opposes always desired.

    Hope that helps,

    Niall

  • How to display the width of the page or the big screen in firefox 11 automatically?

    How to display the width of the page or the big screen in firefox 11 automatically? I know how to Ctrl +, ctrl - and ctrl 0, but is there a way to define 11 firefox to automatically set the page viewing by default "page width" or full screen (F11 not)?
    Help, please. Thank you.

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • How to display the path of a contact with a program?

    How to display the path of a contact with a program?

    Hey,.

    Follow the mentioned below as follows:

    1. Go to Contacts > Contacts.
    2. Highlight the contact to which you want to see the way through the program.
    3. Click on the newspaper story > program activity.

    Thank you...

  • How to display the names of header fields in the next page in report6i

    How to display the names of header fields repeated in the next page of report6i urgent please...


    When I'm runing report in 1st page that showing only the header in page 2 information header information does not display only records appear. So I want to display the header in 2nd page also information.

    You can help.

    Hello

    Go for the model of report layout and select these elements/objects that do not display on the next page and pressing the F4 key to open the palette of the property and set the property Print object on to All the Pages , then it will appear on all pages.

    -Clément

  • How to display the loading time of the page?

    Hello

    I would like to know how to display the loading time of the page? I know there is a var that must be in the footer, but I don't remember.




    Thanks in advance
    Antonio

    >
    You can use #TIMING # footer region the region to display the time taken to make this region - not sure about a whole page of
    >
    How about this the understands it in the front page template header...

    
    

    And then this in a div in the footer of the page template...

    
    

    See you soon

    Ben

  • How to display a style placed in HTML custom

    I have placed a placeholder HTML customized with the ID HTML Table and CSS in my page, but you need to know how to display css styles real without having to get a preview of the page.

    In my custom HTML code, I put CSS identification tags that use the same identifiers that creates the muse. But when you view the page in design view editing, I am unable to view the styles used that creates a problem trying to place other objects around it.

    The only way I can see real spacing and style is by an excerpt of the page, then I need to go back and forth between design mode and the preview to see the position changes, I do object.

    Does anyone know how to display the HTML styles in Design view?

    the only way I know to display a CSS stylesheet within the design view is to add online with HTML code. For example:

    Stuff

    I hope this helps.

    David

    Creative muse

Maybe you are looking for

  • PDF does not open

    I tried EVERYTHING to get a PDF file to open it in firefox on my mac. They worked about 6 months ago but then stopped. I tried to change the application they open in preferences, applications, I tried to adjust the Add-ons, I tried to activate the pd

  • I'm using the beta version, you will offer the Norton Toolbar on the version beta?

    It might be a good idea to see if the Norton toolbar works with the beta

  • recover lost iphone Notes 6 more

    I constantly lose post-it notes on my iPhone 6 Plus. They simply disappear. How can I get back them?

  • iTunes cannot use previous credit card, but still has money on the map

    I try to use my previous credit card, but he keeps saying he is refused when there is enough money on it. It of like, more than $1,000 to this topic and I have to pay an outstanding balance so I probably have to spend like $2 or $3, but it won't let

  • DV8T

    I have a DV8T laptop with xb4 attached base. I get a sound bar that appears constantly, and when that happens it minimizes the display. It's really annoying. In addition, when it produced the volume and basic settings or trebble automatically to max