Opening OA page in new java script window from ProcessRequest method

I wish to open new OA page in new java script window.
Code is
javascript:var help_win =,'help_win',
'resizable=yes,scrollbars=yes,toolbar=yes,width=600,height=500'); help_win.focus();
strHelpDesk is the url of the requested new OA page .. How can we open that page in new window from processRequest .. I can't assign this code in pages's attribute ... The new Oa page should be opened whenever , control goes in Processrequest ... Do we have such command ? can we use pagecontext.redirectImmediately..or any other command ..
thx in advance

Yes, you can, what you need to do is
add a raw text bean in your page.
Attach this raw text bean to a transient attribute (column) of VO
populate this column with your javascript function which will open a new window and inlcude its call here
now whenyour page will render and process request is called ur javascript function is triggered and a new window will be opened.I guess i am clear!

Similar Messages

  • Open OA Page in new Tab or new Window

    I there a way that you can set a page to open up in a new tab or window instead of replacing the current page you are in?
    thank you

    thank you for your help
    I found this solution
    if I put the following vlue in the destination URI in the LOV the detail shows in a new window instead of replacing the current window
    thank you

  • How to pass parameters to a page invoked using java script.--- Very Urgent.

    I have an advanced Table in my page. In the first column there is a
    messageChoice. In the second column there is link item.On the link item i have set the following value for destination uri.
    javascript:var'OA.jsp?page=/AutoSales/oracle/apps/per/auto/webui/AutoSurrogatesPG&retainAM=Y','a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbar=yes'); a.focus();
    The user selects a value from the message choice and when he clicks on the link item, the value selected from the list should go to the new page invoked using java script as a parameter. I need the value selected from choice to generates few fields in the new page. I have preferred java script because i need the base page and a model window should open. I have tried using setForwardUrl() and setting '_blank' and new window for target frame property on the link item. But it isnt working. The new page is opening in the same window.
    I have also tried putting the value in a session.
    Please help with any kind of suggestions or solutions.
    Thank you.

    You need to
    - Have a PPR Action on the messageChoice (this would trigger a form submit to populate the underlying View Attribute)
    - Either
    - Retrive the value from the View Attribute in the pop-up page (as I could see that you are retaining the AM)
    - Use a SPEL in the link (on the modal page) to use the value from the View Attribute as the parameter value (in the form ${oa.current.<ViewAttributeName>)

  • 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'''''

  • Can not open new blank tab window from file, new tab.In Tools/Options/Tabs ticked open new windo w in new tab?

    Can not open new blank tab window from file, new tab.In Tools/Options/Tabs I have ticked open new window in new tab?

    The Ask Toolbar is probably causing that in the Firefox 3.6.13 version. Disable that extension or un-install it.

  • How to call java script function from JSP ?

    how to call java script function from JSP ?

    i have function created by java script lets say x and i want to call this function from jsp scriplet tag which is at the same page ..thanks

  • Calling Java Script Function from Applet

    How can I call the Java Script method from Applet. This should work both on IE and NN running on both Windows NT and solaris. I know it is possible to call the function in Java script using JSObject. But I don't have JSObject at run time. Please let me know how to call Java Script function from applet without using JSObject.

    For Java <-> JavaScript communication in Netscape / Mozilla see:

  • Create a new folder in windows from SAP

    I can execute progrmas from sapusing the WS_EXECUTE function, but how can I crete a new folder in windows from SAP?.

    I have a idea about this problem.
    Firstly, I made a batch file. The file is a text file, so you can create easily the file from the WS_DOWNLOAD function. The file include a command - md (folder name).
    Secondarily, I executed the batch file by the function 'WS_EXECUTE'.
    Finally, I deleted the temporary file by the WS_FILE_DELETE function.
    It's easy.
    If do you need the source, you should send a mail to me.
    The source is given you.
    Best regards,

  • Remove "Java Applet Window" from the window

    Hi, can anyone tell me how to remove the word "Java Applet Window" from a applet/frame/dialog running on the browser? Thank you very much.

    You have to sign your applet. Make a search on how to do that. It's not that easy and you need a certificate.

  • 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);";

    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);
    String month = monthrow.getMonth().toString();
    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??

  • 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.
    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".
    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; current version (<u>important security update 04-15-2010</u>)
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[ 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" +
    "'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 !

    on the 'Submit' onclick event add some JavaScript code: = '_blank';

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

    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"
    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>
    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.

  • ADF EBS Integration - How to open the ADF page in new tab or window

        We are building ADF custom applications and want to integrate them with EBS R12 (12.1.3) through Responsibilities and Menus.
    We have achieved session sharing and launching the Custom ADF app from EBS menu. The problem is, the Custom ADF page opens in the same page.
    Is there anyway to open the ADF application in new tab or window while launching from EBS Menu ? 
    Highly appreciate your help on this.

    Refer old threads by searching for "new window" / "_blank"
    - Senthil

  • 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 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: = '_blank';

Maybe you are looking for

  • SAP starts a few WPs and stops

    I moved my 4.6C to another iSeries box on a hosted site with same OS v6r1 by restoring full system backup. Host name, system name are not changed. IP address is changed. The new server has the same memory size and a lot more dsik space. When I start

  • Report takes  long time to refresh

    Hi Experts , I have an issue ,when I have only used one workshet  to upload as the original workbook has about 25 worksheet tabs and is too large to upload.The report takes 20 minutes to refresh I was rebuilding the report when I noticed that when I

  • A question using the setString to pass parameter

    Hello, there: part of my SQL statement is like this: p_table.user_id in (?) In my JDBC code, I wrote String str = "usr1"; ps.setString(1, str) to pass the parameter to the SQL statement - it works fine; However, if I wrote (in order to select from mu

  • Assigning a page as users home page in portals

    Hi, I've created a portal page. For some users we want this to be the default page they see as soon as they login instead of the default portal homepage. How can I achieve this? Thanks

  • Enlarging text in XSPF player w/Flash CS5

    I took a class in Flash way back when it first came out. I haven't used it since then until I recently got the CS5 version for a specific task. I'm revising a small site which includes articles about musicians and sound clips of their work. The mp3 p