Open HTML page as a tab inside ADF Page

Hi All,
I have a link in my adf(jspx) page,which should actaully open a html page in a new tab.
I am not sure how to implement this.
I am able to open jsp fragments on new tab.But not HTML Pages.
Can anyone help me on this.
Thanks in Advance.

Vikram
Thanks for the reply.
I want the tab to be opened inside the adf page itself as adf dynamic tab..not as a separate tab in browser.
Sorry for not framing the question to the point.
Opening adf fragments in a new tab inside the adf page itself is possible.
But am able not able to specify a html page to open in a new adf tab in the same adf page.
Thanks.

Similar Messages

  • Getting Blank page when i am running ADF page from jdeveloper 11.1.1.0.1

    Hi All,
    I have created new ADF page in Jdeveloper 11g. I have done the steps which are mentioned in the OTN ADF tutorial. when i am running the page, i am getting blank page in the console its throwing the below exception. pls help me.
    <Dec 23, 2008 11:12:43 AM GMT+05:30> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@beaed3 - appName: 'BrowseEditApp', name: 'BrowseEditApp-ViewController-context-root', context-path: '/BrowseEditApp-ViewController-context-root', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@1db6c8c[
    GET /BrowseEditApp-ViewController-context-root/faces/adf.task-flow?adf.tfId=orders-flow&adf.tfDoc=/WEB-INF/orders-flow.xml HTTP/1.1
    Accept: /
    Accept-Language: en-us
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
    Connection: Keep-Alive
    ]] Root cause of ServletException.
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:336)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    Truncated. see log file for complete stacktrace
    can any body help me
    thanks
    Venkat

    Hi,
    hard to tell what the problem is because all that the stack trace tells us is that you are invoking a bounded taskflow from a browser. If the bounded taskflow is built with pages (not page fragments) then this should bring up the default activity.
    Frank

  • JSF Page Navigation from Tab to another page and back to tab

    I have a Page with tabs and a button in each of those presenting a Table and "Create Button"
    I would like to go to a new page and come back to the same active tab.
    How do I set the page navigation properties?
    Right now I am in
    Page1(Tab3) Button click-> page2(Create)->Page1 is showing a wrong active tab.
    Can we tell page navigation to go activate a tab it came from?
    Message was edited by:
    spattabiraman

    Hello, maybe if u declare a sessionbean variable as string, in the page u want to open thew tab, in init() you must call the session bean withh the name of the tab u are calling, for example:
    getSessionBean1().setSeltab("tab1");
    i hope it can help
    Beltazor

  • Is it possible to Forward to another adf page in ReturnListener method?

    There is button in the page. It is used to pop up a dialog. After the dialog is returned. The ReturnListener of the button is triggered. I want to forward to another adf page in the ReturnListener.
    I searched the forum and found the following page:
    Re: Forward to another adf page from inside onPageLoad event
    I tried all the methods mentioned above, but all of them failed.
    Is there any other solutions?
    Regards,
    Jason

    I had the same problem with a return listener on a commandmenuitem. The navigation doesn't work because there is no partial submit.
    The workaround is to construct a menu item from a commandlink and objectimage. It looks and works the same as the commandmenuitem but you can set partialsubmit=true.
    For example:
    <af:panelGroup layout="vertical">
    <af:panelHorizontal>
    <af:objectSpacer width="10" height="10"/>
    <af:commandLink id="linkButIcon" useWindow="true"
    action="dialog:GoLinkedMatters"
    windowHeight="#{backing_app_ea_LinkedMatters.windowHeight}"
    windowWidth="#{backing_app_ea_LinkedMatters.windowWidth}"
    returnListener="#{backing_app_summary_DPSummary.linkedMattersReturn}"
    partialSubmit="true">
    <af:objectImage source="/images/link.gif"/>
    </af:commandLink>
    </af:panelHorizontal>
    <af:commandLink id="linkButLink"
    useWindow="true"
    textAndAccessKey="#{res['esolve.toolbar.links']}"
    action="dialog:GoLinkedMatters"
    windowHeight="#{backing_app_ea_LinkedMatters.windowHeight}"
    windowWidth="#{backing_app_ea_LinkedMatters.windowWidth}"
    returnListener="#{backing_app_summary_DPSummary.linkedMattersReturn}"
    inlineStyle="font-size:8.0pt;"
    partialSubmit="true"/>
    </af:panelGroup>

  • How can we register  the ADF Pages in CRM Application.

    Hi All,
    i am new to the ADF i have some doubts on ADF..
    1.can we register the ADF Pages in CRM Application.
    CRM:
    In my company CRM is the front end application developed in PHP to maintain the employees information.
    Now i need to develope some ADF Pages and i register this ADF Pages in CRM Application.
    If it is possible to Register ADF Pages in CRM Application .
    2.How can we register can anybody explain the Steps please.
    OR
    3. Which version of Jdeveloper is suitable for this type of ADF pages.
    Thanks,
    Mallik.

    Well, not sure I understand 'register' here. You can have a php page and link it to a adf page which runs on a server, but I guess you are talking about something totally different.
    Timo

  • 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

  • Trying to open a page in IE-tab using javascript, script type="text/javascript" window.location.href="chrome://coralietab/content/container.html?url=0,myurl" /script Error:Component returned failure code:0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.href]

    I am trying to open a page in IE-tab using javascript like this, <script type="text/javascript"> window.location.href = "chrome://coralietab/content/container.html?url=0,myurl" ;</script>.Error occured : [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.href]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::myurl :: load :: line 234" data: no] I have IE-Tab plug-in installed..when I open the same link manually in mozilla,it works fine and page gets opened in Ie-tab.

    The only way this might be possible is by using the HostContainer object
    to access the HTML page and do it from there.

  • Hotkey for switching between open html pages similar to Apple+Tab for apps

    Is there a hotkey combination which can switch between open html documents in the same way Apple+Tab switches between open applications?
    In Windows it is possible to switch use ALT+TAB to switch between various open Firefox windows which are displayed as options along with other open applications -- but OSX seems to limit choices only to applications, and not their various windows. ?
    Thanks

    Hmm...sorry...just switched yesterday afternoon...this combo though doesn't seem to be working for me in either Firefox or Safari...tried Command+< also with the SHIFT key for '<' but to no avail.
    Mind if I ask a two more simple questions though? How can the touchpad be setup to automatically register a click by tapping on the touchpad rather than the button beneath it...and...is there a hotkey combo which would take a person back to the beginning of a text field, similar to 'Home'? Haven't yet figured out how to make the arrow with "home" on it actually send the cursor back to "home"...
    many thanks

  • 'UIComponent is null' error while opening a tab in ADF

    Hi,
    I am using JDeveloper 11.1.1.5.0
    I am navigating from one ADF page to other in my ADF task flow. 2nd ADF page is having multiple tabs with showDetailItem. My requirement is that i need to open a particular tab in 2nd page from 1st page
    (1st page) ---> (2nd page) (here a particular tab should open)
    I have made use of NavigationHandler in my code which is working fine. But when I am trying to open a tab during navigation, I am getting 'UIComponent is null' error. below is the code I am using
        public void openDataTab(ActionEvent actionEvent) {
            NavigationHandler nvHndlr = FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
            nvHndlr.handleNavigation(FacesContext.getCurrentInstance(), null, "showOverview");
            AdfFacesContext.getCurrentInstance().addPartialTarget(panelTabbed);  //getting 'UIComponent is null' error here
            dataTab.setDisclosed(true);
            transactionTab.setDisclosed(false);
        }I am getting the error only for the first time. From second time onwards, the functionality is working fine.
    Please let me know how to resolve this error.
    regards,
    Rajan

    Hi,
    this code should not be used for navigation as it bypasses JSF lifecycle methods
    //don't use
    NavigationHandler nvHndlr = FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
    nvHndlr.handleNavigation(FacesContext.getCurrentInstance(), null, "showOverview");
    To solve your issue, add a managed bean in pageFlowScope or use an attribute inpageFlowScope that you use to identify the tab to be opened. Then in the second page, use the "disclosed" property on the showdetailItems to evaluate the pageFlowScope information and then return true or false respectively. The tab that evaluates to "true" will be opened.
    Frank
    Ps.: JSF component trees are created upon render response phase, which is why your programmatic attempt (which happens during invoke_application phase fails

  • 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

  • MAC - Can't open a link/URL in a new tab inside a folder

    I can't open a link/URL in a new tab inside a folder from a Mac. I am sure I can do that in PC. Please advice. Thanks in advance.

    Does the URL go to a regular web page, or another kind of file (e.g., PDF, PowerPoint)?
    If you right-click the link and choose Copy Link Location, then paste to the address bar and press Enter, does Firefox load the link as expected?

  • Opening ADF page from java script

    I am trying to use window.open(url, winName) to open an ADF page from java script.
    I have set the same winName but when i call the window.open method every time it opens up a new window.
    The code is as below:
    <html>
    <head>
    </head>
    <body>
    <script>
    function openwin() {
    window.open("about:blank", "winDocPrint", "width=800,height=600,location=no");
    </script>
    <form action="http://127.0.0.1:7101/RegionRefresh-ViewController-context-root/faces/EnterAndDisplay?_afrLoop=3611588465186&_afrWindowMode=0&_adf.ctrl-state=zoaas2mc3_4" target="winDocPrint" onsubmit="openwin">
    <input type="submit" value="Print Comments Call ADF">
    </form>
    </body>
    </html>
    when I click the button first time, it opens a new window, and keeps opening a new windows on clicking the button again.
    I want it to use the same window that was opened first time.
    Any help would be appreciated.
    Thanks,
    Sandeep M.
    Edited by: user8895611 on Mar 25, 2010 11:44 PM

    Hi,
    you need to keep the window handle reference so you can access the same window
    http://www.irt.org/script/874.htm
    Frank

  • Error when running applet in a adf page (but succeed in html)

    Hi all
    I have a movie player applet and want to put it in my web page.
    I tried with html and the applet work just fine. Here is my code:
    <applet code=SimplePlayerApplet width=320 height=300>
    <param name=file value="Unknown2.mov">
    </applet>
    However, when I put it in adf page, nothing is displayed:
    <jsp:plugin code="SimplePlayerApplet.class" codebase="." type="applet" align="middle" width="320" height="300" jreversion="1.6" >
    <jsp:params>
    <jsp:param name="file" value="Unknown2.mov" />
    </jsp:params>
    <jsp:fallback>
    <p>This plugin can't be loaded</p>
    </jsp:fallback>
    </jsp:plugin>
    The html page and the jspx page I put in the same directory structure.
    And link to html: http://127.0.0.1:7101/JMFStudio-Project1-context-root/htmlTest.html
    Link to the jspx: http://127.0.0.1:7101/JMFStudio-Project1-context-root/faces/untitled1.jspx
    So I tried changing codebase to "/faces" but nothing happens.
    Any suggestion? should I put codebase as "." ??
    Thanks a lot.

    I use the verbatim tag, or use the <jsp:plugin> as above with the code attribute specified without ".class" the applet is loaded ( I can tell as there is loading media panel of the applet displayed ). However the movie is never played.
    <f:verbatim>
    <applet code="SimplePlayerApplet" width="320" height="300">
    <param name="file" value="Unknown2.mov" />
    </applet>
    </f:verbatim>
    It seems that the movie file is not found??
    If I view source code of the page, I see the code generated as follow
    - <f:verbaim><applet>..... : <applet code="SimplePlayerApplet" width="320" height="300"><param name="file" value="2.mov"/></applet>
    -<jsp:plugin> : <EMBED type="application/x-java-applet;version=1.6" pluginspage="" code="SimplePlayerApplet" codebase="." align="middle" archive="" hspace="" name="" vspace="" title="" height="300" width="320" file="Unknown2.mov" >
    <NOEMBED><p>This plugin can't be loaded.</p></NOEMBED></EMBED>
    Is there any issue of loading file source with adf page? Previously I encountered the similar issue when trying to embed a plain movie file into a adf page. I used <embed> or <object> tag inside the verbatim tag. But there is nothing displayed in the browser. (I suspect the problem with the loading of file source as when I replace the movie source (which is stored locally) by a url to a video on the internet, it worked fine)
    Any suggestion? how do I debug this?
    Thanks a lot.
    Khue.

  • Open html inside flash it´s posible?

    open html inside flash it´s posible?

    I've been trying to create a link in flash8, to link to an
    html page the whole week, no success at all. I dont think anyone in
    this
    forum's got any answer to that. When I run the swf file alone
    it works but as soon as I import it into Dreamweaver, all links to
    an html file created in flash fails.But if by any chance you get
    the answer please would u send it to this emall address:
    [email protected]

  • How to apply html css code in ADF pages

    I have the css code for all html components like buttons , text box, tabs etcc.. I want same look and feel in adf, I want to apply same css in ADF pages without/with minimal changes,
    I need very urgently,
    plz do needful ASAP.
    Thanks & Regards,
    Ram.

    Hi..
    Also this will helpful
    http://technology.amis.nl/blog/5722/using-adf-faces-11g-skinning-for-setting-the-styles-of-specific-component-instances-or-groups-of-instances

Maybe you are looking for