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 = window.open(strHelpDesk,'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!
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Open OA Page in new Tab or new Window

    Hi
    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

    Hi
    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
    javascript:void window.open('OA.jsp?page=/forsythe/oracle/apps/forx/b2bquote/webui/B2BQuoteLinesPG&quoteId={@QuoteId}&retainAM=Y&addBreadCrumb=Y')
    thank you

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

    Hello,
    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 a=window.open('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.

    Uma,
    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>)
    HTH

  • 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:
    http://devedge.netscape.com/library/manuals/2000/javascript/1.5/guide/lc.html#1014290
    http://devedge.netscape.com/library/manuals/2000/javascript/1.5/guide/lc.html#1008480

  • Create a new folder in windows from SAP

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

    Hi,
    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,
    Don

  • 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.
    yunhe

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

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

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

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

    Hi,
        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.
    Thanks,
    Ananthakumar

    Bhaskar,
    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 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';

Maybe you are looking for

  • Unable To Open Saved WI Reports in IE 9-Receive Invalid Path Error

    I am unable to open any saved web intelligence report documents in Internet Explorer 9.  When I select view or modify, the java report panel does not initiate but instead gives me an error stating "Invalid path /AnalyticalReporting/WebiView was reque

  • Google calendars in ical over caldav go blank

    Sometimes (roughly 1/3 weeks) my google calendar in iCal goes blank - all events vanish. The events are still there when I look at the calendar online. I have ~5000 events over several years. I added the calendar via Callaboration. This is my default

  • AME error: WinFile.cpp-754

    I updated Adobe Media Encoder to version 4.1.0.107 - it worked fine in the past. But I now get this error message when starting to convert a clip: [../../Src/Win/WinFile.cpp-754] It doesn't matter which settings I use. It also doesn't matter which co

  • What's adobe air and adobe community help?

    I loaded 5.5 tonight and got a popup asking me if I'd like to install the new version of Adobe Air.  I said no thanks.  Then I clicked on the Help in 5.5, and it suggested I'd like to install a new version of Adobe Community Help.  I said okay, and t

  • White Screen During Windows 7 Installation

    HI guys. I am trying to install windows 7 using bootcamp on my macbook pro mid 2012 after deleting a previous install and everything goes fine until bootcamp partitions the drive and then begins to restart to boot into the Windows installation.. When