Base page navigate to other OA page on event pop-up

Hi,
i should open a pop-up window on an event in OA page. where popup have 'Yes' 'No' button if it is yes then the base page should navigate to other page if 'No' then it remain in same page and popup window should exit and focus should be on the base page
can any help me

Hi,
i have tried the below code in PFR on the button click its not showing up the Popup. i have same AM as of Base page. in the popu window i have attached JS code for the buttons.is this that problem ? can any help me
where i am worng
OAButtonBean b = (OAButtonBean)webBean.findChildRecursive("HGridBtn");
String page = "/xxx/oracle/apps/xxdd/tutorial5/webui/PopupPG";
String destURL =
APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP + "?" +
OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT + "=" + page +
"&retainAM=Y";
OABoundValueEmbedURL jsBound =
new OABoundValueEmbedURL(b, "openWindow(self, '", destURL,
"' , 'longTipWin', {width:" + 250 +
", height:" + 250 +
"}, true); return false;");
b.setAttributeValue(oracle.cabo.ui.UIConstants.ON_CLICK_ATTR, jsBound);

Similar Messages

  • The LOV modal window could not return value to the base page

    when practicing the "create1" task in tutorial, met an issue.
    when create an employee, manageName is a messageLovInput and managerID is a messageTextInput.
    The issue is the LOV modal window could not return value to the mangerName, but can return to managerID .
    If I remove the data boud porperties of the managerName (the bc4j porperties of view name-EmpFullVO and view attribute-MgrName), the lov works fine.
    What is the reason?

    James I would suggest to read the LOV topic in OAF developers' guide. Lov mappings are responsible for bringing pop up values to base page in LOV.
    --Mukul                                                                                                                                                                                                                                                                                                                                                   

  • LOV selection fails when there are validation errors on the base page

    Hi
    I have lovs and some other required fields on a page . If there are any validation error on one of those text fields and if I open the LOV (not related to the text fields) and tries to select
    an item from the LOV search results, it doesn't do it until unless I go back to the base page and correct all the validation errors on the text fields eventhough those text fields have nothing to do with the LOV.
    Any suggestion is appreciated.
    Thanks
    Anwar

    I am on Anwar's team, and I've been dealing with the same problem, although on a different page.
    The JSPX for a contrived example is below. I can provide backing bean code, if needed.
    The form contains two LOVs. Both fields are required. If you leave both fields blank and click Continue, you get a red box around both fields and error messages are displayed. If you then click the magnifying glass to select from the first LOV, the LOV pop-up is rendered. However, you cannot make a selection, either by double-clicking a line item or by clicking OK (the OK button has no effect). All you can do is cancel.
    Interestingly, the act of clicking the magnifying glass on the first LOV gets rid of the red box around that field. So, once you cancel out, the second LOV actually does work. If there were more than two fields on the page, that wouldn't happen. The problem seems to be that the LOV doesn't work unless there are no validation errors on the page other than for the LOV which is being invoked.
    As you can see, immediate="true" is set on both LOVs. The behavior is the same whether this is true or not.
    I'm left thinking there must be something obvious that we're missing... but none of us can see it.
    Thanks,
    KEN
    <?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:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document title="Add Item">
          <af:form>
            <af:panelGroupLayout>
                <af:panelHeader text="Header">
                    <af:panelFormLayout>
                        <af:inputListOfValues label="Id" searchDesc="Search" popupTitle="Supplier Id"
                                              simple="true" required="true" id="supplierId"
                                              model="#{viewScope.AddItemBackingBean.supplierIdListOfValuesModel}"
                                              value="#{viewScope.AddItemValuesBean.supplier.id}"
                                              autoSubmit="true" immediate="true"/>
                        <af:inputListOfValues label="Description" searchDesc="Search" popupTitle="Supplier Id"
                                              simple="true" required="true" id="supplierDescription"
                                              model="#{viewScope.AddItemBackingBean.supplierDescriptionListOfValuesModel}"
                                              value="#{viewScope.AddItemValuesBean.supplier.description}"
                                              autoSubmit="true" immediate="true"/>
                        <f:facet name="footer">
                            <af:panelGroupLayout layout="horizontal" halign="right" >
                              <af:commandButton text="Continue"
                                                actionListener="#{viewScope.AddItemBackingBean.continueAction}"
                                                id="continueButton" />
                            </af:panelGroupLayout>
                        </f:facet>
                    </af:panelFormLayout>
                </af:panelHeader>
            </af:panelGroupLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

  • Subject: Trouble in Multi-Select LOV. Does not populate records in Base Pag

    Hi Friends,
    I am trying to use multi-select LOV for the first time. But the base page table does not get populated after the rows are selected in the LOV. I am initializing the Base Page VO like below. And all fields are mapped between both the VO's, Can you please help as to what else could be the problem.
    if("UPDATE".equals(s1))
    vo.setMaxFetchSize(-1);
    vo.executeQuery();
    } else
    if("CREATE".equals(s1))
    vo.setMaxFetchSize(0);
    vo.setPreparedForExecution(true);
    }

    Is there any other piece of code you have used?
    Try my suggestion and follow the Dev guide once step by step to implement the multi select LOV. They have a nice sample and then you can compare where you went wrong. I feel like you are missing something part of setup.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Base page button submit causing Lov Controller procesRequest being called

    Hello,
    I have created programmatic LOV's to my base page to which I set to declarative LOV region.
    I run my page, provide value to one of the LOV and trigger LOV page open, select value and the value gets populated to my base page LOV item.
    Now I click submit button which should actually go to my base page CO, however it is going to the LOV Controller.
    and as expected my code in LOV CO which should not be called, at this point is called causing errors.
    This happens as the LOV items are set validation to true by default in OAF. If Is set the lovItemBean.setUnvalidated(false) to my Lov Item in my bas page CO and then run, my base page submit goes to its correct CO.
    Its clear the OAF is trying to validate the values of LOV in base page by calling LOV Controller.
    Is it a bug?
    Please help.
    Edited by: Prashanth Pillai on Aug 13, 2009 4:31 AM

    Hi,
    Whenever a form submit occurs on the page it checks for Client Side Validations.
    These should be enabled as it submits the form only when the validation succeds.
    So you should use
    lovItemBean.setUnvalidated(false);
    in the code
    Thanks,
    Gaurav

  • Relation between base page and detail page

    I'm new to OA Framework. I developed a base page and detail relationship page and in the base page there is a button on clicking of that button, Detail page is rendering .
    but the related data with that button should come in the messagechoice box,which is not coming.
    Could anyone help me out in developing this page.

    HI,
    OA Framework belongs to Oracle Applications, not Oracle JDeveloper and ADF. Please post your question on one of the Applications forums
    Frank

  • Tab Page Portal - Link Base Page

    Hi,
    I have a requirement where I have to attach a tab portal to the base account page. I am having trouble linking it to the base page. Could you please tell me the steps to be followed for linking the tab portal to the account page.

    Similar to Patch 8608149 for 'User Portal' tab on User Transaction in FW 2.2 (default in 2.3.1)?
    Follow How To Create A New Multi-Tab Portal Using Configuration Tools (Doc ID 1356225.1)

  • Need help in passing parameter from base page to popup page

    Dear ALL,
    I have a requirement as below.
    I have a page having one LOV, I need to select one value from that LOV and select one button from the page then it should open a popup page with the required data in tabular format for the field i selecetd.
    so i created a lov in my page and able to invoke the popup page through java script but how i can execute the query in popup page by taking the parameter whta i selected from base page.
    Please help me out.

    Mukul's Oracle Technology Blog: JavaScript In OA Framework
    --Sushant

  • LOV doesn't return selected value to the base page

    Hi All,
    I have created an LOV based on VO. When I select value on the LOV page, it is not returning the selected value to the base page.
    I am getting the error when I select any value .
    Error
    You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.
    Can anyone please guide me which property has to be set.
    Thanks,
    Edited by: user4482525 on Apr 21, 2009 11:49 PM

    1> Go to the About this page* of the page and check whether page Root AM is extended or not?
    If the page root AM is extended then delete the extension by jdr_util.deleteDocument or using functional Adminstartor
    or
    2> See in the LOV CO, if you are using the method "releaseApplicationModule"
    If yes , then remove this.
    Thanks,
    Kumar

  • LOV does not return value to the base page sometimes

    Hi,
    I have created messageLOV type items. These LOVs do return value to the base page usually. We have a user in Uruguay who is trying to use the page which has the LOVs. He says the LOV takes a long time to return to the main page after he clicks on quick select and also the value does not get populated in the main page.
    We have not been facing any such problem here in India. The LOV has been tested rigorously with no issues as such.
    Can you please suggest a reason why such a problem is occuring? Expecting your replies soon
    Thanks,
    Priya

    Thiyaga, did you read the devguide or the tutorial ?
    Can you please give me the inputs about the creation of LOV and it requires how many lov mappings as mandatory?
    This is there in the devguideHow to identify the mapping fields of an LOV which is already existing in the base page to reproduce in a similar way and need to do a customization on top of it ?
    Open the page XML and you can find the LOV mappings.Tapash

  • After Attchment Base Page is reloading

    Please help me on this.
    When I return back to the base page from an Attachment page my base page is reloading and
    I am loosing all other data captured before I went for attachment. How can I restrict this?
    I am trying to do the attchment from the create page before saving all aother data, but will be going for
    attchment after captured all other data/information on the page.
    Any solution?
    Thank You,
    Dhanya.

    Sorry for the late replay. I could solve the issue like below.
    1. In PFR, a flag to indicate attachment. Flag variable 'aFlag' is a 'public static' variable. And the current page AM have put into a session variable.
    if ( OA_ADD_ATTACHMENT .equals(pageContext.getParameter(EVENT_PARAM)) )
    aFlag="attachment";
    pageContext.putSessionValueDirect("xxretainAM", pageContext.getApplicationModule(webBean));
    2. In PR using 'aFlag' to check the page is loaded from attachment page. If then retreving the AM from session variable. And in the else part you can write all your other code.
    if (aFlag.equals("attachment")) {
    am=(OAApplicationModule)pageContext.getSessionValueDirect("xxretainAM");
    OR you try deffining AM variable for the page as a public static variable. Hope any of this will help you.
    regards,
    Dhanya.
    Edited by: dmohan on Jul 4, 2012 2:28 AM
    Edited by: dmohan on Jul 4, 2012 2:29 AM

  • Page Zero and Pop-up Windows

    Hello:
    I am trying to create a pop-up window that doesn't have some/all of the page zero regions. I don't want to create another page just for the pop-up window, I would like to use the same page but with(out) some privileges. I just don't want the user to be able to navigate to other pages (page zero lets you do that) from the pop-up window. Is there a way some/all page zero regions can be not shown when a pop-up window is displayed?
    Thanks,
    -Bino
    Edited by: bino on Jun 2, 2010 7:11 AM

    Hi Bino -- I'm not sure how you are bringing up your pop-up window, but you can set conditions on the regions in page 0 just like any other page so, for example, you could have a certain region not appear if the user is not logged on or if an item has a certain value, etc. If you are going to use an item value, when you bring up the pop-up window, you could set the value of that item right in the URL as one option.
    Rgds/Mark M.

  • Nested Page Flows and Pop Ups - Workshop 8.1

    Hi, everybody.
    I'm facing the following problem:
    I've a "main" page flow within some page flow-scoped data and forms. Now i need to open/execute another page flow (a "secondary" one) inside a pop up window. The tricky is i cannot "lose" the data in the first page flow. I will navigate to main page, fill some data, open the pop up, execute some queries, close the pop up and continue previous navigation.
    If i don't use a "nested" page flow for my pop up, i loose the page flow-scoped data from my main page flow (a new page flow is created).
    If i use a nested page flow, the following scene does not work:
    - Go to main page (create main page flow);
    - Fill some data;
    - Open pop up (create nested page flow);
    - Perform some queries (execute actions inside nested page flow);
    - Close pop up window;
    - Fill some data;
    - Submit main page;
    - Execute form validation using Struts Validator.
    When i execute the last step and there are errors in the submitted form, netui data binding tags fail. I believe that the engine "thinks" that it should use nested page flow (and form) instead of the main page flow (and form).
    I've found a workaround for this situation: When the pop up is closed, the main page execute a "dummy refresh action" in the main page flow.
    Is this the correct behaviour ? Is there another way of do it ?
    Thanks in advance.

    Hi Vimala.
    I cannot lose page flow data because i have other kind of data (beside a form) inside my page flow: Options values, previous search result list, ...
    Can i close the pop up window without call "return-action" ? How should i proceed if i don't need/have a "return-action" ?
    How should i proceed if i should to specify the forward of a "return-action" as a request parameter/attribute ?
    Thanks.

  • My Apple Macbook hard drive crashed and I had to replace. Now trying to reload CS5 and having issues. When I click download from Adobe download page, a screen pops up saying "Access Denied". I have serial number, but don't even get to a page to enter. Ple

    My Apple Macbook hard drive crashed and I had to replace. Now trying to reload CS5 and having issues. When I click download from Adobe download page, a screen pops up saying "Access Denied". I have serial number, but don't even get to a page to enter. Please help…Thanks!!

    Make sure you have cookies enabled and clear your cache.  If it continues to fail try using a different browser.
    You can also download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • Does anyone know why a web page would suddenly pop up telling me I have a computer virus and need to call them?  When I've called they said they needed access to my computer in order to fix the problem - which I didn't do.  Is this legit?  An Ad?

    Does anyone know why a web page would suddenly pop up telling me I have a computer virus and need to call them?  When I've called they said they needed access to my computer in order to fix the problem - which I didn't do.  Is this legit?  An Ad?

    That is not legit, it is a scam to gain access to your computer and information.
    You can protect against pop-up adware with the AdwareMedic tool Thomas Reed has http://www.thesafemac.com Tom is a major contributor on these communities and great security guy.

Maybe you are looking for

  • Select a range to be rendered?

    Is there some way to drag select a small area to be rendered if a large clip? Or - is the best solution to make cuts around it - select the small area - and render?

  • CE 7.1 sp3 installation failed in step 1: CheckDBServer...Error

    Hello, While trying to install CE the installation failed in Step 1. Following is the error dump: ===================================================== perl: executing the following command C:\usr\sap\A35\home\tools\osql -E -i checkDBServer_param.txt

  • Phone only charges when hooked up to mac not to wall...

    My wife's iphone 3G will no longer charge when plugged into the wall, but it will charge when plugged into the imac. I know the plug works because my 3gs is charging right now. any ideas? thanks

  • [CS4/JS] Ann: Updated Javascript Help to 2.1.3

    I weeded out a few annoyances from my set of CS4 Help files -- "Page", for instance, was tagged as a superclass of "PageItems". I also added graphic links from a superclass to its members, using the same dotted rectangle as for the other way around.

  • A thank-you to the Arch developers and contributors

    I have been using some form of Linux for the past 13 years, starting with Slackware on floppies, and ending with Arch.  Before Arch, I used Gentoo for almost two years. Now that I have been using Arch for around six months, all I can say is thank you