How to return a xhtml page from the popup panel

Hello

I have two pages xhtml a xhtml page is open by clicking on the first button and as a result of this click on a popup window opens (second form). This new form that has been opened as a popup, I want to make the first forms textbox when I click on a button in the pop-up window.

Do you think that is it possible? (either by the way, I use jsf 1.2)

I tried to be clear that I can do, but if not I'll explain it with codes if it is not yet clear.

See you soon

924851 wrote:
This means using jsf1.2 there is no way to do it?

I have only one thing to say to that: do the JSF, or do it yourself.

Work with pop - up is not in the design of the framework. Which is a good design IMO decision - there's a reason why most browsers come with a blocker pre-installed popups; people don't like the pop-up windows. These things are really of the previous century. Everything you want to do if you want to use JSF, better to adjust your design for which is more in line with how does the framework. If you don't know what it is its time to buy a good book on JSF. This isn't something that you explain in a post on the single forum or even a blog entry really.

Modern Web sites who want to imitate a "popup" without actually creating a popup tend to use a "floating div" for such purposes. Extension as Primefaces and Richfaces frameworks provide dialog box components that do just that, but do not expect to have such a thing upwards and the race in a few minutes.

Tags: Java

Similar Questions

  • How to remove a web page from the server web host via dreamweaver


    We have made significant changes to our Web site and need to delete a number of web pages that have been published on our web server.  While these retired web pages cannot be publicly accessed via links in the Web site, that have been deleted, web pages remain on the site and can be accessed if their specific URL is directly indexed.

    1. In the files Panel, select the remote server in the drop-down next to the site name and click the icon to connect to the remote server.
    2. Browse for the files you want to delete and press delete.
    3. Confirm that you want to delete the selected files.
  • How to remove 'Save as PDF' from the popup menu

    The item 'Save as PDF' leads to a shopping site called NITRO. I'm trying to eliminate it from the context menu. I installed the add-on Menu Edit and changed the item save as PDF from the visible to hidden on my PC Windows with Firefox 30 8.1. However, the issue has not disappeared from the context menu. Still on my PC with Linux Mint 17 with 30 Firefox for Linux Mint, the point went on the shortcut menu. My PC s linked with Firefox Synch.

    How can I remove this?

    Such an entry in the context menu is probably added by a PDF file about the extension, in order to check your extensions.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Oracle of the MAF: How get text of a page from the amx and show them in another page of amx

    I created a simple form using amx as below:

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < amx:view xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

    ' xmlns:amx = ' http://xmlns.Oracle.com/ADF/MF/AMX "xmlns:dvtm =" http://xmlns.Oracle.com/ADF/MF/AMX/DVT ">

    < amx:panelPage id = "pp1" >

    < amx:facet name = "header" >

    < amx:outputText value = "Header" id = "ot1" / >

    < / amx:facet >

    < amx:facet = "primary" name >

    < amx:commandButton id = "cb1" / >

    < / amx:facet >

    < amx:facet = "secondary" name >

    < amx:commandButton id = "cb2" / >

    < / amx:facet >

    < amx:panelFormLayout id = "p1" >

    < amx:inputDate id = "i1" label = "Date" / >

    < amx:selectBooleanCheckbox id = "s1" label = "CheckBox" / >

    < amx:selectBooleanSwitch id = "s2" label = "Switch" / >

    < amx:selectOneRadio id = "s3" label = "Radio button" >

    < amx:selectItem id = "s4" / >

    < / amx:selectOneRadio >

    < amx:inputText id = "i2" hintText = 'enter something '.

    Label = "Edit Text" > < / amx:inputText >

    < amx:inputText id = "text1" label = "" enter password: ""

    secret = "true" / >

    < / amx:panelFormLayout >

    < amx:commandButton id = "c1" text = "Send" action = "getFormDetails" > < / amx:commandButton >

    < / amx:panelPage >

    < / amx:view >

    I want to extract the text entries, check box, option button, and display them in another page of amx. Please help me.

    Hello

    Here is an example.

    Assuming that there is a taskflow (as feature) which uses two activities with the name View1 and view2, with a case of View1 to View2 control flow is getFormDetails.

    code View1.AMX:

    "http://www.w3.org/2001/XMLSchema-instance" xmlns:amx ="http://xmlns.oracle.com/adf/mf/amx"

    xmlns:dvtm ="http://xmlns.oracle.com/adf/mf/amx/dvt" >. "

    value="#{pageFlowScope.TestBean.userNameValue}"/ >

    code View2.AMX:

    "http://www.w3.org/2001/XMLSchema-instance" xmlns:amx ="http://xmlns.oracle.com/adf/mf/amx"

    xmlns:dvtm ="http://xmlns.oracle.com/adf/mf/amx/dvt" >. "

    TestBean.java (which is located in pageFlowScope).

    mobile plan;

    public class TestBean {}

    private String _userNameValue;

    Private boolean _checkboxValue;

    public TestBean() {}

    }

    {} public void setUserNameValue (String _userNameValue)

    This ._userNameValue = _userNameValue;

    }

    public String getUserNameValue() {}

    Return _userNameValue;

    }

    {} public void setCheckboxValue (boolean _checkboxValue)

    This ._checkboxValue = _checkboxValue;

    }

    public boolean isCheckboxValue() {}

    Return _checkboxValue;

    }

    }

    Arun-

  • How to remove a Web page from the Launcher

    I installed the google homepage on my Launcher by going to the homepage of google then on web, then to the page, and then add to the pitcher. How can I remove it now? There is no other choice and I really don't want to do a wipe again.

    Press and hold the orange key on the keyboard while clicking on what you want to delete.

  • How to get the phone and messages back in my dock apps? And for some reason, I discover now all my app pages from the middle of my phone and not at the top?

    How can I get the phone and messages apps in my dock? And for some reason, I discover now all my app pages from the middle of my phone and not at the top?

    Try

    Settings > general > reset > reset home screen presentation.

    Note: All other applications will be organised by alphabetical order.

  • I would like to have at least 1 of my toolbars that are displayed at the bottom of my browser open screen. How can I move a toolbar from the top to the bottom of the page?

    I would like to have at least one of my toolbars that are displayed at the BOTTOM of my browser open screen. How can I move a toolbar from the top to the bottom of the page? I don't want to do this by using an extension, and when I read about the extension, I really have not seen how it would move the toolbar to the top-down any browser page open.
    Thanks in advance for the supply, the answer and the procedure to get this accomplished.

    You can't drag an entire toolbar to the bottom of the window. The Bar of the Addon is a "toolbar", drag whatever you want from the Palette to customize or a toolbar up to the bar of the Addon.

  • How to copy and paste text from the page of the book one photo to another.

    Hello, I downloaded this software 2 days ago, and I had so much fun with it. pls I need help on how to copy and paste text from the page of the book one photo to another. Second, how to copy my photo book completed pages project to another laptop computer for printing. Thank you

    Wow! I solved the first problem, I clicked on 'ctrl c' to copy and "ctrl v" to paste. yipppppeee! now am loving this software d most just need help with the second question now

  • How do you remove Trojan horse from the Windows\system\svchost.exe file located?

    How do you remove Trojan horse from the Windows\system\svchost.exe file located? I worked on this problem for 5 days. I've tried everything except wipe the hard drive completely and starting over. Windows xp pro sp3

    I bought a new diagnosis program and quarantined the virus once it has been identified. I tried to remove the virus in several ways, but it comes back. The best way that I thought would work enter safe mode and by changing the attributes of the svchost.exe file and then delete and checked the registry AWI hwo to the Web site, but it continues to be problematic.

    Hello

    During the uninstallation of antivirus/antispyware/security programs always check for an uninstall
    tool and/or removal instructions special to avoid leftovers.

    List of tools to clean/uninstall anti-malware programs
    http://answers.Microsoft.com/en-us/protect/Forum/protect_start/list-of-anti-malware-program-cleanupuninstall/407bf6da-C05D-4546-8788-0aa4c25a1f91

    Uninstallers (removal tools) for common antivirus software
    http://KB.eset.com/esetkb/index?page=content&ID=SOLN146
    ------------------------------

    Here's what I use and recommend: (these are all free and very effective versions.)

    Avast and Prevx proved extremely reliable and compatible with all I have
    launched on them. Microsoft Security Essentials and Prevx have also proven to be very
    reliable and compatible. Use MSE or Avast and Prevx, Prevx 3 but not all.

    Avast Home free - stop any shields is not necessary except leave the file system, Web,.
    Operational network (Script and behavior are also recommended in Ver 6 +).

    Prevx - Home - free

    Windows Firewall

    Windows Defender (is not necessary if you use MSE)

    Protected IE - mode

    IE 8 - SmartScreen filter WE (IE 7 phishing filter)

    I also IE always start with asset if filter InPrivate IE 8.
    (It may temporarily turn off with the little icon to the left of the + bottom
    right of IE)

    Two versions of Avast are available 6.x and 4.8 x

    Avast - home - free - 6.x stop shields you do not use (except files, Web, network, &)
    Shields of behavior) - double click on the icon in the Notification area - real time Orange - click on the
    Shield that you want to stop - STOP. To stop the Orange icon to show an error indicator-
    Click on the Orange icon - top right - settings - click on the status bar - uncheck shields you
    disabled - click OK
    http://www.avast.com/free-antivirus-download

    Avast 4.8 x - home - free - stop shields, you don't need except leaving Standard, Web,.
    and the network running. (Double-click the blue icon - look OK. - upper left - Shields details
    Finish those you don't use).
    http://www.avast.com/free-antivirus-download#TAB4

    Or use Microsoft Security Essentials - free
    http://www.Microsoft.com/Security_Essentials/

    Prevx works well alongside MSE or Avast

    Prevx - home - free small, fast, exceptional protection CLOUD, working with other security
    programs. It is a single scanner, VERY EFFICIENT, if it finds something come back here
    or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp?prevx=Y<-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Also get Malwarebytes - free - use as scanner only. If you ever think malware and that
    would be unusual with Avast and occasional Prevx running with the exception of a low level cookie
    (not much), to UPDATE and then run it as a scanner. I have a lot of scanners and they
    never find anything of note that I started to use this configuration.
    http://www.Malwarebytes.org/products/malwarebytes_free

    I hope this helps and happy holidays!

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How can I scan multiple pages in the ADF to a pdf file?

    I have wireless scan documents of several double-sided pages, 37 pages generally, using an ADF (automatic document feeder) of my HP Officejet Pro 8600 N911g to my MacBook Pro. The scanner works well except it tries to save files as files separated from 37 and neither she nor the MacBook is running out of memory as it transforms into a huge file, 300 MB or more. How can I get it just from the scanner in a single file? I have the quality to 300 dpi setting.

    Webbo51

    Just thought that I had fill the gap Waterboy, HP support were able to sort all this by reinstalling the software.

    Thanks again for your efforts.

    Steve

  • How can I remove a page from a pdf document?

    How can I remove a page from a pdf document?

    If you have Acrobat and the document has no security restrictions or anything else that could stop him, you would select the following:

    Acrobat 11: Tools > Pages > delete

    Acrobat 9: Document > Delete Pages

  • How can I remove an application from the App Store in the section update application?

    How can I remove an application from the App Store in the section update application?

    You can not delete Apps from the update tab. It's just a list

    The list is just for information purposes. Finally, they are deleted from the list on their own.

  • How to open a new tab from the address line?

    How to open a new tab from the address line?

    You will need to hold down the ALT key and press ENTER to open the link in a new tab without the use of an extension cord.
    By default the links always open in the same tab.

    You can search the Addons site for an extension if you want to change this default behavior.

  • The windows of the bar of Windows are already a form of tabs, so I need them in Firefox. How can I turn off completely from the 23 of Firefox?

    RE: TABS ARE WINDOWS!
    The windows bar already functions as a tab bar. These tabs are called "windows". So, I find windows superfluous Firefox tab. How can I turn off completely from the 23 of Firefox? I don't need to what are essentially the bars of TWO Windows covering the entire width of the image of my screen! I already have a Windows bar at the bottom of my screen, and if I really wanted to, I could change ITS position towards the top of the screen, so that it would LOOK at the windows of Firefox tabs bar. Firefox TABS are, essentially, a SECOND bar Windows superfluous.

    Here are my reasons why I prefer to use Mozilla's Firefox, Microsoft Internet Explorer or Google Chrome. I love and admire Firefox intended to Mozilla on good security for Personas Firefox Add-on and for free use of Firefox in the Add on Ad-Block, which, as you know, has the merit of separate to reduce the size of the screen - the last is my reason for wanting to get rid of "windows" Firefox SUPERFLUOUS tabs bar. I'm terribly sick companies forcing bars (most representative of marketing campaigns, trying to sell me something) in my browser (and in my throat) whenever I download something. (In case you haven't guessed, I have deliberately talking about your bar of Firefox tabs as a '' windows' tabs Firefox bar', because the TABS are WINDOWS!)

    You can also have an addon to open new tabs in a new window.

  • How can I delete a message from the community of apple support

    How can I delete a message from the community of apple support

    You can not

    Why do you want?

Maybe you are looking for