Open Page in new window

..................... I use JDeveloper 11g TP4 ......................
How Can I Open Page In New Window when I press In Command button or link??
Thank You.

Hi,
You have to set the "useWindow" property on the button to "true", and the action must start with "dialog:", like "dialog:action". And, in adfc-config.xml you have to have navigation defined also with "dialog:action".
<af:commandButton text="Button"
         action="dialog:action"
         useWindow="true">
{code}
Pedja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to open page in new window while handling event on link.

    Hi all
    I have a requirement where page should be opened in new window when I click on link.My item style is 'link'.Despite of mentioning target frame _blank, I m not able to open it in new window.I m handling event by setting Action Type as fireAction.I hope this might be the reason because of that this happened. Can somebody suggest some solution so that I can open it in new window.
    Thanks,
    Bhupendra

    Hi ,
    though i am not able to answer, i can get some answer for my question.
    How the link item is handled thru the ActionType and event in the Client Action..?
    The reason for this question is that we are trying to extend the customer search page in AR - EBSR12. there the search result page has the Account Name as a link and the Action event says viewAccountName and the action type says firePartialAction. I am trying to understand this so that i can add more parameters to the link so that i can use them in the target page of the link..
    Any help is appreciated..
    Thanks
    Chidam

  • 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

  • Open Page in new window from button

    I have a button that need to open up a page in new window when clicked. The page it needs to open is dynamic and stored in an item called 'P0_STUDENT_RECORD_LIST'.
    I added this to item pre-element text:
    <button onclick="javascript:PopupSTUDENT()">
    How can I get the function to open the page name stored in the item?
    Is there a different method I should use?
    function PopupSTUDENT(){  popUp('f?p=&APP_ID.:DYNAMIC_PAGE_NAME:&SESSION.::NO:::');}

    how about this:
    function PopupStudent()
    javascript:window.open('f?p=&APP_ID.:&DYNAMIC_PAGE_NAME.:&SESSION.::NO.:::','Popup','width=800,height=500,scrollbars=1,resizable=1');

  • Opening page in new window on click of link in Global button bar section

    Hi,
    I have created a custom global link to appear alongside Home, Logout links. The requirement is to open a page in a new window when i click on the custom global link. Please let me know how to achieve this functionality.
    Thanks,
    VG

    VG,
    I think you should be able to open in a new window using the javascript in the function defn,
    please check the blog http://mukx.blogspot.com/2007/07/javascript-in-oa-framework.html and try it out.
    Let me know if you are not able to achieve the same.
    With regards,
    Kali.
    OSSi.

  • Open page in new window when click on HELP TAB

    Hi
    I have a number of tabs which work on my pages. My very last Tab is a Help Tab.
    What I'm trying to achieve is that when a person clicks on the Help tab, the page should open in a new window.
    The rest of the tabs should function normally, ie just switch pages in the same window.
    Message was edited by:
    Keith Jamieson
    Made it more readable

    Hi all
    is there any other property along with the target frame what we need to set to get this working?
    i have tried it again and still the new page when clicked on the link opens in the same window
    I am using a link item which has a fire action set to yes
    In the fire action i am calling a new page using
    pageContext.setForwardURL
    thanks
    abc
    Edited by: abcdxyz on May 18, 2011 1:56 PM

  • IWeb - cant adjust hyperlinks to open page in new window

    Anyone know of a work around to this obvious shortcoming? ...other then hacking the html code? the website is: www.apexjiujitsu.com
    My Links page is the one that I'd like to set parent=_ or whatever the value is for new window instead of same window

    Hi all.
    New to iWeb as well and am enjoying creating my website.
    Having played with HTML in the past and dreamweaver for creating pages, remembered there is a way to do this in a non-iweb way.
    The extra code that needs to be added at the end of your link is:
    target="_blank"
    Now how to get that in your iWeb page.
    What I did (worked for me each time) - copy the page you want to edit from your iDisk in the Finder window to a folder on your mac. Make sure to make a copy of this file in case you want to go back to the original.
    - Next open the page in Netscape (using ver 7.2). Pics did not show as I did not copy those.
    - In Netscape click File, Open File. Just navigate to your page location and click Open.
    One really neat feature I like about Netscape is that it comes with a built in web page editing tool.
    - Click File, Edit Page. Editing window appears.
    - Find the link you want to change and double-click it. It may try to open the link in new window, if it doesn't, don't worry about it. Or give you an error - close the error window.
    - Go back to the editing window and double-click on the link again. You should see a drop-down menu appear.
    - Click Advanced edit. There are two columns here - Attribute and Value.
    Attribute is what you want - ie open in a new window (target) and the Value is what happens next ie. opens the link in a new window.
    - Click on the Attribute drop-down at the bottom and choose "target".
    - Click on the Value drop-down and choose "_blank" (usually defaults to this).
    - Click OK and then OK again.
    Close the file and make sure to save.
    All I did then was copy the edited page to the iDisk folder wence it came from and overwrote the original (did you save a copy of the original in a safe location?).
    Opened the page in Safari or any other browser and voila' - link now opens in a new window/tab.
    Sorry for the long winded reply explanation. Wanted to be sure I didn't miss anything. ***Just be sure to save a copy of the original page your working on in a safe place in case you need to revert to the original.***
    Hope this helps.
    ps. Agree, adding an option to open links in new window should be put into the enhancements to come for iWeb.
    Stewy
    G5 Dual 2.3 ghz   Mac OS X (10.4.2)  

  • Open Page in new window using action link

    How do I open a page in a new window, using action link ?
    If I put javascript window.open in OnClick event, the action event ins�t called.

    Hi,
    The window.open method can be used with the hyperlink component. So please try it with a hyperlink component.
    Cheers
    Giri :-)
    Creator Team

  • Problem with opening page in new window in firefox 5

    When I open a page in a new window in firefox 5, it doesn't copy the URL into the address bar (it is blank), so I can't refresh the page. The address bar of the new window is blank, with default 'Go to a web site' text in it.

    When I open a page in a new window in firefox 5, it doesn't copy the URL into the address bar (it is blank), so I can't refresh the page. The address bar of the new window is blank, with default 'Go to a web site' text in it.

  • Popup2 to open page in new window

    I want to open up a new page (page alias named 'ZIP') when the user double clicks in a field. I added the code below to the Element attributes of the field, but it can't find the page. What am I missing?
    ondblclick="javascript:popUp2('f?p=&APP_ID.:ZIP:&SESSION.',700,700);"

    Got it. I created a procedure in HTML header and called it

  • When clicking on links that open in a new window, the links don't open and Firefox freezes in a way. I can navigate the page I am on but cannot click to open a new tab or bookmark.

    When navigating the internet, if I come across a web page that has a link to open a picture or program in a new window, if I click on it, it does not open. Firefox immediately looses functionality in that I cannot open a new tab with the mouse wheel, right click to open a new tab, or use my bookmarks in either the drop down or toolbar to navigate away. I can usually still navigate the page that I am on, for example, (https://loanconsolidation.ed.gov/AppEntry/apply-online/appindex.jsp), when it freezes I cannot click on any of the content at the center of the page but I can still use the links from the list on the far left. For an example of the pictures, (http://www.insect-sale.com/), if you click on "New Arrivals" at the top of the page it takes you to a list of products that can only be viewed by clicking on them. Usually a picture of the item would open in a small window but it does not and Firefox freezes. This has also happen when I try a view a degree audit on a school's website where a program would usually open in a new window. The only thing I have been able to find that still functions properly when this happens is the home page button. I can click on it or use the wheel to open it in a tab just fine, but if I try and go anywhere else I cannot. The only way I can get Firefox back to normal is to use the Task Manager and end the process. Another thing I have noticed, that may or may not be related; is that my Norton Internet Security toolbar, that should show up below the bookmarks toolbar and above the tabs, only shows up about 1 out of every 10 times I open Firefox. Some days it doesn't show up at all. If it does show up and I log into Identity Safe, the autofill for the programed website works, even if the toolbar doesn't show up the next time I open Firefox.

    Go to Tools->Options->Apps
    Here you should see two columns: Content Type on the left, Actions on the right.
    Find and select excel spreadsheet or any other content type in the left column. There should be a corresponding action in the right column. What is it? You can use the drop-down list to select the option you want:
    Always Ask - Firefox will ask each time: What do you want to do with this file?
    Save file - Firefox will save this file to your computer
    Use - Firefox will give this file to the program to open it
    In case of saving, Firefox will either prompt you every time where you want the file to be saved, or save it to the default location. It depends on the preference in
    Tools->Options->General->Download

  • How to open a new OAF page in new window while clicking submit button

    Dear All
    I am facing one problem.I have to pass some parameter in new page only after validation.I can't do validation in processRequest bacause I perform validation after clicking the submit button.
    So I have to write redirect code in processForm Request. I can not use simple "Button" bean since I have to set destination uri which could be set only in processRequest.But I can not pass parameter with it in process request.
    Thats why I have decided to use submit button but there is not target frame option in property inspector,So I am not able to open it in new window.
    Kindly give me some suggestion .
    Thanks in Advance

    hi,
    u can use submit button. U need to handle submit button press in processFormRequest method.
    if(pageContext.getParameter("Submit"!=null))
    // validate your parameter
    if parameter u capturing are valid then...
    pageContext.setForwardURL(func, params ...............) // check devguide for details
    if u want to access these parameter in second page . you can write this logic to processRequest of target page.
    U can refer toolbox tutorial drilldown and createpage examples for implementation details.
    Regards,
    Ram

  • When I click on a web link and hold down ctrl the page will not open into a new tab, it is just opening in a new window. How do I correct this?

    When I use to hold down the ctrl key and left click on a web link, the page use to open into a new tab. For some reason this is not working anymore. Instead when I hold down the ctrl key and left click on a web link, the link will open into a new window. How do I fix this?

    I figured out how to correct it. Not sure what exactly was happening. But I started into private browsing and then turned it off. It's been working correctly ever since I did private browsing.

  • How can I make a specific page open in a new window when clicked from a menu?

    Don't know if its possible but I have one specific page I want to open in a new window in the browswer when clicked on from a widget menu.  I know how to go in and put the coding in but it would be nice if there is some option in Muse to do that already.  Any suggestions? Thanks for any help.

    ryanj4799 You'll need to change the Menu Type to Manual in the widget's options and add the links yourself. Then go to the Hyperlinks panel. Check the option to open in a new tab/window.
    David

  • I want all pages to open in a new window when I click on a link, and do not want tabs.

    I just downloaded Firefox on my Mac laptop. I don't like using tabs, but prefer new web pages to open in a new window. What command do I use to achieve that?

    Look at:
    *Tab Killer: http://piro.sakura.ne.jp/xul/_tabkiller.html.en
    Use: Download Latest Version (via HTTP) and install via File > Open File

Maybe you are looking for