Recognize page as popup???Intresting

hi all,
I am opening a JSF page developed in ADF. The page can be opened as Normal page as well as popup.....
I need to find out whether the page is opened as popup or main page from backing code and not the html code...
requirement is ambiguous but is required.....
please help....

hi all,
I am opening a JSF page developed in ADF. The page can be opened as Normal page as well as popup.....
I need to find out whether the page is opened as popup or main page from backing code and not the html code...
requirement is ambiguous but is required.....
please help....

Similar Messages

  • In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF pa

    In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF page.It should stays in OAF page or goto another OAF page. and in other browser such ad IE,We get the right response.

    hello, normally such issues are caused by a firewall/security software which doesn't recognize & therefore blocks new firefox versions. please remove all program rules for firefox from your firewall and let it detect the new version of the browser again.
    [[Fix problems connecting to websites after updating Firefox]]

  • Nice Page Expired Popup is not showing up

    Hello,
    I am using JDev 11.1.1.4 and created a new ADF Fusion Application.
    Then I adjusted the web.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"
             xmlns="http://java.sun.com/xml/ns/javaee">
      <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
      </context-param>
      <context-param>
        <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_TIMEOUT</param-name>
        <param-value>120</param-value>
      </context-param>
      <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>false</param-value>
      </context-param>
      <context-param>
        <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
        <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
        <param-value>false</param-value>
      </context-param>
      <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
      </filter>
      <filter>
        <filter-name>ServletADFFilter</filter-name>
        <filter-class>oracle.adf.share.http.ServletADFFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>ServletADFFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>MapProxyServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>GatewayServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/afr/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <url-pattern>/servlet/GraphServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <url-pattern>/servlet/GaugeServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>MapProxyServlet</servlet-name>
        <url-pattern>/mapproxy/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/bi/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>GatewayServlet</servlet-name>
        <url-pattern>/flashbridge/*</url-pattern>
      </servlet-mapping>
      <session-config>
        <session-timeout>3</session-timeout>
      </session-config>
      <mime-mapping>
        <extension>swf</extension>
        <mime-type>application/x-shockwave-flash</mime-type>
      </mime-mapping>
    </web-app>I changed this
    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
      </context-param>
      <context-param>
        <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_TIMEOUT</param-name>
        <param-value>120</param-value>
      </context-param>
      <session-config>
        <session-timeout>3</session-timeout>
      </session-config>My problem is that the "Expiration Warning" and "Page expired" popups are not appearing. The session is timing out after 3 minutes.
    Here you can find the popups I am looking for http://codeplay.net/2011/05/20/adf-session-expire-warning-and-prevent-links-browser-context-menu-in-web-xml/
    Does anyone has an idea what with my web.xml might be wrong.
    Again, I didn't do any other changes to the application.
    Greetings
    Tobias

    Is this feature will work only with jdev 11.1.1.4.0?
    i am using jdev 11.1.1.3.0 i did the same way but i am not getting popup.
    This is a new feature that is available in jdev 11.1.1.4.0 and is NOT available in jdev 11.1.1.3.0.
    For details check this:
    https://blogs.oracle.com/jdevotnharvest/entry/how-to_enable_user_session_time_out_warning_jdev_11114
    Thanks,
    Navaneeth

  • Passing data from calling page to popup window

    Hi All,
    We are developing a BSP application for business card.I need to provide a preview button .
    when the user clicks this button a
    poopup window should open with the preview of business card.
    My problem is how to pass the values like name , designation etc from the main page to popup window.
    The code for previre image:
    <h t m l b : i m a g e   s r c = " s _ b _ d e  tl . g i f  " a l t = " P r e v i e w   C a r d "  o n C l i c k="addr" on C l i e n t C l i c k = " c a l l W i n d o w ( ) ; "/>
    <s c r i p  t t y p e = " t e x t / j a v a s c r i p t ">
    f u n c t i o n  c a l l W i n d o w ()
    w i n d o w .o p e n ( " p r e v i e w . h t m " ) ;
    </s c r i p t >
    preview.htm is a simple HTML page . i need to pass values from main page to this page.
    OR
    Is it possibel to restrict the size of a VIEW to use it as a popup window?
    OR
    is there any other way to achieve this like.. the <bsp:call comp_id=" " />
    tag , but i have no idea how to use it.
    Thanks,
    Anubhav.
    Edited by: Anubhav Jain on Sep 12, 2008 3:38 PM

    Hi Raja,
    I did as suggested by you...but it is behaving strangely.
    It works fine in debuging mode but when executed directly ....it is not working.
    the scenario is:
    Thers an image for preview as follows:
    <htmlb:gridLayoutCell columnIndex="3" rowIndex="13">
    <htmlb:i m a g e   s r c = " s _ b _ d e t l . g i f "   a l t = " P r e v i e w   C a r d "   o n C l i c k = " a d d r "   o n C l i e n t C l i c k = " c a l l W i n d o w ( ) ; " /  >
    </htmlb:gridLayoutCell>
    The JS code is:
    f u n c t i o n   c a l l W i n d o w ( )
    <%
    data: title(5),
             fname(20),
             lname(20),
             comp(20),
             addr(20),
             city(20),
             state(20),
             pcode(20),
             country(20),
             phone(20),
             fax(20),
             email(241).
             alt_addr-title = request->get_form_field( 'title' ) .
             alt_addr-firstname = request->get_form_field( 'fname' ) .
             alt_addr-lastname = request->get_form_field( 'lname' ) .
             company = request->get_form_field( 'comp' ) .
             alt_addr-street = request->get_form_field( 'addr' ) .
             alt_addr-city = request->get_form_field( 'city' ) .
             alt_addr-region = request->get_form_field( 'state' ) .
             alt_addr-inhouse_ml = request->get_form_field( 'pcode' ) .
             alt_addr-country = request->get_form_field( 'country' ) .
             alt_addr-tel1_numbr = request->get_form_field( 'phone' ) .
             alt_addr-fax_number = request->get_form_field( 'fax' ) .
             alt_addr-e_mail = request->get_form_field( 'email' ) .
    CALL METHOD cl_bsp_server_side_cookie=>set_server_cookie
              EXPORTING
                name                  = 'FORMFIELDS'
                application_name      = runtime->application_name
                application_namespace = runtime->application_namespace
                username              = sy-uname
                session_id            = runtime->session_id
                data_value            = alt_addr
                data_name             = 'alt_addr'
                expiry_date_rel       = 1.
    %>
    w i n d o w . o p e n ( " . . / z _ b i z c a r d / p r e v i e w . h t m " ,   " W i n E " ,   " w i d t h = 2 4 0 , h e i g h t = 3 0 0 , t o o l b a r = n o , r e s i z a b l e = no ")
    I was doing something similar...created a controller and a view , was calling the controller from window.open method with all other parameters for sizing etc.
    How to pass a structure conatining data,from controller to the view...
    Now in the onCreate event of the page PREVIEW.HTM in using;
    CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
      EXPORTING
        name                  = 'FORMFIELDS'
        application_name      = runtime->application_name
        application_namespace = runtime->application_namespace
        username              = sy-uname
        session_id            = runtime->session_id
        data_name             = 'alt_addr'
      CHANGING
        data_value            = alt_addr.
    and in the layout of PREVIEW.HTM in am using this alt-addr:
    But if put a break point at the onCreate event of preview.htm and the execute i get the values in alt_addr but if i execute directly...it is empty in the layout?
    What is the problem?
    Thanks,
    Anubhav.

  • Want to open printer friendly page as popup

    Hello,
    how can I open a printer friendly page as a popup page??
    There is only one possibility to say either the page is printer friendly or the page is popup. But not both!
    Any ideas?
    I want to open the page with a button. sth like "print page"
    Thank you...

    Hi,
    you could open a printer friendly page with a button with a property onClick="window.open('f?p=&APP_ID.:pageno:&APP_SESSION.','pf','');"
    DickDral

  • When I refresh a page, a popup comes asking my confirmation because firefox will need repeat an action, so is there any way I can disable this?

    Every time I refresh a page, a popup:
    "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier."
    ...appears.
    Is there any way I can disable this popup?
    Thanks for the help :)

    Thanks for the help everyone but I have tried safe mode, disabling addons, etc, it does not fix the problem..
    Is there any way to disable this popup in the about:config?

  • Can you open a second jsp page as popup/new window?

    Hi all gurus!
    I have a question regarding popups/new windows in an iview application. Instead of starting with a question let me instead describe what I want to do.
    We have a jsp page that presents a search and then the search result in a table where one column is "clickable". When the user clicks a cell a server round trip retreives data specific for that cell value. This is standard functionality and already fixed so here is what differes: we want a new jsp window to open like a popup, with the data retreived from the server round trip and at the same time the first page with the table shall still be there so that you just can close the popup and click the next cell which creates a new server round trip and a new jsp popup and so on.
    My solution which doesn't work yet: In application "a" I have a JavaScript for the clicked cell which opens another iview application "b" in a new window, by window.open("navurl_to_the_iview"), and that works fine.
    At the same time the value of the clicked cell is written to the data bean and the bean is put in the http session (since component session does not reach between applications).
    The second iview "b" retreives the bean from the http session and fills the jsp page with data.
    Here is now the problem: no data is displayed and this because the iview "b" retreives the bean BEFORE iview "a" has been able to put the bean/value into the http session. How do I know this for sure? Simple, if I do a refresh of iview "b" the value is displayed.
    I could do a JavaScript that recursively checks if the value in the bean is null or not but then I have to do a method that retreives the bean from the http session each time.
    This could work but I wonder if this is the most simple solution. So my question for you gents and madams is: do you know of a more simple solution?
    Best regards
    Benny Lange
    Edited by: Benny Lange on Oct 6, 2009 11:33 AM

    Hi you all.
    In this case the solution was to pass the id in the url to the second iview and let that iview use the id to retreive data from the backend system.
    But I still think the question is interesting, if it's possible to open a second jsp window after a server round trip and still have the first one open.
    All the best
    Benny

  • MBP Pro doesn't recognize Pages docs from iPad, vice versa

    Beacuse I'd like to be able to experience the wonderful seamlessness of the new cloud with Mountain Lion, I downloaded Mountain Lion onto my MacBook Pro, as well as the Pages app (I previously had Pages '09), in addition to downloaded the Pages app for iOS (iPad 2 and iPhone 4S).
    I thought that in theory, I could start a document on the iPad/Phone and it woudl appear on the MBP, as well, as vice versa. That has not happened. Specifically, I was taking notes last week on the iPad and when it didn't pop up on my MBP or the Cloud on the MBP, i email the document as Pages document to myslef and thought I could just open it on the MBP then and it'd appear as a new Pages doc there. Well, when i downloaded the Pages doc from the iPad onto the MBP, I got a message saying The open XML file could not be opened because there are problemns with it, and The file is corrupt and cannot be opened. How can it be corrupt? I just created it a few days ago on the iPad? Also, when i follow prompts to open the document, the message box is a Word one? Why is Word then stepping in to try to open it? Shouldn't an Apple app on one machine recognize a document made on an Apple app on another device? I should point out this has happened everytime I've tried to share documents on my mac devices via Pages.
    Also, kind of related, when i go to the options of what to do with the file on the iPad, i get the option to use iwork -- but of course there is no iWork anymore. So why hasn't this option beeen updated? Why not just a 'save to cloud' option? And what's this 'send to itunes' option? I selected that for one document and of course that didn't work, either.
    Thanks so much.

    You do need to turn on iCloud syncing on the iOS devices as it is not on by default. Go to Settings & scroll way down to the apps area & tap on Pages & turn iCloud syncing on. The same applies to your Macs, go to System Preferences > iCloud & check Documents & Data. Of course, you must have a iCloud account.

  • Need to Open Another jspx page as popup from template

    Hi everyone,
    I have one more question about popups and template. I'm working on JDev 11gU2 ADFRC
    I have one template for my all pages, and there is a link on my template to show user information. for that i need to fetch the info of logged in user from database. so i must have to make a page definition of my user info page.
    But problem is when i click the info link from my template to open user info page. it is not opening and giving page refresh error.
    actually in my template the page source is -
    <f:subview id="userInfo">
                <jsp:include page="/popUps/UserInfo.jspx"/>
    </f:subview>
    <af:commandNavigationItem text="UserInfo"
                                                  immediate="true">
    <af:showPopupBehavior popupId="::userInfo:popup1"
                                                triggerType="action"/>
    </af:commandNavigationItem>and in My Account Info page source is -
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_popUps_AccountDetailsPopUp-->
      <af:popup binding="#{backing_popUps_AccountDetailsPopUp.popup1}"
                      id="popup1">
              <af:dialog title="Account Detail" type="none"
                         inlineStyle="margin:0.5px,0,0,0.5px;"
                         closeIconVisible="#{!backing_popUps_AccountDetailsPopUp.editMode}"
                         partialTriggers="panelBox1 panelBox2 panelBox3"
                         binding="#{backing_popUps_AccountDetailsPopUp.dialog1}"
                         id="dialog1">
                <af:decorativeBox topHeight="25px"
                                  inlineStyle="margin:0.5px; height:460px;"
                                  theme="dark"
                                  binding="#{backing_popUps_AccountDetailsPopUp.decorativeBox1}"
                                  id="decorativeBox1">
                  <f:facet name="center">
                    <af:panelStretchLayout startWidth="5px" endWidth="0px"
                                           topHeight="0px" bottomHeight="0px"
                                           binding="#{backing_popUps_AccountDetailsPopUp.panelStretchLayout1}"
                                           id="panelStretchLayout1">
                      <f:facet name="center">
                        <af:decorativeBox theme="light"
                                          inlineStyle="height:430px; width:482px;"
                                          binding="#{backing_popUps_AccountDetailsPopUp.decorativeBox2}"
                                          id="decorativeBox2">
                          <f:facet name="center">
                            <af:panelGroupLayout xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                                 inlineStyle="padding:1%;"
                                                 partialTriggers="commandLink1 commandLink2 commandLink3 commandLink4 commandLink5 commandLink6 commandLink8 commandLink9 commandLink10"
                                                 binding="#{backing_popUps_AccountDetailsPopUp.panelGroupLayout1}"
                                                 id="panelGroupLayout1">
                              <af:panelBox text="Employee Information"
                                           partialTriggers="commandLink1 commandLink2 commandLink3"
                                           binding="#{backing_popUps_AccountDetailsPopUp.panelBox1}"
                                           binding="#{backing_popUps_AccountDetailsPopUp.spacer2}"
                                           id="spacer2"/>
                              </f:facet>
                            </af:panelGroupLayout>
                          </f:facet>
                        </af:decorativeBox>
                      </f:facet>
                      <f:facet name="start">
                        <af:spacer width="10" height="10"
                                   binding="#{backing_popUps_AccountDetailsPopUp.spacer3}"
                                   id="spacer3"/>
                      </f:facet>
                    </af:panelStretchLayout>
                  </f:facet>
                  <f:facet name="top">
                    <af:panelGroupLayout binding="#{backing_popUps_AccountDetailsPopUp.panelGroupLayout8}"
                                         id="panelGroupLayout8">
                      <af:outputText value="Account Detail : 900101"
                                     inlineStyle="font-weight:bold; font-size:14px;"
                                     binding="#{backing_popUps_AccountDetailsPopUp.outputText10}"
                                     id="outputText10"/>
                    </af:panelGroupLayout>
                  </f:facet>
                </af:decorativeBox>
                <f:facet name="buttonBar">
                  <af:commandLink text="Close"
                                  inlineStyle="font-weight:bold; color:Blue;"
                                  disabled="#{backing_popUps_AccountDetailsPopUp.editMode}"
                                  partialTriggers="panelBox1 panelBox2 panelBox3"
                                  shortDesc="#{backing_popUps_AccountDetailsPopUp.editMode ? 'Can not close in edit mode...' : 'Close Window'}"
                                  binding="#{backing_popUps_AccountDetailsPopUp.commandLink11}"
                                  id="commandLink11">
                    <af:resetActionListener/>
                  </af:commandLink>
                </f:facet>
              </af:dialog>
            </af:popup>
    </jsp:root>Actually i need to open a page globally and i can't put this link to each page. so that i put this on Template.
    I made a popup page too to log out from application in the same way, it is working file, but the difference is that page does not have any page def.
    But account info page has.
    I want to use it without adding dialog: in ADF-CONFIG.xml page
    Any help to solve this?
    Thanks
    Fizzz...

    hey guys,
    I have 2 pages test1 and test2(.jspx).In test2 page I have defined an popup and i want that in that pop-up test1.jspx should get loaded.
    Can any body help me on this.???Will really appreciate this..............

  • When ever link any link on a web page many popups are opening. I don't get popups or adds when I use chrome or IE. Really frustrated with Firefox.

    Fire fox current version very frustrating and allows losts of ads and popups. When ever I click on any link from a web page ( any web page) i get a pop ups from ads like jabong, etc. I use the url of the same web page in chrome or IE I do not get such popups. It also crashes often.
    The only way to get rid of this is to get use to Chrome or some other browser.

    vksh89, What Extensions do you have installed as there are a few that can insert ad links on pages for example.
    Also if Firefox is your default browser something on computer may be targeting it.

  • How to call another page from popup

    Hi ,
    I have a small requirement as follows
    1. in adfc-config i have two pages p1 and p2.
    2. pi has one popup, popup contains one button cb1.
    3. on click of cb1 i need to call page p2.
    let me know, what is the best way of doing it.
    Regards
    Akshay

    create a control navigation flow from page 1 to page 2.
    Name it like 'goTopage2'
    provide the outcome for the comandbutton action property as
    <af:commandButton action="'goTopage2'" />

  • Page Template Popup with Dynamic Region TaskFlow

    Hi.
    I have a Page Template that is used extensively in my application to provide a consistent explorer panel containing tree links to various pages in the application. I'm trying now to enable users to edit configuration via a tree link. I would like to implement this as a Popup in the page template which contains a dynamic region that contains a bounded Task FLow (so I can control the transaction for the edit activity). I'm running into all manner of issues...
    The Tree node is defined as follows:
    <f:facet name="cognition_model_view.viewRepListVO">
           <af:group id="pt_g4">
              <af:commandImageLink id="pt_ot15" text="#{node.Viewname}"
                                                action="callRouter"
                                                actionListener="#{backingBeanScope.templateBacking.viewsGoActionListener}"
                                                icon="/pics/folder-icon.png"
                                                shortDesc="View: #{node.Viewdesc} | Filter: #{node.Filtername}"
                                                partialSubmit="true"/>
              <af:commandImageLink id="pt_ot16"
                                                icon="/pics/edit1.png"
                                                shortDesc="Edit View Config"
                                                partialSubmit="true">
                     <af:setPropertyListener from="#{node.Appname}"
                                                       to="#{backingBeanScope.templateBacking.editViewAppName}"
                                                       type="action"/>
                     <af:setPropertyListener from="#{node.Viewname}"
                                                       to="#{backingBeanScope.templateBacking.editViewName}"
                                                       type="action"/>
                     <af:setPropertyListener to="#{backingBeanScope.templateBacking.editViewType}"
                                                       from="#{node.Sourceview}"
                                                       type="action"/>
                     <af:showPopupBehavior popupId="::pt_p_edView"
                                                       triggerType="click"/>
              </af:commandImageLink>
            </af:group>
    </f:facet>The property listeners are to hold values that will be passed as parameters to the region's task flow.
    The Popup is defined here:
    <af:popup id="pt_p_edView" contentDelivery="lazyUncached"
                  popupCanceledListener="#{backingBeanScope.editPopupTFHandler.cancelPopup}"
                  popupFetchListener="#{backingBeanScope.editPopupTFHandler.showPopup}"
                  binding="#{backingBeanScope.editPopupTFHandler.editPopup}">
            <af:panelWindow id="pt_pw1"
                            title="#{backingBeanScope.templateBacking.editViewName} - Edit View Configuration"
                            contentHeight="250" contentWidth="500" stretchChildren="first" modal="true">
                <af:region value="#{bindings.dynamicRegion1.regionModel}" id="pt_r1"/>
            </af:panelWindow>
        </af:popup>The taskflow binding for the template is as follows:
        <taskFlow id="dynamicRegion1" taskFlowId="${backingBeanScope.editPopupTFHandler.dynamicTaskFlowId}" xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="inputApplicationName" value="#{backingBeanScope.templateBacking.editViewAppName}"/>
            <parameter id="inputViewType" value="#{backingBeanScope.templateBacking.editViewType}"/>
            <parameter id="inputViewName" value="#{backingBeanScope.templateBacking.editViewName}"/>
          </parameters>
        </taskFlow>The managed bean to hold the dynamic taskflowId (editPopupTFHandler) is referenced in the adfc-config.xml file at "backingBean" scope, and looks like this:
    public class editPopupTFHandler {
        private String taskFlowId = "/WEB-INF/editViews/editViewsTF.xml#editViewsTF";
        private String emptyTaskFlowId = "";
        private String currentTaskFlowId = taskFlowId;
        private RichPopup editPopup;
        public editViewPopupTFHandler() {
        public String getDynamicTaskFlowId() {
            return currentTaskFlowId;
        public void cancelPopup(PopupCanceledEvent pce) {
            currentTaskFlowId = emptyTaskFlowId;
        public void showPopup (PopupFetchEvent popupFetchEvent) {
               currentTaskFlowId = taskFlowId;
        public void setEditPopup(RichPopup editPopup) {
            this.editPopup = editPopup;
        public RichPopup getEditPopup() {
            return editPopup;
    }If I don't define the bean at backingBean scope, I get a Target Unreachable error from any page using the template.
    When I attempt to use the link to the popup, the popup displays but the region content does not. Is this a scoping issue?
    Additionally, after pressing combinations of the 2 commandimagelink components, the first link stops submitting... this may be a side-effect of the region display though?
    Again, as I'm quite new to ADF I don't know how to overcome or avoid these issues, or whether there is a better method to achieve an edit capability in a popup window from a page template.
    Thanks for your help. I'm using JDeveloper 11.1.2.1.0 by the way.

    Hello again. I've managed to get the dynamic region displaying once I restarted JDeveloper and re-created the Region and backingBean. This has happened before - is JDeveloper known to get "confused" (like me!) in this way?
    There are still issues though. The backingBean contains a PopupCanceledListener as follows:
        public void cancelPopup(PopupCanceledEvent pce) {
            System.out.println("CANCEL POPUP - Current Task FLow now empty");
            currentTaskFlowId = emptyTaskFlowId;  // where emptyTaskFlowId = ""
            System.out.println("CANCEL currentTaskFlowId = " + currentTaskFlowId);
        }Simple enough, but the dynamicTaskFlowId is not holding its cleared value. Subsequent call to the getter shows a non-null value...?
    The Popup has the ContentDelivery="lazyUncached" and ChildCreation="deferred". The TaskFlow Binding has Refresh="default" and activation="deferred". With these property values the Popup is displays the correct value on its first use but then keeps that same value on any subsequent selection. I don't know whether this is because of the TaskFlow not correctly resetting or something else...
    Can anyone help me please. This is beyond frustrating. The behaviour of these various property settings is not at all predictable for me... Thanks.

  • Open page in popup window using javascript:popupURL

    Hi, call a page in a popup window works fine using javascript:popupURL, but my question is
    Is it possible to specify height, width, pos x and y for the popup window?
    Thx in advance,

    Derlis,
    sure, but I guess you will have to write your own javascript function to do so:
    <script type="text/javascript">
    function myPopupURL(url)
      w = open(url,"winLov","Scrollbars=1,left=0,top=0,resizable=1,left=0,top=0,width=500,height=200");
      if (w.opener == null) w.opener = self;
      w.focus();
    </script>
    &lt;A href=&quot;javascript:myPopupURL('http://otn.oracle.com')&quot;&gt;OTN&lt;/A&gt;Best you put the javascript into the page header or page template header.
    You could even pass the parameters with each call to the javascript function as parameters.
    ~Dietmar.

  • Goto Detail Page to PopUp Window

    I have a page with a repeat region in ASP VBScript. I want to use a Goto Detail Page but to open a PopUp Window with Javascript. This doesn't work for me, as it always goes to the first record:
    <script>
    function opencalinterval(){
    var popurl="/en/calcenter/equipment/edit_calinterval.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "id=" & rsAssets.Fields.Item("id").Value %>"
    winpops=window.open(popurl,"","width=600,height=500,scrollbars,")
    </script>
    It works if I use it on a regular hyperlink like this:
    <a href="/en/calcenter/equipment/edit_calinterval.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "id=" & rsAssets.Fields.Item("id").Value %>">change</a>

    I'm not sure to understand...can you give me an example or give me a link?
    Thank you!

  • Calling jspx page from popup

    Hi All,
    I am using jdev 11.1.1.5.0. I have create one page i.e Emp.jspx from which i have popup in which i m calling jspx page.
    Can any one help me out from this.
    Thanks in advance
    ruzz

    Hi:
    You can use the popup dialog framework. Put page#1(p1.jspx) in adfc-config and pade#2(p2.jspx) in a bounded taskflow(btf1). Drag btf1 to adfc-config.xml as a taskflow call(tfc1) and set it's runAsDialog property to true under Behavior section. Create a navigation case in adfc-config.xml from p1 to tfc1 and name it. Select the button action to the navigation case yuo've created earlier and fix it's properties to invoke navigation in a popup(Under Behavior -> Secondary Window section change useWindow property to true; using the rest of the properties under Secondary Window section to modify the popup).
    Find more info under chapter "Using Dialogs in Your Application", Fusion Developer Guide for Oracle ADF.
    Consider this example from Andrejus Baranovskis Blog to fix other issues.
    Better approach is to use page fragments and bounded taskflows with page fragments within a region, nevertheless for a jspx page you also could use a popup component in the page containing an inline frame.
    Good luck.
    Rafael.

Maybe you are looking for

  • Scheduling Agreement - Pr. Date Cat.

    Hi, What exactly is the use of Pr. Date Cat. (specifically: 5 - GR Date) in the Conditions portion in Additional Data when creating Scheduling Agreement (ME33L)? Does it really have any effect on the valuation of the material during Goods Receipt? As

  • BAPI or FM for Outbound delivery

    Dear Experts, We are in SAP 4.6C  and facing problem in creating outbound delivery against Sales Order, requirement is 1. Create Outbound delivery against Sales Order where we need to change quantities and batches against Sales Order line items e.g.

  • In ipad photo collection, some pictures are under year 2036. Is there a way to change the year?

    In ipad photo collection, some pictures are under year 2036. Is there a way to change the year or move the pictures?

  • ACS 4.2.0 AAA-server-IP-address changing to 169.254.x.x

    Hello, I have ACS 4.2.0.124.15   installed on a windows server 2008. In the configuration menu : network config > AAA server , the AAA-server-IP-address change to 169.254.x.x each time I disconnect the  ethernet interface of the server. Allthough, th

  • Copying maps from dev to prod

    owb version 9.2.0.2.8 oracle version 9.2.0.5.0 SunOS 5.9 I am working on a "move to production" process which will accomodate a major release as well as minor enhancements/bug fixes. I have one project and two modules - development and production. I