Include a template in a WAD tab component

Hi all,
we are on WAD7
We inserted a tab component with three tabs in our template
On the first tab is a 'costs' graph
On the second tab is an 'income' graph.
Everything works perfect.
We can switch between the two graphs
Now we want to include another template on the third tab.
This does not work.
Is it a known problem?
Is it possible to include templates in the tab component?
Thanks for any help,
Hans

hi
include a template ?????
wat r u trying to inlcude, r u trying to run another query in same template in different tabs
then u need to  bring in analysis item
assign data provider, create dataprovider2 and assign technical name of query2 to this data provider
assign this data provider to ur analysis item 2
is this wat u wanted to include in template.
let me know
assign points if this helps,
Edited by: kartikey on Jan 4, 2008 4:44 PM

Similar Messages

  • Uix: including multiple templates

    Hello,
    I have a common template - which defines the tabs, branding and other common features. For every tab I have three sub-tabs (page headers). Each page header will have its own side nav items. This is what I am trying to do and I do not know if it is even posible:
    1. Define common.uit ( done ) - it has three tabs: View, Admin, Reports
    2. Define viewtemplate.uit - which will be the page headers ( sub tab ) for the "View" tab
    3. Define viewsidenav_1.uit - which will hold the definition for the side nav for View: page header_1
    I am not too sure how to get this together in the view_tasks.uix
    These are my definitions:
    common.uit
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace="commonTemplateTargetNamespace"
    localName="Common" expressionLanguage="el">
    <type base="ui:pageLayout">
    <attribute name="selectedTab" javaType="int"/>
    <attribute name="selectedPH" javaType="int"/>
    </type>
    <content>
    <pageLayout>
    <attributeMap>
    <rootAttributeMap/>
    </attributeMap>
    <childMap>
    <rootChildMap/>
    </childMap>
    <!-- now, the content of the pageLayout -->
    <corporateBranding>
    <image source="http://www.oracle.com/admin/images/ocom/oralogo_small.gif"
    destination="http://www.oracle.com"/>
    </corporateBranding>
    <tabs>
    <tabBar selectedIndex="${uix.rootAttr.selectedTab}">
    <contents>
    <link text="View" destination="../view/view_tasks.uix"/>
    <link text="Admin" destination="admin.uix"/>
    <link text="Report" destination="report.uix"/>
    </contents>
    </tabBar>
    </tabs>
    <globalButtons>
    <globalButtonBar>
    <contents>
    <globalButton text="Login" destination="login.uix"/>
    <globalButton text="help" destination="help.uix"/>
    </contents>
    </globalButtonBar>
    </globalButtons>
    <copyright>
    <styledText text="Copyright Oracle 2006" styleClass="OraCopyright"/>
    </copyright>
    <privacy>
    <link text="Privacy Statement" destination=""/>
    </privacy>
    <contents>
    <rootChild name="contents"/>
    </contents>
    </pageLayout>
    </content>
    </templateDefinition>
    viewtemplate.uit - which defines the page headers
    <?xml version="1.0" encoding="windows-1252"?>
    <!-- Template definition file. Add any needed namespaces,
    and specify the required "targetNamespace" and "localName" attributes -->
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace=""
    localName="ViewTemplate"
    expressionLanguage="el">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="common.uit"/>
    </templates>
    <!-- Type section: Define a "base" attribute if needed -->
    <type>
    <!-- Add any needed named children -->
    <!-- Add any needed attributes -->
    </type>
    <!-- Content section: define the content of the template -->
    <content>
    <!-- Add UINode content here to make your template valid -->
    <pageHeaderLayout>
    <pageHeader>
    <globalHeader selectedIndex="0">
    <contents >
    <link text="pageHeader1"
    destination="http://www.oracle.com"/>
    </contents>
    </globalHeader>
    </pageHeader>
    </pageHeaderLayout>
    </content>
    </templateDefinition>
    <Haven't done the side nav as yet ... > but this is the overall page that needs to include the two templates:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el"
    xmlns:myTemplate="commonTemplateTargetNamespace">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="../templates/common.uit"/>
    <templateImport source="../templates/viewtemplate.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title="View Tasks"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <myTemplate:Common title="View Tasks" selectedTab="0">
    <contents/>
    <tabs/>
    <pageButtons/>
    <globalButtons/>
    <pageHeader/>
    <start/>
    <end/>
    <about/>
    <copyright/>
    <privacy/>
    <corporateBranding/>
    <productBranding/>
    </myTemplate:Common>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    Thanks !

    I think the BC4J UIExtensions are correctly registered.
    This is the servlet element of my web.xml file (that has never been touched):
         <servlet>
    <servlet-name>uix</servlet-name>
    <servlet-class>oracle.cabo.servlet.BajaServlet</servlet-class>
    <init-param>
    <param-name>oracle.cabo.servlet.loggedInKey</param-name>
    <param-value>LoginHandler.isLoggedIn</param-value>
    </init-param>
    <init-param>
    <param-name>oracle.cabo.servlet.loginPage</param-name>
    <param-value>Login</param-value>
    </init-param>
    <init-param>
    <param-name>oracle.cabo.servlet.pageBroker</param-name>
    <param-value>oracle.cabo.servlet.xml.UIXPageBroker</param-value>
    </init-param>
    <init-param>
    <param-name>oracle.cabo.ui.UIExtensions</param-name>
    <param-value>oracle.cabo.data.jbo.ui.JboUIExtension</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>

  • How to move multiple components into a Tab Component and still keep layout?

    I have created a Combination Chart with multiple combo boxes and a slider on my Xcelsius Canvas.  Now, I realize that I want to put all of this into a Tab Set Component.  How can I move everything into this new Tab Component without messing up all the layout and alignment I have done on all my components already?  I tried shift-selecting everything and doing a drag --> drop into the Tab Canvas but they just all stack on top of each other.
    Can this be done?  Would it be wiser to start a new Xcelsius document, place a Tab Set Component on the canvas and then copy --> paste from the original document into the new one? I'm reluctant to do this though (even within the same document) because it forces all components to be renamed back to their defaults such as Chart 1, Combo Box 1, etc etc.
    Edit:
    Bolded my biggest concern on this topic, can components be copy/pasted or cut/pasted and still retain their original name?

    i think this scenario would work fine for you
    choose all the components you want to move from the "Object Browser"
    you can show the Object Browser from the View Menu
    after you select them all, you can drag them to your Tab component
    or you can make them as a group, so it will be easy to move them as the same layout they have.
    to make them as one group
    select them all, go to format menu, and select Group
    now you have all of them as one item, move them to the tab and then you can ungroup them the same way
    good luck
    Amr

  • I've just installed Xcode 4.5 but i can not get iPhone simulator 5.1, 5.0 in tab component from preferences of Xcode ? what should i do ?

    I need some simulator 5.1, 5.0 for Xcode 4.5.  but when i go to component tab from preferences's Xcode 4.5. i got a message is "No components are avaible".
    Can you suggest for me  how to get simulator 5,1, 5.0 from Xcode 4.5 ?
    Thanks,

    Yes. i've restart my computer afterwards it's appear in tab component of Xcode.
    Thanks you.

  • Which is better server side include or templates

    Hi
    which is better server side include or templates? i mean which will be faster in development? and also more robust?
    thanks in advance.

    Hello,
    I think server side include.
    since you will only need to run the database.
    Templates still have the pains of pages
    cheers

  • JSF Tab component and Dynamic Faces AjaxZone

    Has anyone tried to use a JSF Tab Component in a Dynamic Faces Ajax Zone. I would like to try to have a page that has a list of the alphabet, each tab being one letter and then adding terms an definitions to each tab. Do you have any comments or suggestions regarding doing this. I am at a loss as to how to make the tab component respond when clicking on it in the ajaxZone. any help would be appreciated. thnx

    The Scales and Tomahawk libraries provides a tabbed panel.
    But basically tabs are nothing less or more than a bunch of block elements layered over each other with the same amount of buttons or links at the top. If a tab click doesn't require a trip to the server, then you can just load all tab blocks at once and use Javascript+DOM to switch between tab blocks, e.g. one block should be displayed using element.style.display='block' and all other blocks should be hidden using element.style.display='none'. If a tab click require a trip to the server (to preinitialize stuff or so), then you can use the 'rendered' property of the tab block element (which can be <h:panelGroup style="display:block;" rendered="#{myBean.showTab == 1}" /> or so).
    For styling of the tab blocks and tab buttons/links just use CSS.

  • WAD Tabs - Default View

    Hi,
    We have several Web Templates, complete with tabs that contain different charts.
    However, in some templates, the default opening tab is not consistent and after looking through quite a few settings/parameters, I can't see what setting(s) determines the default opening tab/chart. eg. One will open first tab, another at the second tab etc.
    Can anyone shed some light on this, as I guess it is something obvious.
    Thanks,
    Scott

    Hi.
    Could you plz more clarify your issue ?
    Actually you defined "tabstrip container item" and within this item you defibe TABS in "tab panel list".
    Each such tab contain subordinate web item (when you click ot tab panel definition you can see which web item attached to this tab).
    So you can control for each tab which item shown in this tab.
    First tab in tab panel is tab that shown first by default.
    Regards.

  • Updated form/table in showDetails of Panel Tabbed Component

    When there are multiple showDetail components for Panel Tabbed, if anyone of them has an updated form or table, switching between different showDetail components will cause the system throw mandatory field validation errors.
    It looks like all the mandatory LOV fields are reset to be empty in the previous visited tab. Is this the way that Jdev supposed to work? What should we aware of using updated forms/tables in multiple tabs of Panel Tabbed component?

    That's how it works. That's the reason, I get all the data to pre-populate all the components in the page load itself. When I switch between tabs, I don't re-execute the proc and so it won't reset. I use postback to prevent re-execute the proc. when I switch between tabs.
    Boolean postBackValue = (Boolean)JSFUtils.resolveExpression("#{adfFacesContext.postback}");
    Boolean defaultBooleanValue = new Boolean("false");
    if (postBackValue.equals(defaultBooleanValue)) {
    }

  • Moving the tabs to right of the jsf page in the adf panel tabbed component

    Hi,
    i want to move the tabs in the panel tabbed component to the right. In the property inspector of this component, it doesn't have an option called right. How can we do this?
    Thanks,
    sudan

    Hi,
    why there is no reply from the community? Does it mean, no one had any requirement like this before or it is not possible in ADF.
    Thanks,
    Sudan

  • Tab Component Dynamic Visibility to Combo Boxes

    I am using a Tab component.  I have 3 tabs on my dashboard.  I have 2 Combo boxes that I am using to filter rows of data on 3 Excel sheets.  Both Combo boxes are not used on all the tabs.  How can I pass example: User clicks on Tab 1 and use dynamic visibility for Combo Box 1 and Combo Box 2 are visible.  If the user clicks on Tab 2 I want only Combo Box 1 to be visible.

    Hi Joe,
    This can be achieved in Dynamic visibility.
    On click on Tab,just map to some target(say value "1") and then For Combo box,set target cell mapped for tab to 1,which means when the target cell gets "1",show the Combo box.
    If you are not clear then you can refer the following URL,which will give you more informations about this.
    http://everythingxcelsius.com/2008/08/tip-7-xcelsius-dynamic-visibility-video-tutorial.html
    Rgds,
    Murali

  • Access to the Public Templates in the Favourites Tab in the Shop Cart scree

    Hi All,
    How to find out who has the access to the Public Templates in the Favourites Tab in the Shopping Cart screen in EBP 3.O version.
    Any Inputs will be highly appreciated.
    Thanks
    Sunil

    Hi All,
    How to find out who has the access to the Public Templates in the Favourites Tab in the Shopping Cart screen in EBP 3.O version.
    Any Inputs will be highly appreciated.
    Thanks
    Sunil

  • Can a netui:template include another template?

    I have a case where I want to have 2 different templates (myTemplate.jsp and myTemplate2.jsp). Both use almost all of the exact same code, with a minor exception. I didn't want to have to just copy one and modify the one section that is different, b/c if I have to update the common code in the template, then I will have to do it in both places.
              Basically, my JSPs will reference the template named "myTemplate" or "myTemplate2", and each of these references the template named "baseTemplate". Can this be done?
              I have tried, but I get an error saying "No Sections defined, 'xxx' not included in template.", but I have no idea why this is happening, because I thought I was defining a section.
              This is the code I have:
              baseTemplate.jsp
              <pre>
              <netui-template:includeSection name="baseBodySection" />
              </pre>
              myTemplate.jsp
              <pre>
              <netui-template:template templatePage="baseTemplate.jsp">
              <netui-template:section name="baseBodySection">
              <netui-template:includeSection name="bodySection" />
              <%-- template specific code --%>
              </netui-template:section>
              </netui-template:template>
              </pre>
              myTemplate2.jsp
              <pre>
              <netui-template:template templatePage="baseTemplate.jsp">
              <netui-template:section name="baseBodySection">
              <netui-template:includeSection name="bodySection" />
              <%-- template specific code --%>
              </netui-template:section>
              </netui-template:template>
              </pre>
              myPage.jsp
              <pre>
              <netui-template:template templatePage="myTemplate.jsp">
              <netui-template:section name="bodySection">
              <%-- page specific code --%>
              </netui-template:section>
              </netui-template:template>
              </pre>
              myPage2.jsp
              <pre>
              <netui-template:template templatePage="myTemplate2.jsp">
              <netui-template:section name="bodySection">
              <%-- page specific code --%>
              </netui-template:section>
              </netui-template:template>
              </pre>
              When I either myPage.jsp or myPage2.jsp is rendered, I don't see any of the content from myPage.jsp or myPage2.jsp. In its place I see the error in the netui error table with the following message: "No Sections defined, 'bodySection' not included in template", and below it I see the template specific code I added in myTemplate or myTemplate2 rendered without errors.
              Is there something else I have to do in baseTemplate to tell it that the baseBodySection will have template code in it?
              Any help on this issue will be greatly appreciated.

    I can sympathize with you as far as the readability goes.
    I know that Tomcat 4 provides a GUI that's intended to make editing server and container level XML files a lot easier, but I'm not certain if it handles application level XMLs too. I think it's safe to say that version 5 will probably either support modifying web.xml files through the GUI or someone will make that feature available through an add-on module.
    In the meantime, the length of the XML doesn't affect Tomcat. I would just put up with it until the tool comes along.

  • Using Panel Tabbed component

    Hi,
    I am developing with ADF 11g.
    I am using Panel tabbed component into a page and the 'ShowDetailItem' should be increased according to requirements, But I could just create three 'ShowDetailItems' in a page .jspx since it generates too much code. Is there any way to create multiple ShowDetailItems on a page (or to be displayed on a page) without generating too much code (because in these ShowDetailItems I handle lots of information and transactions)
    Please helpme...
    thanks.

    No, what happens is this:
    While adding more tabs to the panel, the code in the page .jspx increases which is logical, but hardly manageable, since that new requirements will add many more tabs quite content to the tabbed panel. What I want is not to generate too much code in my jspx page. How can I handle this?
    thanks,

  • Panel tab component not stretching vertically

    I have a jsff page.
    I have two sections in the page .
    1. top is a panel header and
    2. below it is a panel tab component.(ADFStretchwidth is already set .)
    When i ran the page the the page is renderring, but below the tab panel Still there are some space left .
    I want to render the tab to occupy the whole space .
    I have already tried using a panel stretch layout but it didnot work.
    Any pointers ??
    Thanks
    Sumit Yadav

    Hi Sumit,
    Try as mentioned below:
    <af:panelTabbed id="pt2" dimensionsFrom="disclosedChild">
    <af:showDetailItem text="#{'Tab1'}" id="sdi1"
    styleClass="AFStretchWidth" stretchChildren="first" >
    </af:showDetailItem>
    <af:showDetailItem text="#{'Tab2'}" id="sdi2"
    styleClass="AFStretchWidth" stretchChildren="first" >
    </af:showDetailItem>
    </<af:panelTabbed>
    Thanks,
    Navaneeth

  • Accessing Tab component in prerenderer

    I was trying to set the visibility of my Tab components based on current user roles.
    To my surprise I found out that for the first time the event executed all the tabs
    was not listed as a children of the tabset yet. TabSet getChildrenCount return 0.
    Everything went normal after the second and the subsequent call to prerenderer event.
    Is there any other event I can use to access my Tab component in the first time ? Any work around ? Or should I just hack my way through the JSP files like the old day ?

    I have the same problem. I dont know whether this is by design or it is a bug.
    For your information, the only stage when getChildren() returns the correct value is in the PageBean destroy method, by which time is it useless to do something meaningful with a component.

Maybe you are looking for

  • Help needed in table maintenance

    Dear all I have to add a few fields in existing Z-table. When I try to add a field to the table, I get an error that Table <table name> is too long (>1962). Can any one guide what's the meaning of this and how to correct the same. Thanks in advance.

  • Sync photos from iphone 3gs to pc

    I am trying to sync my photo albums to my pc from my iPhone 3GS, my ultimate goal is to creat seperate photo albums within my photo gallery on my iPhone.

  • Color LiveType Titling Turned Black & White

    Pretty new to FCE, but I have an OK grasp of it. I created a sequence which included several .ipr LiveType files. I decided I wanted to change the font. I entered FCE, right clicked on the media element for the title. LiveType opened up. The titling

  • Mini Bridge does not open after installing 8.0.2 upgrade

    I installed InDesign CS6 upgrade 8.0.2.  Now I cannot open Mini Bridge. If Bridge is not already open,      - selecting File | Browse in Bridge...  or clicking on the Bridge button: Bridge opens - good!      - control-click on the Bridge button: I ge

  • Why can;t i hear movies on this netbook seems to ask for a codec 8129?

    where  can i get this download?