How to redirect the page using af: Poll?

Hi people,

How to redirect the jsf page to another page, after af:poll run a method?

For example:

The user is connected to A page, after 5 minutes of af: poll of the object, an execute method. This method must redirect page A to page B...
Is this possible?

Thank you

Hi William

Create a pollListenerMethod in backing bean code using a code like this:

public void poll1_pollListener (PollEvent pollEvent) {}
ExternalContext ectx is FacesContext.getCurrentInstance () .getExternalContext ();.
HttpServletResponse response = (HttpServletResponse) ectx.getResponse ();
response.sendRedirect ("http://domain.com/app/faces/index.jspx");
}

Good luck

Tags: Java

Similar Questions

  • How to display the page using a MS Word RTF borders in a report

    I use 11g BI Publisher and I have installed the plugin for MS WORD. I am able to create a template report with success however, the borders for my page are not get made when running or downloading the PDF file.

    I have to do something more? I'm new to this tool so apologies if the question is stupid.

    Concerning

    Hello

    BI Publisher doesn't support page border, but it is possible using watermark.

    Please follow this

    (1) open a new word document and insert a page border.

    (2) adjust the zoom level of the document word to 60% so that the entire page at a glance

    (3) take a screenshot of the word document

    (4) open the MS Paint application and paste the screen of the document copied word

    (5) select and Corp. only the page borders and save it as jpg or png gile format

    (6) model RTF open a report

    7) click on watermark-> select the image in the watermark, and then select the saved image

    (8) to adjust the size of the scale in manual numbers. In my case in excess of 160% in my document.

    (9) does not control the wash option and close the watermark.

    (10) this is the page border.

    Thank you.

  • How to redirect the page when custom authentication is on?

    Hello gurus:

    I'm working on a APEX 4.2 x asks, when the authentication scheme is set to Custom - which means, the validation is done through a PLSQL package against a custom table.

    I have 3 buttons on the homepage viz, Login, forgotten password, register. This page has nothing other than these three buttons.

    If I click on the " login " button, it takes me to the login page. If I click on the forgotten password button, it takes me to the password screen. However by clicking the register button, only takes me to the login Page.

    I don't understand why this happens. Can anyone help?

    Thank you

    Srini

    Srini.Ramanujam wrote:

    I'm working on a APEX 4.2 x asks, when the authentication scheme is set to Custom - which means, the validation is done through a PLSQL package against a custom table.

    I have 3 buttons on the homepage viz, Login, forgotten password, register. This page has nothing other than these three buttons.

    If I click on the " login " button, it takes me to the login page. If I click on the forgotten password button, it takes me to the password screen. However by clicking the register button, only takes me to the login Page.

    I don't understand why this happens.

    This happens if the registration page requires authentication. The page must be accessible to the public.

  • confirm the dialog box and to redirect the page when a button is click

    Try to cancel a button would pop up a confirmation dialog box if ok redirect as 1 page (homepage)

    I tried to copy the code
    JavaScript:apex.confirm ("are you sure you want to cancel ', 'CANCEL'");

    but im having a hard time finding how to redirect the page.

    I guess you get the page shown.

    If so, then create a branch with a Condition where ask = CANCEL and go to the redirect page to. Make sure you to another branch does not exist with a lower sequence that would fire until this new branch may trigger.

    Be sure to mark answered questions if in fact they are.

    Published by: Bob37 on January 18, 2012 09:48

  • Redirect the Page programmatically

    Hello

    How can I redirect page by programming?
    I mean if I have processes of pl/sql that contains the 'IF' condition, how can redirect the page depnding on this condition?

    Thanks in advance

    Create a branch.
    Branch of Service Type back Page...

    Write a pl/sql function this page back not...

    if condition then
       return 1;
    elsif condition then
       return 2;
    ....
    else
       return 10;
    end if
    

    Kind regards
    Shijesh

  • How to print the page on WiFi printer using ideapad a1

    How to print the page on wifi printer using ideapad a1

    Cloud Print (available in the game store) use Google chrome to print from the A1 motorway. You must have Chrome installed on your computer. If not connected to Google (required) or your PC/Mac/Linux computer is turned off, it will be printed when you log-n.

  • How to change the page numbers after adding & save page numbers in the pdf document - need to change the existing page printed on the upper right in the header numbers

    How to change the page numbers after you add and save the page numbers in the pdf document - need to change the existing page printed on the upper right in the header numbers.

    These page numbers were initially created using Acrobat PDF header and footer.

    I have a 750 page pdf document that I've created.

    I have to sometimes the pages up and down after that I added the page numbers in the document by using the Header_Footer tool on the right column of tools.

    But after you save the document, if I get a few pages around, I can't go back and change the page numbers.

    I thought that the page numbers, as indicated in the header and footer must have changed automatically, but I guess that once its print, that it cannot be edited - is that, as what is?

    So I guess we should always first get a copy without numbers of pages before confirming the documents and the creation of an index.

    A way to remove these page numbers already there and add new page numbers.

    Its a lot of work to align 750 court documents and then realize that you must move some and then realize the page numbers cannot be changed and thus begin to do this all over again to compile which can take about 10 hours.

    My question is quite simple, but I hope that overall, I got my point. Sorry if I made it is too complex.

    If no simple way, want to know if anyone has another different tool or a few recommendations to better highlight what I'm doing wrong.

    Thank you for your review and response.

    You should be able to update with tools - Pages - header & foot-

    Update... It not work for you?

    If this isn't the case, then try to remove from this menu and then re - adding them.

    Tuesday, June 23, 2015 23:55, Fortune Mile [email protected]>

  • Personal customization of the title of the page using liquid

    Hi all

    I'm looking to customize the title of the Web page so that the top of the browser window is customized based on a parameter passed through the url.

    I am trying this:

            {% for listing in MDListings.items %}
            {% if {{globals.get.MID}} == {{listing.itemid}} %}
            {% assign pagetitle = {{listing.name}} %}
            {% endif %}{% endfor %}
            <title>{{pagetitle}}</title>
    

    When I insert in the < head > section and update the page, the chunk will automatically move over the body.

    When I run the script of liquid in the body, the output is very good.

    So my question is, how to change the page title using liquid? Or y at - it another way to do it if the liquid is not necessary/recommended?

    Could someone enlighten me on this? Thank you!!

    You have the url for the web retail display app you can form a bond with and add parameters to it, nothing prevents you here.

    The developer reference

    {{url}}

    href = "{{url}}? myparm = something

    Front right, or am I missing something?

  • How to reorder the pages?

    How to reorder the pages?

    Hi tredfg

    Please visit: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7ec9.w .html

  • How to customize the pages of Self Service

    Hi all

    How to customize the pages of Self Service. Guide kindly emergency.

    Thank you
    Mr. Bilal

    You can take these steps
    ==============

    -> Profile set Customize option % Self Serv % Def % Yes at the user level (you use to customize the user).
    -> Go to the page you want to customize
    -> Page-click Customize in global top menu of the page.
    -> Click on the button Choose context and select the responsibility for which you want to customize the element (clear, all other fields such as site, organization, location, function, industry)
    -> Button click on apply. You will get the hierarichy page.
    -> Now the identity of the item, you need to customize and click Customize (pencil icon).
    -> True/false property rendered set (if you want to hide the item to false to show true set) and apply.
    Back at the request of->

    You can see more information on these links

    http://apps2fusion.com/at/43-SS/453-OAF-extension-case-study

  • How to refresh the page

    I usually go to view, refresh, however, discounting is not an option since I use firefox. where to cool off?

    I usually have to reload the page using Ctrl + r and some people like to use F5 (given that some other applications use this key), but if you prefer the mouse, it is probably easiest to right click on an empty area of the page, and then click the icon representing an arrow circling along the top row of the context menu , or move the pointer all the way up to the toolbar.

  • How to reorder the pages in boat launch

    How to reorder the pages in boat launch?

    Hello Bob,

    Thank you for being part of the community of Apple!

    Looks like you want to change the order of the pages both in Launchpad.  If it is not possible to change whole pages at a time, you can click and hold on an application and drag it to where you want it to be.  If you want to move it to another page, drag the app to the edge of the screen, and the page will change which allows you to place it on another page.

    You can find more information about Launchpad here:

    The basics of the Mac: Launchpad is the quick way to find and open your applications

    Have a great day!

  • Firefox keeps opening Google in each new window. Earlier, I want the pages used instead.

    Normally, I have a specific start page. From there I open 4-5 other pages in the same window. It was easy before the 25th of Firefox, as the preceding pages have been posted. With the new version, this possibility has disappeared and been replaced by a page of Google. I want to get rid of this page and get back the sooner the pages used to click on. If this is not possible, I would get a blank page.

    Hello

    I'm not aware of any changes made to the Home Page or the new tab Page in Firefox 25. Maybe it's something else caused the problem.

    The new tab Page is the page that appears when you open a new tab in Firefox. By default, it should show a number of thumbnails of Web sites you have recently visited or pinned there. More info here:

    Customize the page tab

    This feature has not changed in Firefox v25. If you see a Google search page instead of the default new tab page then something is wrong.

    You can reset the setting for the page tab by following these instructions:

    • In the URL bar, type about: config and press ENTER.
    • The subject: config "This might void your warranty!" warning page may appear. Click on that I'll be careful, I promise! to keep the comments: config page.
    • In the search box, type "browser.newtab.url".
    • Click the browser.newtab.url preference, and then click Reset. He must then change back to the default which is ' on: newtab'.
    • Click OK and close all: config tab.

    You can see that it works for a while, but ultimately the problem comes. I think it is likely that some malware is hijacking your browser and make changes to the settings. That's why the change was made in the first place without your permission.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

    I also suggest you do the following:

    • a comprehensive analysis with your current antivirus software.
    • Watch your Firefox Add-ons and remove any that you install yourself - disable or remove modules
    • Look at your list of applications from Windows startup and disable anything you think might be related or suspicious look.
    • Look at your list of installed Windows applications and uninstall anything that you think might be related or suspicious look.

    More information can be found in the article troubleshooting Firefox problems caused by malware .

    This solve your problems? Please report to us!

  • I deleted pages by error, anyone know how to reinstall the pages? Thank you!

    I deleted pages by mistake with mackeeper, anyone know how to reinstall the pages? Thank you!

    First - get rid of MacKeeper - it will wreak havoc with your Mac. This is an absolute piece of garbageware. See this link for full instructions:

    How can I remove mackeeper to my macbook pro

    For re - download pages to your Mac, open the Mac App Store, and then click "buy". You should see that pages listed there with the button download beside him.

    Good luck

    GB

  • How will I know if my Airport Extreme has the latest firmware?  And (not related) how to change the password used to connect to my network?

    I think I bought the latest version of Airport Extreme.  It is the unit which is rectangular, is about 6 to 7 w., etc.  I have some basic questions that I do not understand:

    1. How will I know if I have the latest firmware for this device?  I read a few posts that make it sound as if it was just automatically updates.  Is this true?

    2. can someone tell me how to change the password used to connect to my wireless network?

    Thank you very much!

    Chris

    If a firmware update is available, AirPort Extreme flashes orange.

    The most up-to-date version of the firmware is 7.7.3.

    You can see what version you currently have the following on your Mac...

    Open Finder > Applications > utilities > AirPort Utility

    Click on the image of the AirPort Extreme

    Look for the Version

    If the new firmware was available, you will see a button update here

    To change the wireless network password...

    Click on edit in the window smaller than you watched just to check the firmware version

    Click on the Wireless tab at the top of the next window

    Go back / change the wireless password and enter a new password

    Do the same thing to check

    Click Update at the bottom right of the window and give the airport a minute full for restart

Maybe you are looking for

  • Satellite A130: Fn key not working only not with Vista - only FlashCards

    Hello I've been looking around in the forums, but I couldn't find solutions to my problem. I have a satellite A130 and I am running a windows VISTA family Basic. I have a problem with my fn functions.I can only use flash on the top of my screen cards

  • How long works has battery Satellite A210-16Fon?

    Hello Anyone have experiences with satellite A210-16f?How long does it work on battery? I again a210 16f (1 week) with win Vista and I can use only 1h30min.Is this right? Post edited by: George26

  • HP S2031 monitor problems

    Hi, I recently bought the HP S2031 monitor so I can use it for HD (Ps3) games and also bought a HDMI DVI digital video cable so I could connect to my monitor, but when I go to the DVI source and try to turn on the HD settings on my playstation, it sa

  • Change the Data Type to node e/s on PXI-7841R FPGA

    I would like to change the data type for the node FPGA of e/s on my card FPGA 7841R (simulation). So far, I have raw data (I16). I want to test something with the calibrated data (FXP). The cRIO, you usually go to the properties of module to change t

  • Is it possible that I can move my son to my new windows live ID account

    I followed the instructions and signed by pursuing my windows live ID then found I have to give the babysitters my windows live / hotmail password to authorize sites!I also type this password very inportant in front of my son! I created a new windows