Open a new page  in new window programatically.

Hi all,
I am able to open the new page in new window by setup (setting up the distination URI and and target fram as balnk), my requirememet is to do it programatically, from CO i have to call the new page on some conditions, how can i achive this?

Hi
You can open a new page in new window programmatilcally like this :
for this we have created a Static Styled Text Bean of Id item1
import oracle.apps.fnd.framework.webui.beans.* ;
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAStaticStyledTextBean ost = (OAStaticStyledTextBean)webBean.findChildRecursive("item1") ;
ost.setLabel("Click here for my website");
ost.setDestination("http:\\XX.com");
} Ajay
Edited by: Ajay3107 on Jul 19, 2010 9:53 PM

Similar Messages

  • Open that jspx page in new window using commandLink

    Hi All,
    I'm working on adf application.I'm using jdeveloper 11.1.1.5 version.I want to get the attribute value of current row and pass it to jspx page.And i want to open that jspx page in new window.I tried like following:
    <af:column id="resId1c7" align="center" width="50">
    <af:commandLink actionListener="#{bindings.setCurrentRowWithKeyValue.execute}"
    text="MSG-ID"
    disabled="#{!bindings.setCurrentRowWithKeyValue.enabled}"
    id="cl1"
    action="dialog:Confirm" windowHeight="600"
    windowWidth="800" useWindow="true"
    partialSubmit="true"/>
    </af:column>
    And in my faces-config.xml i add the navigation rule like this.
    <navigation-rule>
    <navigation-case>
    <from-outcome>dialog:Confirm</from-outcome>
    <to-view-id>/AuditLogInfo.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>
    Here my problem is i want to get the result jspx page in new window.But im not able to do it.Please help me how can i do this?
    Thanks in advance!

    Thq very much.It is working fine.
    I added the command link in my home page.When i'm clicking on that link im able to get my child.jspx page in new window.But I have added the login page to my adf application.If i run the login page im able to get my home page.But now i'm not able to get my child.jspx page when i'm clicking on command link.How can i resolve this.Please give me your suggestions.
    Thnks in advance.

  • BSP code to open new page in new window after button click

    Hi expert,
    I have a requirement to write a BSP code to open new page in new window after button click. I have done the same for opening in same window but not for opening in new window.
    Can you please help me out with the code in which the page opens in new window and the menubar & Addressbar is displayed in hide mode.

    Hi,
    To add more with Anubhav...
                              onClientClick = "javascript:window.open( 'pop.htm' ) "
    You can create a pop.htm page, and call the same in another page using the above code.
    Refer standard BSP examples, SBSPEXT_HTMLB, SBSPEXT_PHTMLB, SBSPEXT_XHTMLB. You can run the default.htm pages and see what way you want to design your BSP.
    Thanks,
    Sreekanth

  • Open all html pages in one window w/button

    I'm trying to figure out how to have all of my pages for my
    site open under one browser window instead of opening up a new
    window when each button is clicked.
    I built Flash buttons for the pages and they work fine...they
    just open up the pages in individual windows.I'm new at this and
    haven't figured out how to get the pages to open up in the main
    (index.html) browser window. I've tired doing it using in
    Dreamweaver the Add Behaviors, GoToURL selection but it doesn't
    work...
    Also, I'm not using frames within Dreamweaver....
    Here is the code for the flash button that I tried and it
    didn't work....
    The 2nd block of code is what I used to open the pages and it
    does work...
    Any help would be appreciated and well worth a cold pint when
    we meet!
    Bob Davis
    dp Davis Productions....
    =

    Strangely yes you do.
    iChat invokes the same A?V protocols from any Buddy list.
    If the person at the other end is on iChat or AIM on a PC then it will be able to Video or Audio chat to them.
    It will not be able to Video chat to MSN or Yahoo or Jabber only Buddies (those clients that can't Video chat or don't use the same protocols as iChat and AIM).
    The exception is to people on a OS X server network with the iChat server which is actually a Jabber server - but the individual users will be using the iChat Client.
    9:59 PM Thursday; November 1, 2007

  • Firefox freezes when I load new pages into new tabs. This started a few weeks ago after I downloaded the latest update to firefox, currently running 7.0.1

    After installing the latest update to Firefox a couple of weeks ago, loading new pages into new tabs takes a very very long time IF the page loads at all. I usually have to close the original tab to get the new tabs to load their pages. Sometimes I have to close all Firefox windows and start over to get the page I want to load.
    This only started after downloading and installing this new update. I had no problem with new pages/tabs with previous versions.
    I have rebooted, run full scans with Spyware Doctor, Malwarebytes and McAfee without solving the problem.

    Look the SOLUTION CHOSEN:
    https://support.mozilla.com/en-US/questions/882621
    and ''John99'' reply down the chosen solution.
    thank you

  • Creating new page with new parent tab

    Does this happen to anyone else? When I try to create a new page that will have a new parent tab and standard tab in a 2-level tab setup, it never seems to work right. I end up having to dele the new parent tab and standard tab I created while creating the new page. Then once the page is created, I go into Shared Components -> Tabs, and create a new Parent Tab and assign it to this new page. Seems like a crazy way to have to do it.
    I know this sounds crazy and it is hard to explain the issue, but anyone who has had this problem with creating a new page with new 2-level tabs will understand what I am talking about.
    Can anyone point me to an explanation on how this should be done? I know I must be missing something.
    Thanks,
    John

    I've recently had to muck around with the 2 level tabs aswell. There are some things making this rather difficult indeed.
    What i'd do when creating a new page you want to have under a new tab, but also with a new parent tab, is to create it with only a new STANDARD tab. Don't create a new parent tabset. All parent tabs are in the same tabset, and if you create a new tabset you'll effectively see only this new parent tab + tab on the page you created.
    So unless you want the page to be on an absolutely new set of tabs, you'll probably just want the page to be on a new top-level tab with under that a new standard tab. Like so:
    <NEW PARENT> | parent 1 | parent 3 | parent 4
    <NEW TAB> |
    To achiece this, you'll need a new standard tab set. You can create this when creating the page. The standard tab set is the set used for you lower level tabs, so obviously we do need a new one.
    As for the parent set which you can choose upon page creation, choose the already existing parent tab set. This set contains all your already existing parent tabs, and you wish to add one for display.
    When you finish creating the page and run it, you'll see that the standard (lower level) tab is there, and is set to active, but your parent tab is not there.
    Go to Shared Components > Tabs. Select the "Manage Tabs" tab there. You can notice your new set there, but notice the striped outline of it. This tab has no parent tab for it! And this is the problem with tab creation in 2-level tabs: you can make a new STANDARD tab and tabset, and define a parent tab set OR create a NEW tab set with tab. Both options fail us: what we want is a NEW parent tab in an existing parent tab set!
    So to fix our problem, from the manage tabs tab click on "Manage Parent Tabs", found on the right hand side of the screen in the region "Parent Tab Tasks".
    This'll bring you to a magical new tab within the tab components. It's a mystery to me why it has to be hidden like this, and makes it a real pain to use. On this page you can manage your parent tabs (the only place to do so actually...). Here you'll see there is no parent tab for your page (again), but here you can create a new parent tab from the right hand menu "Parent Tab Tasks" > "Create New Parent Tab". Enter a label, and choose your existing parent tab set as parent tab set. Don't create a new set. As for target, refer to your new page again.
    However, we are not done yet. You are returned to the "Parent Tab Management" page. You new parent tab will be shown there, but when you run your page, the parent tab will not be set active yet.
    To fix that, go back to the "Parent Tab Management". Select your parent tab so you go to it's details. Firstly, give it a new sequence number, otherwise it'll be shared with one (the parent tabs are created with sequence nr 10, so most probably on a shared position with your first parent tab).
    Then turn your eyes on the "Current on Standard TabSet" list item. It'll have an option selected, but take a good look: it'll be the same name as your parent tab. From the options, select your new Standard tab set (the lower level set) which holds your new page. Then apply your changes and run your page: both your parent and standard tab will be there and highlighted. Yay!

  • Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor

    Dear All,
    I am frequently getting following error message on aspx pages on my SharePoint 2007 environment
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer.
    If the problem persists, contact your Web server administrator.
    Upon refreshing and restarting the browser several times, this error message temporarily gone and everything becomes fine. But after some time same error message starts appearing again. Also I have noticed that this error message also appears
    while working with SharePoint Designer 2007.Any clues how to resolve this issue ? 
    Any help in this regard will be greatly appreciated.
    Muhammad Tariq khan

    Hi All,
    As I regenerated the problem (Unable to display this Web Part... ) from the faulty
    user. I experience following error message in the ULS logs...
    Error while executing web part: System.Data.SqlClient.SqlException: Invalid object name 't5_sco'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
    exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler,
    SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()     at System.Data.SqlClient.SqlDataReader.get_MetaData()    
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior,
    Boolean returnStream, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
    cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
    behavior)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean& bSucceed)    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback,
    ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter
    pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()    
    at Microsoft.SharePoint.WebControls.SPDataSourceView.ConvertToIEnumerableWrappers(SPBaseCollection items, Int32 firstRow, Int32 rowCount, String[] fieldList)     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments
    selectArguments)     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()    
    at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator(IDataSource datasource, Boolean originalData)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXPathNavigator(String
    viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform()
    What does this error message mean ?
    Muhammad Tariq khan

  • IE 11 links open to Blank page after last Window update

    IE 11 links open to Blank page after last Window update, I tried every trouble shooting and suggestions I could find in all forums but to no avail.
    Operating system Win 8.
    will try any suggestions and report back.

    Hi,
    Not sure whether you have tried these methods, if yes, keep trying the others.
    1.Run IE with no add-ons firstly.
    Click Start -> All Programs -> Accessories -> System Tools -> Internet Explorer (with no add-ons).
    If works, please follow the steps to narrow down which add-on cause the issue.
    Start IE>Press Alt to show the menu bar>On the Tools menu, click manage add-ons>under show, click All add-ons>disable half add-ons one time for quick narrow down>restart IE.
    2.Try resetting IE.
    Start IE>Press Alt to show the menu bar>On the Tools menu, click Internet options>Advance>Reset>restart IE.
    3. This is caused due to some registry problems occurred. To resolve this issue, follow the below steps:
    Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
    Type regsvr32 actxprxy.dll in the Open box, and then click OK.
    If the command was successfully executed, you will receive the message ‘DllRegisterServer in actxprxy.dll succeeded’ window.
    Restart the Internet Explorer
    4.if still not work, run system restore.
    Start>type system restore in the search box>click system restore>follow the steps in the wizard to choose a restore point.
    For more information, please see:
    Nothing happens when you click a link in Internet Explorer
    http://support.microsoft.com/kb/175775/en-us#method4
    Hope this helps,
    Ada Liu
    TechNet Community Support

  • 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

  • Can Firefox open one page in same window?I could do that few days ago,and now all of a sudden it open new page in new tab or new window.What can I do?Thank you

    Whenever I search something on Google and try to open it,it opens in a new tab or new window.I always could open it in the same tab. Can you help me?

    Hi,
    On the search results page, you can try changing the setting beside '''Results Window''' via the gear icon on the top right corner of the page. Please also see the '''Note''' on the bottom.

  • Opening the OAF page in New Window on the responsibility list page

    Hi Gurus,
    I have a requirement where in I need to open the page on a new window.
    I have created the page,and attached the function to the menu,and attached the menu to a responsibility.
    When a user clicks on the responsibility it shows a list of fuctions available with the appropriate prompt.
    My recquirement is to open the page in a new window when a user clicks a function on the responsibility page.
    Is it possible to do so?If yes how?If not any document supporting this limitation.
    Any help would be highly appreciated.
    Regards
    Srikanth

    Hi Srikanth,
    This is not possible. However you can open the second page in the flow in a new window by setting Target Frame property to _blank.
    Anoop

  • Firefox not opening new pages in new tabs

    Just updated to FF 5.0 on OS 10.6.6. Got my pref set to open new pages/bookmarks in a new tab, but it just loads them into the current window.
    I disabled all of my extensions (Download helper, web dev tools, Firebug, TinyURL generator, Yahoo mail notifier) and no dice.
    Arg! What happened?
    I appreciate any suggestions.

    If you left-click a link then that link is always opened in a the current tab.<br />
    You need to middle-click a link or use command+Left-click to open the link in a new tab.<br />
    The setting in Firefox > Preferences > Tabs only makes it possible to divert links that specify a target window to open in a new tab instead.
    You can look at these extensions:
    *Open Bookmarks in New Tab: https://addons.mozilla.org/firefox/addon/open-bookmarks-in-new-tab/
    *Open Link in New Tab: https://addons.mozilla.org/firefox/addon/open-link-in-new-tab/

  • New page in browser window on event trigger

    Hello Experts,
    I have created webdynpro abap application which generates pdf  interactive forms on pressing a button in UI. I want pdf to be generated in the new page of browser instead of the current page.
    Any suggestions how can I implement this?
    Thanks & Regards,
    Viral

    Hello Viral,
    Anky is helping you to open a new browser window tith 'Google' website.
    In your case, could you do the below steps:-
    Step1 : create a new window, add your view containing Adobe interactive form into this window.
    Step 2: Open this window on button action event. Following snippet of code might be helpful for you.
    DATA lo_nd_tabnode TYPE REF TO if_wd_context_node.
    lo_nd_tabnode = wd_context->get_child_node( Name = '<Node_Name>' ).
    data lo_window_manager type ref to if_wd_window_manager.
    data lo_api_component  type ref to if_wd_component.
    data lo_window         type ref to if_wd_window.
    lo_api_component  = wd_this->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->create_window(
                       window_name            = '<Window_Name>'
                       message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                       button_kind            = if_wd_window=>co_buttons_ok
                       message_type           = if_wd_window=>co_msg_type_none
                       default_button         = if_wd_window=>co_button_ok
    lo_window->open( ).
    Explanation:
    Line 1 & 2. A reference to the context node is created This context node(Node_Name) which is mapped to the UI elemenents on the adobe interactive form.
    Line 3,4 & 5: reference to the window manager, component and window are created(all those starting with 'if' stands for interfaces, if you want details about these interfaces, goto transaction SE24 and insert their name and search for parameters and methods.- putting all these details as you said you are new to Wd ABAP).
    rest of the lines: creating window API and assigning mandatory parameters to this window.
    last line: opening window whenever this particular(wd window) is getting called.
    for more details goto SE 24 search with 'if_wd_window".
    Cheers,
    Jakes.

  • How do I get new pages in new tabs to automatically go the same setting as my home page? Google is my home page, and I want the opening in new tabs to default to Google also.

    Whenever I open a new tab, I want the new page to open to the same setting as my Home Page (in my case, Google). Instead it takes me to Bing. Even my Home Page reverts to Bing after I've set it to Google.

    The default New Tab in Firefox is a blank page and there is no built-in option to change that.
    *CTRL+left-click the Home icon will open a new tab to your set home page.
    **See --> http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    *This Add-on will open a new tab when clicking the new tab "+" icon (or when clicking New Tab from the menu) to whatever page you set in the options for the add-on:
    **'''''New TabURL''''': https://addons.mozilla.org/en-US/firefox/addon/newtaburl/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Does Contributor can create new pages or new tabs or templates?

    Hi ,
    I am very new to Oracle UCM. I want to know weather Contributor can able to create a new page?.
    or can we dynamically add the tabs ?
    if possible how? , i am seeing only the html editor window for contributors
    appreciate your help.
    Thanks
    ~Hari
    Edited by: 860897 on Jun 4, 2011 1:03 PM

    I don't know what you mean by "add a new tab". If you're talking about adding new website sections (ie. folders) through the contributor interface to dynamically build the navigation, then the only way is to use the "site studio manager" fragment (w/out using Designer, of course). And then make sure your contributors can create and assign content to a region once they're in contributor mode.

Maybe you are looking for

  • Cannot deploy EntityBean from Weblogic 5.1

    Hi everyone, I'm relatively new to EJB deployment, but there is an Entity bean that I was able to deploy using Weblogic 4.0 and fail to do the same with Weblogic 5.1, although I'm going through all the necessary steps, like creating xmls (ejb_jar, we

  • Build EJB in Workshop that can build in Ant outside of EAR

    In a project I work on, we have a directory structure that contains individual components with their own build scripts. Some of these components construct ejb jars as their output. We also have a separate component that uses the WLS Ant tasks to cons

  • Reading a text file with GUI_UPLOAD

    Hello,   I'm trying to read a text file into an internal table of text lines using GUI_UPLOAD. The problem is that I can only read a maximum of 255 characters from each line. So for example, if the first line in the text file contains 260 characters,

  • Colors washed out after restart

    I recently had a system wide spinning beach ball, couldn't launch Terminal or Activity Monitor so I was forced to restart the machine. When I logged into my main user, all the colors were washed out and hazy. The highlight colors look different, some

  • Issue with dialog boxes in Designer, please help

    Hi, I'm having a problem with designer the last 4 days. It was working fine before. Any dialog box wants to open, I can not insert tables, edit properties, etc. I'm using Designer 11.5.0.0 with SP3 update, I reinstalled every thing, but it's still no