Issue: Opening the page in new window causing issues.

Hi All,
I have a page where in there are many PPR events implemented.
Apart from this i have content container region where in there are help links each of which is OALinkBean .
All these help links point to the same OAF page with different parameters.
I wanted to open these help links in different windows (as these would display some data to the user ie not transaction based)
for which i have set the destination property of the link bean saying :
OA.jsp?page=/oracle/apps/pos/reqform/mdm/webui/SARSMDMDisplayPG&RULE_ID={@RuleId}&retainAM=Y
and target frame to _blank to get it opened in new window.
Now,
when the page loads, it gets rendered fine along with the content container with help links in it.
When i click on the link, it will open the correspoding OAF page in new window. - fine upto this
On the main page, when i do any form submit, it is throwing me server side validation like "attribute xyz required in xyzVO".
This happens when ever i click on the link to open a new window.
Not sure if something needs to be handled to avoid doing this server side validations.
I have disabled server side validations too on the link bean.
I do have lot of events getting fired on the main page for the business requirements.
Please do let me know a solution to the same.
Thanks,
Sushma.

Hi All.. I am also facing the similar issue... actually the second page is VO or EO has no relation with the mail PAGE.. Second page is completely independent... but issue is that whenever i do any operation in first page after open the 2nd page the VO of the main page is geting quried without any condition.... i have a search screen and after conducting search if i try to open the second page and do any operation in the main page the whole value from vo will be shown in the page...... that is causing multiple issues....
Plzz help as it is very urgent.....

Similar Messages

  • When I click a link to open the page in new tab, it open the new page beside my page.

    After I update FireFox to version 3.6.8, I could not open the new page in the last tab, it always opens the new page in beside the tab.
    Mmm…I could not make sure the new page or new tab I said is the same with you…?? (I use Chinese version so that I don’t know if it’s the same or not…)
    A window could open several pages with different tabs, and I could click different tab to different page, right?
    If I right clicked a link to open the page to “new tab” in the same window, the new tab opened in the last tab of my window.
    But after I update FireFox to version 3.6.8 and I click a link to open the page to “new tab” in the same windoe, the new tab will open beside my page. (Mmm…Open on right of my page.)
    I would like the “new tab” open to the last tab in my window, not “beside” the tab I used. How could I change the setting??)
    == This happened ==
    Every time Firefox opened
    == After I update FireFox to 3.6.8

    That feature isn't new to 3.6.8, it was changed in 3.6.
    Type '''about:config''' in the URL bar and hit Enter.
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''browser.tabs.insertRelatedAfterCurrent'''
    Double-click that preference to change the value to '''''false'''''

  • How do I open a page in new window using af:commandLink?

    Hi,
    I have a requirement where I need to open the page in a new window on clicking the af:commandLink.
    I could use af:goLink, but I cannot as I have to invoke the URL using http POST method. If I use af:goLink, all the parameters will be displayed in the URL. I do not want that.
    I have the below code for the commandLink:
    <af:commandLink text="Open new window" id="cl199bk"
    styleClass="AFRighColLinkText"
    action="dialog:openNewWindow"
    useWindow="true" windowHeight="400"
    windowWidth="800" immediate="true"/>
    When I click the commandLink, the page gets opened but in the same window. I have the below controlflow-case in my taskflow:
    <control-flow-case id="__71">
    <from-outcome id="__133">dialog:openNewWindow</from-outcome>
    <to-activity-id id="__72">openNewWindow</to-activity-id>
    </control-flow-case>
    Please let me know what to do to have the page opened in new window/tab.
    Thanks in advance!

    Hi Frank,
    I tried that too and the page always opened in the same page even with dialog:action set and useWindow set to true. I had the navigation rule in adfc-config as well.
    I got it done using the url-view activity.
    I have created a new bounded task flow with the url-view activity as the default activity. I called this new task flow from the actionListener bean method on commandLink. Set the new task flow to url-invoke-allowed.
    I have my parameters set in the url-view activity. With this the parameters are not shown in the URL.
    That did the trick for me.
    Thanks.

  • How do I make Firefox not open the homepage in new windows?

    Hi. I have a collection of 4 pages set to open every time I start Firefox. Whenever I need to open a new window, my 4 pages open again.
    I would like to have those 4 pages open only the first time I start the browser, because I never close them. Obviously I don't need them open again.
    How can I set it so that these 4 pages open the first time I start my browser, but only have a blank page open the next time I select "open new window."
    Even more ideal would be to have the choice to open my homepages or a blank page (in case for some reason they do get closed).
    Any solution that takes more than one extra step is one extra step too many. Otherwise, I'd simply just x out of three of my pages and change the URL of the 4th.
    I'm not entirely technically minded, so if yours is a technical solution, I thank you in advance for clearly laying out the steps one-by one.
    Cheers.

    One possibility would be to change how you open a new window. You can create a bookmark for Firefox's '''about:blank''' page and then, to open it in a new window, shift+click the bookmark.
    (To create it, right-click the Bookmarks Toolbar or Bookmarks Menu near where you want to add it and choose New Bookmark. Enter about:blank in the Location and any description you like in the Name, then click Add Bookmark.)
    But that might be difficult to remember or inconvenient, so the next thought would be to bookmark your 4 home pages as a group in a single folder on your Bookmarks Toolbar or Bookmarks Menu, as you prefer. If you ''middle-click'' that folder with the mouse scroll wheel, Firefox will open all of its pages in separate tabs in the same window. Does that still count as 1 step?
    (To create it, open a new window with your four tabs. Right-click any of the tabs and choose Bookmark All Tabs. This will create the new folder. Assuming it tests out, you can then change your Firefox home page to about:blank to display a blank page.)
    Are we getting closer?

  • Open Dynamic Page in New Window after Submission

    I need to open a "success" dynamic page in a new window when redirected from a form in Portal 9.0.4.1. The go('<url>'); method does not appear to allow opening the page in a new window. Is there a way to do this? Thanks, in advance.

    on the 'Submit' onclick event add some JavaScript code:
    this.form.target = '_blank';

  • Hyperlink + ctrl click opens the page in new tab in my website. it should open it in the same window of my website

    When i do a ctrl+hyperlink click in my website running in firefox, it opens up in a new tab, I dont want the ctrl+hyperlink click to open in new tab or new window. It should open in the same browser. (works as required in IE 7)
    == This happened ==
    Every time Firefox opened

    Ctrl+left click on a link or bookmark will open in a new tab. That is a standard Firefox keyboard shortcut. Middle-click will do the same (Middle-click = press the scroll wheel). On the following page, scroll down to "Web Navigation" or Find (Ctrl+F), enter "Ctrl+lef" (without quotation marks) in the Find box. Read the footnote 4 about how to change from background tab to foreground tab.
    See: http://www.7is7.com/software/firefox/shortcuts.html
    To open a link or bookmark in the currently active tab, simply click on the link or bookmark. Your current tab will be over-written with the new link or bookmark.
    The following page shows the shortcuts for IE7. Click "Working with tabs". It shows Ctrl+click will "Open links in a new tab in the background" and on the next line, it shows CTRL+SHIFT+click will "Open links in a new tab in the foreground".
    See: http://windows.microsoft.com/en-US/windows-vista/Internet-Explorer-keyboard-shortcuts#
    Maybe you have installed something to change the shortcuts on your installation?
    <u>'''''Other Issues''''': to correct security/stability issues</u>
    <u>'''Update Java'''</u>: your version 1.6.0.18; current version 1.6.0.20 (<u>important security update 04-15-2010</u>)
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed

  • After login close the login window and open home page in new window

    Hi guys,
    I want to go to a new window for the "home page" without browser back button etc. after login validation.
    And also close the login window at the same time.
    Here is the code I used after the login validation.
    ExtendedRenderKitService erks =Service.getRenderKitService(FacesContext.getCurrentInstance(),ExtendedRenderKitService.class);
    StringBuilder script = new StringBuilder();
    script.append(" params = 'width='+screen.availWidth-10;\n" +
    " params += ', height='+screen.availHeight-50;\n" +
    " params += ', top=0, left=0'\n" +
    " params += ', fullscreen=yes';\n" +
    " params += ', scrollbars=1';\n" +
    " params += ', resizable=1';\n" +
    " params += ', status=1';\n" +
    "window.close();\n" +
    " newwin=window.open('home.jspx','xxxxxxxxx', params);\n" +
    " if (window.focus) {newwin.focus()}");
    erks.addScript(FacesContext.getCurrentInstance(), script.toString());
    This successfully opens a new window. I want to close the current login window at the same time.
    Please help me with this.
    Regards !
    Sameera

    on the 'Submit' onclick event add some JavaScript code:
    this.form.target = '_blank';

  • When I launch Firefox 5, two (2) windows open: the "What's New" window and a second window with the correct Home Page. How do I stop the "What's New window from opening when I launch Firefox 5?

    Further: I'm running Windows XP.
    This happens every time I open Firefox 5 and began just after I upgraded to 5.0.
    Note: I've tried suggestions from the various posts in this forum from people who have similar problems, but with no luck. The problem still persists. Does anyone have any suggestions ??

    hello, this might happen when firefox is not able to properly save preferences in its profile folder. please try this: Click the menu button [[Image:New Fx Menu]] and then click help [[Image:Help-29]] > troubleshooting information > profile folder - "show folder". then a new window will open up. in this window look out for a file named '''user.js''' (it might be used to overwrite your custom settings). in case it is present , delete or rename this file and restart firefox afterwards.
    for more information and other steps please also see: [[How to fix preferences that won't save]]

  • Opening OA page in new window with parameters

    Hi all,
    Hi need to open a new page in a new window with some parameters to be passed to that page.
    Here is the code i have written.
    But i am not sure how to pass parameter in java script string
    String userid = new Integer(pageContext.getUserId()).toString();
    OAButtonBean go = (OAButtonBean) webBean.findChildRecursive("go");
    String url1 = "javascript:openWindow(top,'OA.jsp?page=/aos/oracle/apps/per/payslip/webui/AGSBPaySlipPG&userid={@userid}, null, {width:750, height:550},false, null, null);void(0);";
    go.setDestination(url1);
    Thanks,
    Devang

    hi mani,
    I didn't got wat u meant by binding the attribute.
    I tried another way.
    I had a OAButtonBean GO
    I have 2 messagechoices one for month and another for year
    So in page A in month it shows Jan in starting (till Dec) and in year it shows 2006 as per the picklist view attribute. Also I have attached the VO and view attribute for both the messagechoices.
    Now in the setDestination of the GO button i have url of my pageB with retainAM=Y and target frame as _blank.
    So i select "Oct" from messageChoice and year as 2006 and click GO but still when it goes to pageB and when i try System.out.println(<the view object attribute value>)
    i get "Jan" instead of "Oct". Below is the code in pageB i am using to get the value of the month from VO
    MonthVOImpl monthVO = (MonthVOImpl)pslip.getMonthVO();
    //pslip is AM object
    RowSetIterator monthrowsetiterator = monthVO.findRowSetIterator("monthvo");
    if (monthrowsetiterator == null)
    monthrowsetiterator = monthVO.createRowSetIterator("monthvo");
    // monthrowsetiterator.reset(); I NEED TO COMMENT THIS OUT - RIGHT ??
    MonthVORowImpl monthrow = (MonthVORowImpl)monthrowsetiterator.next();
    String month = monthrow.getMonth().toString();
    System.out.println(month);
    So how do i resolve this issue. I thought that retaining the AM will take care of the value which i am selecting in the messagechoice in pageA.
    Any ideaz??
    Thanks,
    Devang

  • Won't open web page in new window

    Ever since the 5.0 upgrade when I click on a tab to open in a new window firefox just opens a blank new window. This is driving me crazy. So if I have 5 tabs going and say I want to watch a youtube video on my other monitor while I'm doing something else, I right click on the tab and click on open in new window and i just get a blank window. So I have to copy and paste the address in the new blank window. I am about to switch to google chrome its very inconvenient.
    Thanks!
    Cindy Jervis

    There are some Flash objects on the web page.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Opening OA page in new window using Image Bean

    Hi All,
    We have a requirement to open a new window in one of our application. It is working when I use a link but I am not able to achieve the same functionality with an image bean. Is it possible to achieve this using an image bean?
    Thanks in advance,
    Sundeep

    Sundeep,
    If you wanna use imagebean, you would have to attach action using bound values API and open secondary window in OAF.Here is the same ple code:
    OAImageBean btn= (OAImageBean)webBean.findChildRecursive("<item id of image icon bean>");
    //page url
    String page1 = "/xx/oracle/apps/XX/webui/XXPg&retainAM=Y";
    String destURL = APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP + "?"+ OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT+ "=" + page1;
    OABoundValueEmbedURL jsBound = new OABoundValueEmbedURL(btn,"openWindow(self, '", destURL, "' , 'longTipWin', {width:"+900+", height:"+500+"}, true); return false;");
    btn.setAttributeValue(oracle.cabo.ui.UIConstants.ON_CLICK_ATTR, jsBound);
    I received your mail, and replied the same in the mail too.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Opening Dashboard Page in New Window While Passing Prompt Values

    Hi,
    Currently it is not possible to open a dashboard page in a new window AND have the prompt values from a prior page pass to this page. I see one or the other can be accomplished but not both. Is there a way this can be acheived somehow or is there a workaround for this?

    You are correct. The "Link or Image" object does not pass the dashboard prompt values, though it allows the destination dashboard to be opened up in a window.
    Here is a workaround.
    1) Place the link in a "Guided Nav. Link" object and set the destination dashboard and desired report. With the prompt set up correctly (i.e., dashboard scope, set to PV, destination report column filtered to receive the PV), the destination report will be filtered on the prompt as desired.
    2) I noticed (and maybe this is why you wish the "new window"), there is no "return" link on the destination report. To fix this, in the destination dashboard, add a Text object to the dashboard. In the properties, paste the code below and make sure to check off "Contains HTML markup." This will produce a "Return" button on the dashboard.
    <input type="button" value="Return" onclick="history.back();">
    Now, when the user selects the prompt and clicks on the link, the prompt is passed to your second dashboard. When the user wishes to return, he/she can click on the "Return" button and return to the primary dashboard.
    HTH,

  • ExternalLink in KM  which open portal Page in new window whithout masthead.

    Hi All,
    I have a requirement to create an external link which opens in new window and the content of the window is an Page which has iviews.
    I created an external link and gave the following details.
    Target: /irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?NavigationTarget=pcd:portal_content/com.abc.Test_Page
    Name: Test
    When I click on the external link, it opens a new portal window which has the mast head and in the content area the page is displayed.
    My requirement is : I don't want the masthead to appear and I want only the page to be displayed in the new window.
    Thanks,
    Shilpa.

    Hi Krishna,
    In the iview Property -> Launch in New Window, i have only 2 options ie
    Display in Portal content Area
    Display in New Window.
    Where do I find display in seperate portal headerless window? Is it the customised one?
    I have set Launch in New Window Property to Display in New Window. When i click on the link new window is opening which has masthed.
    Please Suggest.
    Thanks,
    Shilpa.

  • Open a page in new window

    Hi,
    I have created an iView and a Page to open in a new window and am getting a Portal Runtime Error (as shown below) when I click on the link in detail navigation. However surprisingly in the "Preview" and if I open the same iView in the portal content area, then everything works fine. What could be going wrong? 
    Thanks very much for the help.
    Aniruddh
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: pcd:portal_content/com.wyeth.folder.wyethcontent.folder_wyethcontent/com.wyeth.folder.developercontent.folder_developercontent/com.wyeth.Aniruddh/InsideWyeth_Desktop/frameworkPages/frameworkpage/com.sap.portal.innerpage/com.sap.portal.contentarea.
    Exception id: 11:10_16/12/05_0012_876763850
    See the details for the exception ID in the log file

    Hi Anriruddh,
    a page and an iView - where the iView is set on the page? One should be enough (the page)?! Try that.
    Anyhow, the error message says that it cannot find the sap-contentarea within your structure. Double check if the path exists:
    ...InsideWyeth_Desktop/frameworkPages/frameworkpage/com.sap.portal.innerpage/com.sap.portal.contentarea
    In addition, check the default.trc for the exception ID, as it has been told you: "See the details for the exception ID in the log file".
    Hope it helps
    Detlev

  • Open Page in new window using hyper link

    I put the window.open method on OnClick event of outputlink to open a page in new window, but the page is started in a old window.
    How do I start the page in a new window.
    My sintaxe of outputlink:
    <h:outputLink binding="#{P0110.hyperlink1}" id="hyperlink1"
    onclick="WindowObjectReference = window.open('about:blank', '','menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes');" value="http://www.sun.com/jscreator">
    </h:outputLink>

    Hi,
    Following are the steps to open a new window using the window.open method for the hyperlink component:
    1. Drag and drop a hyperlink component onto the page
    2. In the properties sheet go to the Value property and delete the value present there
    3. Click on the ... button next to the onclick property
    4. Enter the line of code given below:
    window.open("http://www.yahoo.com","New window");
    5. Save and run the project
    On clicking on the hyperlink a new window will open with the www.yahoo.com page.
    Hope this helps
    Cheers
    Giri :-)
    Creator Team

Maybe you are looking for