Including jspx page into Panel Tabbed !!

Hi all,
Jdeveloper 11g is really powerful ..
I want to create windows explorer interface which consists of two main areas:
First one represented as a tree and the second to show the details of the selected item in the tree. I want the detail area to be as tabbed so that multiple tabs can be seen at a time, I developed most of this issue.
Here is my question:
How to include a jspx page into one of the tabs (showDetailItem) created in the panel tabbed, I've tried <jsp:include> but it didn't work
Regards,
Bassam

not sure what you mean by Panel Tabbed, but you should be able to do something like the following so that when user clicks on a tab, the proper page will load:
<af:showOneTab binding="#{backing_bean.showOneTab1}"
id="showOneTab1" position="above">
<af:showDetailItem text="Tab Text"
binding="#{backing_bean.showDetailItem1}"
id="id"
disclosed="#{some evaluation}">
<!-- include header jsp -->
<f:subview id="positionHeader">
<jsp:include page="/Header.jspx"/>
</f:subview>
</af:showDetailItem>
</af:showOneTab>
the included jsp will need to be stripped of at least the <f:view> tag since it's being included in another page that will already have the <f:view> tag. Can't remember if there are other tags <afh:html>, <afh:body> which might need to be removed from the included jsp.

Similar Messages

  • How export a pie graph(displayed in jspx page) into a PPT file.

    I am trying to export a pie graph(displayed in jspx page) into a PPT file using Apache POI. But I am facing a problem when I calling the below mentioned code from a button.
    Code:
    SlideShow slideShow = new SlideShow();
    Slide slide = slideShow.createSlide();
    FileOutputStream out = new FileOutputStream("slideshow.ppt");
    slideShow.write(out);
    out.close();
    The above mention code is working and a blank ppt file is created when I am running the code from a standalone java class. But when it is called from button in an adf project code is not throwing any exception but the ppt file is not created.

    Hi,
    sorry but the code snippet alone doesn't help to solve the problem. Did you debug the code to see if it works? My assumption is that the file gets written, just not in the directory you are looking at
    Frank

  • 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

  • Include XSQL page into UIX page

    Hello,
    I am trying to build a page in UIX and then include an XSQL page into the <contents> region of the <pagelayout>.
    Does anyone know if this is possible? And if yes, if this should work agains OC4J and/or Apache/Jserv?
    I tried including the page using <uix:include node="pagename" /> but
    the uix engine assumes that the node has an .uix extension so this does not work (or even compile). Using the xsql namespace, I also tried <uix:include xsql:node"pagename" /> which does compile, but does not generate any output.
    Any ideas?
    Jeroen van Veldhuizen

    Hello,
    I am trying to build a page in UIX and then include an XSQL page into the <contents> region of the <pagelayout>.
    Does anyone know if this is possible? And if yes, if this should work agains OC4J and/or Apache/Jserv?
    I tried including the page using <uix:include node="pagename" /> but
    the uix engine assumes that the node has an .uix extension so this does not work (or even compile). Using the xsql namespace, I also tried <uix:include xsql:node"pagename" /> which does compile, but does not generate any output.
    Any ideas?
    Jeroen van Veldhuizen Hello Jeroen,
    First of all, why are you trying to do this? Is it for data binding with BC4J view objects? ?If so, then you might want to know that UIX already has native data binding support for BC4J.
    Having said that, I am not sure if you can combine XSQL and UIX tags. I shall verify this and let you know.
    Thanks
    -Kishore
    JDev Team

  • Include jspx page in af:regionDef

    Does any body know how to include a jspx/jsp page in <af:regionDef>
    tag
    Thanks in advance

    Make that as another region & you can include that region..
    <af:regionDef var="attr">
    <af:region id="_id0" regionType="AnotherRegion"/>
    </af:regionDef>

  • Large page with panel tabbed.

    Hi, i´m new here.
    I´m working in a web application that have a panelTabbed with a lot of components in each tab (graph, pivotTable, comboBox, button...). I´m using af:declarativeComponent for modulizing the page. Each graph or pivotTable is a declarativeComponent. I´m modulizing the panelTabbed too, each tab is a declarativeComponent inside the panelTabbed.
    My problem is that my application runs slow when i´m interacting with it, for more components more slow (every 'getter' methods are executed when the page is rendered, even with PPR). I know that always the page is rendered when i´m updating it, even with PPR, this is not my problem.
    I think that i can change the way i´m modulizing my page for runs faster but i don´t know which is it. Anybody can help me?
    Thanks for all!

    http://technology.amis.nl/blog/5769/create-deploy-and-consume-an-adf-task-flow-with-adf-business-components-inside
    http://andrejusb.blogspot.com/2007/08/adf-task-flow-in-jdeveloper-11g.html
    http://technology.amis.nl/blog/5746/introduction-to-adf-reusable-task-flows-consume-a-bounded-task-flow-that-gets-synchronized-with-input-parameter-changes
    the above link will be useful to know about taskflows..
    usign a declarative component for already avaialbe compoenents like pivotTable, panelTabbed and graph is not a good approach is what i feel.. you should make best use of the components provided by the framework..

  • How to break up one large jspx page into two pages

    How do i break it up without losing the functinality of the application.
    thanks

    I fixed it like this:
    In the parent page:
    <af:panelTabbed id="panelTabbed1" inlineStyle="width:1900px; height:500px;">
    <af:showDetailItem text="tab name" id="showDetailItem1">
    <af:declarativeComponent id="id01" viewId="tabfragment1.jsff"/>
    </af:showDetailItem>
    <af:showDetailItem text="tab name" id="regProviderId">
    <af:declarativeComponent id="id02" viewId="tabFragment2.jsff"/>
    </af:showDetailItem>
    </af:panelTabbed>
    In the child pages:
    tab1 fragment 1 tabFragment1.jsff
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" version="2.1"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:directive.page contentType="text/html;charset=utf-8"/>
    <af:componentDef>
    your components inside
    </af:componentDef>
    </jsp:root>

  • How to include 2 jspx pages in one jspx page and should navigate each other

    Hi,
    How to include 2 jspx pages in one jspx page. When I click on submit button in one page I should able to display those values in another jspx page.
    Plz give me systax or any examples on this requirement.
    Thanks

    I divided one jspx page into 2 parts(Left and Right). In Left side part contain Tree component. Onclick on any node in Tree component, Include another jspx page in Right side. The included jspx contain one submit button. If I click on that button corresponding backing bean is not getting call.
    If I tested with individual pages its working fine. It is getting fail when ever I included jspx page into another.

  • Include one *.jspx page in another

      Hello, I've got problem with including one *.jspx page in another.
    My pages:
    index.jspx:
    <?xml version='1.0' encoding='utf-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <jsp:directive.page contentType="text/html;charset=utf-8"/>
        <f:view>
            <af:document id="fileExplorerDocument" title="jjj">
                <af:form id="f1">
                    <af:panelStretchLayout id="psl" topHeight="100" startWidth="10%" endWidth="10%">
                        <f:facet name="top">
                            <jsp:include page="/include.jspx" flush="true"/>
                        </f:facet>
                    </af:panelStretchLayout>
                </af:form>
            </af:document>
        </f:view>
    </jsp:root>
    and
    include.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:h="http://java.sun.com/jsf/html">
        <af:panelStretchLayout id="header_psl" topHeight="20" startWidth="300" endWidth="300" bottomHeight="20">
            <f:facet name="start">
                <af:outputText value="ads" id="header_asd"/>
            </f:facet>
        </af:panelStretchLayout>
    </jsp:root>
    why this doesn't work? When I paste content from include.jspx page it works...

    I think you need to review how ADF works. After that, create a page fragment with the code you want to include. Create a task flow and insert the page fragment. Insert the taskflow as a region in your jspx page and that's all.
    Jhon

  • Including a jsf page into simple jsp

    hey i m including a xhtml i.e facelet into an jsp file.till this scenarion it is working fine but when i am including that page into another jsp page it is not showing the correct representation of the jsf components

    I know it is frustrating to have a problem, but read your own question and ask yourself this: can anybody help me with the information I am giving here? I hope you can reason for yourself that this is simply not true, no matter how much you want it to be.
    You'll have to dig deeper yourself until you can either solve it, or unearth more information that might allow people to help you.

  • How to include jspx in a jspx??

    Hi All,
    I want to include jspx in another jspx, if i use the below syntax after the panelForm:
    <afh:rowLayout width="100%">
    <jsp:include page="/jsps/admin/generalAdmin/editManProfAttr.jspx"/>
    </afh:rowLayout>
    It is throwing an below exception:
    javax.servlet.jsp.JspException     
    at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:137)     
    at jsps.admin._generaladmin._editManProfAttr_jspx._jspService(_editManProfAttr_jspx.java:67)     [jsps/admin/generalAdmin/*editManProfAttr.jspx*]     
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    I have made the included jspx page name in bold in the above exception.
    Regards,
    R N V Prasad

    If you include another jsf, tag conflicts may cause error like f:view. A jsf page can contain only one f:view. In your include page remove all tags except jsp:root. Also add flush="true" in the jsp:include.

  • Panel Tabbed Inter-Region Communication - jdev 11.1.2.3

    Hello:
    I have a page with panel tabbed.  In each showDetailItem (TAB) there is a bounded task flow (BTF from ADFLib) that needs to receive employeeID.
    The employeeID is used as a bind variable for each VO query shown in the tab. When the user clicks on a new tab, I want to receive the employeeID
    in the BTF and set the bind variable in the VO and then let the BTF  execute the query so when the tab doscloses it shows the VO results based on the new employeeID.
    Note: it is the clicking of a tab that should accept the employeeID and set the bind variable so when the VO executes it correctly displays the results of the query in the newly opened tab.   Currently I am using BTF Input Parameters to get the employeeID, which works ok. But how do I set the VO bind variable to the new employeeID before the BTF executes?  Note: I know how to set VO bind variables with:
    getParmsMap().put(bindVar, employeeID)
    which I tried setting in the BTF Initializer. But this does not work. It seems ADF is processing somehow and does not like when I try to process my query within it's normal ADF lifecycle of disclosing the tab.
    So when a new tab is selected to be opened, I need to accept the new employeeID, set the bind variables of the VO, before the ADF lifecycle kicks in to display the newly opened tab.  When the tab is finally displayed by ADF, the VO query results should show the results based on the new employeeID.
    How can I make this happen?
    Any articles or sample code would be greatly appreciated.
    Thanks much.

    bump!

  • Panel Tabbed with regions

    Hi
    I have Panel Tabbed with two items inside - both contains regions inside (static - not dynamic).
            <af:panelTabbed id="pt1" partialTriggers="t1">
              <af:showDetailItem text="Item 1" id="s1">
                <af:region value="#{bindings.emp.regionModel}" id="r1"/>
              </af:showDetailItem>
              <af:showDetailItem text="Item 2" id="s2">
                <af:region value="#{bindings.dept.regionModel}" id="r2"/>
              </af:showDetailItem>
            </af:panelTabbed>Logging initializers and finelizers for task flows inside these regions I noticed that both are triggered when I enter on the page with Panel Tabbed. Only task flow on selected item should be loaded - em I right ? Is there any property to set "loading on demand" regions in Panel Tabbed ?
    Kuba

    Hi,
    depends on the JDeveloper version you are on. For example, you can set a task flow binding (in pageDef) to deferred loading in which case it does what you want it to do. Early JDeveloper 11g R1 releases did not have this feature, in which case the behavior is as you see it. So you may need to check your JDeveloper version, and if it is an upgraded JDeveloper 11g application, check the deferred setting on the task flow binding
    Frank

  • How to open a panel tabbed window using a button present in the same page

    below is my jspx page where i have two buttons and two panel tabs. I want to open respective panel tabs using respective buttons:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backing_pages_bb.d1}">
    <af:form id="f1" binding="#{backing_pages_bb.f1}">
    <af:panelStretchLayout binding="#{backing_pages_bb.psl1}" id="psl1">
    <f:facet name="bottom"/>
    <f:facet name="center">
    <af:panelTabbed binding="#{backing_pages_bb.pt1}" id="pt1">
    <af:showDetailItem text="first"
    binding="#{backing_pages_bb.sdi1}" id="sdi1"/>
    <af:showDetailItem text="second"
    binding="#{backing_pages_bb.sdi2}" id="sdi2"
    rendered="true" disclosed="false"/>
    </af:panelTabbed>
    </f:facet>
    <f:facet name="start"/>
    <f:facet name="end"/>
    <f:facet name="top">
    <af:panelGroupLayout binding="#{backing_pages_bb.pgl1}" id="pgl1">
    <af:commandButton text="first"
    binding="#{backing_pages_bb.cb1}" id="cb1"
    action="#{backing_pages_bb.cb1_action}"/>
    <af:commandButton text="second"
    binding="#{backing_pages_bb.cb2}" id="cb2"
    action="#{backing_pages_bb.cb2_action}"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_pages_bb-->
    </jsp:root>
    below is the backing bean created for the jspx page:
    package view.backing.pages;
    import javax.faces.component.UIComponent;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    import oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout;
    import oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout;
    import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    public class Bb {
    private RichForm f1;
    private RichDocument d1;
    private RichPanelStretchLayout psl1;
    private RichPanelGroupLayout pgl1;
    private RichCommandButton cb1;
    private RichCommandButton cb2;
    private RichPanelTabbed pt1;
    private RichShowDetailItem sdi1;
    private RichShowDetailItem sdi2;
    public void setF1(RichForm f1) {
    this.f1 = f1;
    public RichForm getF1() {
    return f1;
    public void setD1(RichDocument d1) {
    this.d1 = d1;
    public RichDocument getD1() {
    return d1;
    public void setPsl1(RichPanelStretchLayout psl1) {
    this.psl1 = psl1;
    public RichPanelStretchLayout getPsl1() {
    return psl1;
    public void setPgl1(RichPanelGroupLayout pgl1) {
    this.pgl1 = pgl1;
    public RichPanelGroupLayout getPgl1() {
    return pgl1;
    public void setCb1(RichCommandButton cb1) {
    this.cb1 = cb1;
    public RichCommandButton getCb1() {
    return cb1;
    public void setCb2(RichCommandButton cb2) {
    this.cb2 = cb2;
    public RichCommandButton getCb2() {
    return cb2;
    public void setPt1(RichPanelTabbed pt1) {
    this.pt1 = pt1;
    public RichPanelTabbed getPt1() {
    return pt1;
    public void setSdi1(RichShowDetailItem sdi1) {
    this.sdi1 = sdi1;
    public RichShowDetailItem getSdi1() {
    return sdi1;
    public void setSdi2(RichShowDetailItem sdi2) {
    this.sdi2 = sdi2;
    public RichShowDetailItem getSdi2() {
    return sdi2;
    public String cb1_action() {
    // Add event code here...
    return null;
    public String cb2_action() {
    // Add event code here...
    return null;
    Wat method has to be coded inside cb1_action and cb2_action so that respective panels are opened.
    thank u for ur help in advance.

    Hi,
    If the data need to be passed is large, consider using Shared Memeory Objects: Check this doc for reference: How to pass data from ABAP to Web Dynpro ABAP
    Hope this helps u,
    Regards,
    Kiran

  • How can I insert an existing ApDiv into a tab in the Spry Tabbed Panel?

    I have 5 of them all containing nested Apdiv within nested ApDivs (a long storie ) that I would like to insert into 5 tabs in the Spry Tabbed Panel.
    Please help.

    "Hi Gramp,I realize I have made hard work for myself but I really don't know any better. I also realize now that taking on this project may have been a mistake :-)I taught myself how to use the design side of Dream Weaver. These five ApDivs were created in the content area of the spry tool and it worked fine. (yes a lot of work though)For the first time I looked at the code side. I wanted to try to bring a peace of code from another page for something unrelated and when it didn't work I took it out and without noticing, deleting a line from the Spry tool.Of course like a classic newbe I was working without a backup copy so here I am. Loosing hours of tedious work and on the verve of tears :-)I do have some  questions though.  My APDiv
      What does "apDiv1" stands for and what does "My APDiv" stands for?Is the only thing I have to do is changing this line for my five ApDivs and paste it in the appropriate places in the code? Thanks again,Gilaad
    Date: Sat, 16 Jun 2012 20:39:07 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I insert an existing ApDiv into a tab in the Spry Tabbed Panel? 
        Re: How can I insert an existing ApDiv into a tab in the Spry Tabbed Panel? 
        created by Altruistic Gramps in Spry Framework for Ajax - View the full discussion 
    You have really made hard work for yourself by using APDiv's. I suppose it can be done, but I would not. To answer your question, I have create an example as per#apDiv1
    My APDiv
    Content 2
    Tab 1
    Gramps 
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4498679#4498679
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4498679#4498679. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Spry Framework for Ajax by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for

  • Persistent Data on kTextStoryBoss

    Hi Folks, I've written some code to add persistent data to a story/text model. This has involved adding my Interface\implementation to the kTextStoryBoss as follows... AddIn     kTextStoryBoss,     kInvalidClass,         IID_IMYINTERFACE, kMyImpl wit

  • Calling an SAP Transaction in cProjects Object Links

    Hi all, Can anyone help with the steps to be done in order to call an SAP Transaction in cProjects via services to Object Links. We succeeded to get the object links from R/3, but we are not able yet to see the 'open' link under 'Application' in the

  • Database starting error

    hi all i am using oracle 10g and when i want to start the enterprise manager it gives me the error below Dictionary and Library Cache Statistics error please help me with that Thanks Edited by: khalidoracleit on Apr 14, 2010 4:28 AM

  • Text Catalog showing HTML tags

    We are having an issue after applying Bundle #22 for HCM 8.9 where the calls to the Text Catalog are now showing HTML tags. Has anyone else seen this? Im trying to figure out if its the bundle or something maybe with our customizations that have affe

  • Problem accessing Webservices from Flex

    Hi All, I have created a Webservice in Abap and configured it using SOAMANAGER transaction. I am able to succesfully test the Web serivice which I have created in 'Soamanager ' transaction. But when I am calling this Webservice from Flex application