Popup page in jsf

hi all i am new in adf
i have to jsf page i want link or button
when i click in it show the second page in new width and height and dont close the first page and show it like pop up how to do that
thx

Here you go...
1. define a 'dailog:' control flow case in adfc-config (eg: dialog:gotoPreferences)
2. set the following properties of button
a. action -- to the control flow case (eg: dialog:gotoPreferences)
b. useWindow="true"
c. windowHeight -- to the desired height of popup
d. windowWidth -- to the desired width of popup
Let me know if you need more info

Similar Messages

  • Rendering popup windows in JSF form on demand

    Hello,
    i have a form with a RichFaces menu bar at the top and several other UI components , eg. commandButtons. When a <rich:menuItem> or a <a4j:commandButton> component is clicked, a hidden modal popup window appears for user interaction. At the moment, all JSF files associated with the NetBeans project are downloaded to the client machine.
    In order to reduce network traffic for low bandwidth internet connections, i would like to only download the popup window JSF files from the server to the client if the relevant form UI component is clicked.
    Would anyone suggest a possible method to achieve this please?
    Thanks,
    Mark Weatherill.

    you can open a popup page from commandButton like,
    onclick="window.open('http://www.myapp.com/faces/popup.jsp'); return false;"Use the same faces-managed-bean to input data (on popup page and on the main page). Before closing the popup page you can submit its form to update the model. And after closing the popup page you can refresh the main page. Beware that you might have problems with refreshing in https connection (getting "access is denied" exceptions in jscript)

  • How to capture text input value by user in a LOV search popup page?

    I need to capture the input by the user in LOV search page. I added one controller in the LOV region, and the flow is also working, but what I need to hold the search input in the search popup page. Also do you know what is the id of " Search Term" text input? then I can try to hold the value in PFR of the CO.

    Hi Sandeep,
    Yes, as of now I need to populate blank, so I need to modify the SQL, therefore I need to capture the value which is given by the user. I am trying to capture the value through passive criteria, but not able to get the result. I added below code in PFR of lov region controller,
           Dictionary passiveCriteriaItems = pageContext.getLovCriteriaItems();
           String lov = (String)passiveCriteriaItems.get("SwitchLOV");
          if ((lov != null) && !("".equals(lov)))
               throw new OAException(lov, OAException.INFORMATION); 
    SwitchLOV is a lov map I have added in the LOV, and
    Programmatic Query set to true. and
    LOV Region Item is the id for which user searches.
    I am getting null in the "lov" where i have give some value in the search field.
    Is this would be the way?
    I dont understand where is the issue, Please suggest.

  • Unable to return from a column link to popup page in the same window

    Using 3.2
    I have a tabform with a link to a pop-up page (and passing values). It's working fine but when I 'Save' on the pop-up, instead of returning to the originating page, it opens up a new window with the originating page on it. How do I get back to the originating page? I'm sure it's in my branch or button url syntax but can't figure it out. I tried creating a process to 'close window' but still opens up a new window.
    FYI - if I just do the 2nd page as a normal page, all is fine but the users would prefer a popup.
    Thx.
    Sandie

    Use the template 'Popup' for your page.
    Create a After Submit Process and select the option 'Close Window'. Make sure this is the last process (highest sequence number). This will automatically closes the popup window and user will be on the parent page.
    Do not create any branches on the popup page or any target in your Save button.
    If you need to refresh the parent page with the information entered on the popup page, enter the following code, at the end, in the process that does your DML (a process that comes before the Close Window process).
    htp.p('<script>');
    htp.p('window.opener.location.reload(true);');
    htp.p('</script>');
    I have created popups this way and they work, at least in 3.2version. In APEX 4.0, the parent page is not refreshing with the data entered on the popup page, which I'm currently investigating into. If you have a different code to refresh the parent page, please share it with me.
    Edited by: rbheemir on Nov 10, 2010 2:56 PM

  • To close popup page from parent page .

    HI ,
    I want to close the popup page when my parent page is redirected to login page when session gets invalidated.
    with out calling any onload or any kind of functions in popup jsp page.
    In my application when i open a popup page from the main page ,when the session is getting expired parent page is redirected to login ,but still the popup page is in active state.i want it to be closed when the redirect happen for the parent page.
    Please help me in this matter.
    Thanks in advance.

    This is a Javascript question, not a JSP question.
    I'll give only a hint then: get hold of the handle of the popup window so that you can call close() on it.
    If you stucks, please continue at a JS forum. There are ones at webdeveloper.com and dynamicdrive.com. Once again: JSP is completely irrelevant in this question. Just base the problem on the HTML and JS output generated by JSP.

  • How to show result from process in popup page?

    <br>We want to use one popup page for many information in application. So we want to make the following thing.
    <br>We want to execute process and show result in popup page (through hidden parameter-"P2_MESSAGE").
    <br>We also assign title of region on that popup page through "P2_TITLE".
    <br>What I do not know is how to show popup after process-branch problem.
    <br>Process is executed from one button. Button is located on page "28" and popup page is "2"
    <br>Code for javascript should be like:
    <br>
    javascript:popupURL('f?p=&APP_ID.:2:&APP_SESSION.::::P2_TITLE,P2_MESSAGE:'+'status '+','+'&P28_X.')<br>THX

    I have found in one thread:
    <br>
    <br>1) create an application item APP_ONLOAD (of course you can choose your own name)
    <br>2) create an application level before footer computation on APP_ONLOAD to clear the item after the page is generated.
    <br>3) place &APP_ONLOAD. (dot also) in the on load property of the page.
    <br>4) fill the APP_ONLOAD using :APP_ONLOAD := 'onload="your own javascript to call a popup window;"' in the plsql of an after On Submit - After Computations and Validations process (type PL/SQL anonymous block)
    Fill the when button pressed property of the process with the button you want to use to show the popup.
    <br>5) create a branch to branch to the current page (or a other if you wish)
    <br>
    Looks OK but when I create in PL/SQL js with "&" signe, which I use for filling some hidden values in popup page I get error.
    begin
      is_test_ok (1, :P28_X);
      :APP_ONLOAD := 'onload="javascript:popupHeightURL(''f?p=&APP_ID.:2:&APP_SESSION.::::P2_TITLE,P2_MESSAGE:''+''statusu testova''+'','+''&P28_X.'')"';
    end;<br>Should I use ASCII codes for that or what? Any example please!
    <br>THX

  • How to remove "Delegate" option from Reassign Popup page in task details

    Hi
    I'm using SOA 11g and Jdev 11.1.1.3 for the development. I created a Human task and using the Reassign functionality. From the BPM Worklist, When I click the Reassign in the Actions menu, a popup for Reassign task is displayed. In this popup, I have two options -
    1) Reassign (transfer task to another user or group) and
    2) Delegate (allow specfied user to act on my behalf)
    Functionality of option 1 is working fine. But I do not want to show the option 2 in the popup page.
    I tried to find the popup JSPX page and tried to find for any edit options from the BPM Worklist screen, but no luck.
    Can anyone throw some light on how I can achieve this.
    Thanks,
    Udaya Neeliahgari

    Hello,
    create a new permission level. Copy the "Contribute" permission level and call it "Contribute no Delete". Edit the new permission level and untick the "Delete" box in the List Permissions section.
    The next step depends on whether you want this to be site-wide or just for a particular library.
    Go to the Approval Task list and click List Permissions in the List ribbon. 
    Select to break permission inheritance.
    Then select the Sharepoint group that normally has "Contribute" permissions and change the permissions to "Contribute no Delete". To do that, tick the tick box for the group and use the ribbon command to edit permissions for the selection.
    cheers, teylyn

  • Datepicker on custom popup page close the popup page when date is selected

    Hi
    I have created a custom popup page according to the "How-To": Build Custom Popup Pages in Oracle Application Express. http://www.oracle.com/technology/products/database/application_express/howtos/how_to_create_custom_popups.html
    I have changed one of the search fields to a date and use the datepicker.
    When running the custom popup page from a simple form page, and select a date with the datepicker, the custom popup page is closed, and I return to the form page.
    How do I prevent the popup page to be closed, when date is selected ?
    BR Klaus

    Is there a way to control the javascript in the
    standard datepicker.No.
    Why would you want the builtin date picker window to hang around after the user selects a date?

  • Popup page and PREV_PAGE

    Can you set a call to a popup to pass the page number of the calling page to the PREV_PAGE field of the popup page and then set the closing process on the popup page to go back to &PREV_PAGE. instead of a page number? What would be the syntax for such a thing?

    Below is the code I am now using. You will notice that it includes specific pages:
    Calling page calls up p 127, the popup page:
    <input type="button" value="Add Call Administrators" onClick="javascript:window.open('f?p=&APP_ID.:127:&APP_SESSION.:::','Popup2','width=400,height=300')";>
    Popup page closing process, sends back to P36(calling page):
    BEGIN
    -- Redirects the calling (parent page) to the Allocate Site to Run
    --page
    -- then closes this popup window
    htp.p('<body>');
    htp.p('<script type="text/javascript">');
    htp.p('window.opener.location.href="f?p=&APP_ID.:36:&SESSION.";');
    htp.p('window.close(this);');
    htp.p('</script>');
    htp.p('</body>');
    END;
    What I want to do is be able to put something in the calling page code to insert the page number of the calling page into P127_PREV_PAGE, and then to replace 36 with &P127_PREV_PAGE. I just don't know where or how to insert them into the code.
    If I do not have a page number in the closing process, it bounces to the previous page and then bounces to the login page.

  • LocalConnection problem with Popup page

    I have tried a lot to get this thing done but no success.
    What I am trying to do is to send some variables from SwfA to
    SwfB. Both swf's are in seperate domains. In my SwfA, I am using a
    getURL to open SwfB in a pop up window. So now after SwfB is
    completely loaded in the popup page it has to send some variable to
    SwfA.
    This is the code,

    from the flash help files:
    As discussed in the entry LocalConnection.connect(), Flash
    adds the current superdomain to connectionName by default. If you
    are implementing communication between different domains, you need
    to define connectionName in both the sending and receiving
    LocalConnection objects in such a way that Flash does not add the
    current superdomain to connectionName. You can do this in one of
    the following two ways:
    Use an underscore (_) at the beginning of connectionName in
    both the sending and receiving LocalConnection objects. In the SWF
    file containing the receiving object, use
    LocalConnection.allowDomain to specify that connections from any
    domain will be accepted. This implementation lets you store your
    sending and receiving SWF files in any domain.
    Include the superdomain in connectionName in the sending
    LocalConnection object--for example, myDomain.com:myConnectionName.
    In the receiving object, use LocalConnection.allowDomain to specify
    that connections from the specified superdomain will be accepted
    (in this case, myDomain.com) or that connections from any domain
    will be accepted.
    Note: You cannot specify a superdomain in connectionName in
    the receiving LocalConnection object--you can only do this in the
    sending LocalConnection object.

  • How to default value from popup page to main page.

    Hi,
    Requirement:
    I have a create page with table region of 10 lines.I have an icon for every line and on click of this icon, a popup window will be opened.
    In the popup window i have quantity field with a table region. User is allowed to select the quantity. Also i have a ADD button on the popup page.
    Now On selecting the quantity and click on add button, the quantity should be added and the sum quantity should be defaulted to quantity field in the main page.
    For this requirement what i have done is
    I have added the quantity on click of the Add button.and the total quantity i set to the quantity attribute that has been attached to main page.
    But the quantity didnt get reflect to the main page. i think the focus is not retured o main page.
    Please suggest me how can i do this requirement.
    Thanks in Advance,
    Thanks,
    Mallika
    Edited by: user12216727 on Nov 21, 2009 4:29 AM

    Hi,
    As per my analysis for the issue, the control is returning to processRequest of the controller and when i set the attribute value, the value is being set and I am able to get the value and print it.
    But the value is not displayed on the page.Here I am using Advanced Table Region, and I am not able to shoe the value.
    I also created one view attribute and tried to set the readonly property to TRUE for the same field. I did in the same way, the value is being set and the field is made readonly.
    The problem is I am not able to show value to the user, even the value is present in the view attribute.
    Any pointers to this are really helpful.
    Thanks,
    --Mallika                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to create a popup-page?

    I have inserted the following in the side attributes:
    HTML-Header:
    <script language="JavaScript" type="text/javascript">
    function popup()
    NF=window.open("f?p=&APP_ID.:202:&APP_SESSION.","Angebot drucken","Scrollbars=1,resizable=0,width=800,height=600");
    NF.focus; }
    </script>
    HTML-Body:
    onLoad="popup()"
    Actually the popup-page is constantly reloading, but I do not understand why. Can someone help me and post a working popup-script?

    function popUp2 is defined in functions.js (standard HTML-DB File) as
    // generic URL popup
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=600');");
    function popUp2(URL,width,height) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width='+width+',height='+height);");
    regards
    Axel

  • When opening Firefox, I also get a popup page thanking me for installing AOL Toolbar.

    Frequently, when opening Firefox 7.0.1 I get a popup page over the home page. The popup page is a Thank You for installing AOL Toolbar. I do not have the toolbar, though I might have in the past. I do not like AOL and want to stop the popup page but have not been able to. I do use Winamp's Toolbar and this could be the source of the problem. If Winamp Toolbar is the problem, I will uninstall it if there is no way to turn off the popup from there. Please assist.

    There is some anecdotal evidence that the scripts on the Apple site that are supposed to detect the version of Windows you are running may fail for some users - jumping straight to the "Thank you for downloading ..." page with the installer not having been downloaded.  As an alternative, you can go directly to the relevant downloads:
    iTunes 12.1.0.71 for Windows (32-bit) - itunessetup.exe
    iTunes 12.1.0.71 for Windows (64-bit) - itunes6464setup.exe
    There is an alternative downloader for 64-bit editions of Windows here: 
    iTunes 12.1 for Windows (64-bit — for older video cards)
    that seems to address many of the playback issues that some users have been reporting with the full 64-bit version (the alternative installer here is the same architecture as most previous "64-bit" versions of iTunes, i.e., a 32-bit application with a 64-bit installer).  The "for older video cards" reference does not seem to fully define the scope of systems for which this alternative works better.
    See turingtest2's notes on Troubleshooting issues with iTunes for Windows updates for more details if you're still having problems with installation.  This also includes links to the iTunes 12.0 installers if the issues reported with 12.1 suggest it safer to use the previous version.

  • How to Develop Static page using JSF/Creator

    Hi,
    I am a newbie trying to understand how one develops static pages in JSF. I fear I am going to require a hybrid development environment; that is, I will need two IDE's. For example, Dreamweaver AND Creator.
    I'd like to just use one as it is more convenient, and the static pages will be configured as necessary as fully integrated pages. But I'm not sure how to use JSF/Creator to develop "plain vanilla" HTML/JSP pages.
    I appreciate any feedback and "education". :-)
    Sam

    I dont use it much, but im pretty sure there is a tabbed pane allowing you to swith between a HTML/JSF code view and a visual view, a little like dreamweaver. I currently hand code my JSF pages in a standard IDE, its not too tricky once you understand the tags, and it gives you flexible control which I like. Maybe this approach will work for you

  • How binding a html page with JSF

    Hi.. I have 2 page html but a need that since my html page load a page JSF... I try but if I only reference the page jsf since my html page occurs a contex error.
    thank

    ok.. i have a html page that references to a jsp page like ='<a href="agregarAlumno.jsp"></a> agregarAlumno.jsp is a page designed in sun java studio creator and the html page is made of in dreamweaver.. In my proyect I added the html page and since the page html is the reference for the page agregarAlumno.jsf. When I do click in the hiperlink since the html page for retrieve the page agregarAlumno.jsf ocurrs a error like context error when i try to call the jsp page...
    Please help me.
    Thank for all

Maybe you are looking for

  • Can I add a CD directly to iCloud without storing on my computer?

    I am a current iTunes Match and iCloud subscriber.  Match has successfully identified the music on my computer hard drive, however, I have several dozen additional CDs that I would like to add to iTunes Match / iCloud but I don't necessarily want all

  • How do I extend (i.e. add more points to the end of) a Bezier path?

    What's the easiest way of making a Bezier path longer by adding more points to the end? I can do it by moving the end point to where I want the new end to be using the Direct Select tool, then using the Add Point tool to replace the old end point and

  • Failed to convert between UTF8 and UCS2: failUTF8Conv

    This error appear when trying to install the database cache. Does this have something to do with the classes111.zip or classes12.zip files?

  • Can not find oracle.adfinternal.view.faces.activedata.AdsServlet

    when I use Jdeveloper to deploy application to remote weblogic server, Jdeveloper will report the following error. How to solve this issue, any help will be appreciated greatly! 6:17:29 PM] Weblogic Server Exception: weblogic.application.ModuleExcept

  • Virtual PC won't install on 10.4.6

    I have Virtual PC version 7 and it is impossible to install on my Mac. I am running 10.4.6. The installation seems to work initially, but requires a reboot, and then it is a hopeless situation. When I restart to finish the installation I get a slew o