WAD Templates - Dynamic Tabs !?

Hello BEx Experts,
I´m looking for a smart solution to switch the visability of several TAB´s in my WAD Template according to variable values.
Example:
we start our templates from an own developed monitor (bsp page) and call the WAD templates for several companies (0COMPANY). for every company we call the same template. that template includes ten TAB´s. and there starts our problem, because we would fading out some TAB´s for some companies. And we don´t want to create diffrent templates for all companies.
Any ideas?
BR david

hello,
thx for your reply, but both solutions doesn´t work.
1. It isn´t possible to set the TABPANEL visible / invisible, because there is no selectable object for the TAB. You could select the TABCONTAINER, but it isn´t possible to select a special TAB to set visible or invisible.
2. I don´t understand the solution with authorization customizing, because all users have the same authorization and the visibility of the TAB should depend on the companyselection.
However, we solved the issue with JavaScript. So it´s possible to set the TAB caption to invisible in reference to the selected company and so the tabpanal will be minimized.
BR
David

Similar Messages

  • How to show dynamic text in WAD-Template

    Dear BW-Community,
    We are von BW 3.5.
    can someone guide me, how to display a dynamic text (depends on the comparision between two entered variables) in a WAD-Template?
    example: if var1 = var2 then the text should be text1 otherwise text text2.
    Hope this is quite simple as it sounds.
    regards
    Jürgen

    Hi,
    I embedded my CSS code in a dynamic page. I use pl/sql to test if the user is public and print my urls for the menu accordingly. Something like:
    <oracle>
    Begin
    if portal.wwctx_api.get_user='PUBLIC' then
    htp.p('MenuPage Title');
    end if;
    End;
    </oracle>

  • JSF Page Fragment based on Oracle Dynamic Tabs Shell Template

    Hi
    JDeveloper 11.1.1.6
    Can we create a JSF Page Fragment (jsff) based on an Oracle Dynamic Tabs Shell Template ?
    I tried to create this jsff page and added in a bounded taskflow.
    In the create jsff wizard, it will allow us to select the Oracle Dynamic Tabs Shell Template, but when trying to use this taskflow in the another page (jspx), it is giving the following exception.
    javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'tabContext' returned null
    at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:261)
    at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
    Basically the reason why I am trying to do like this is that I have to simply drop the taskflow in a page as a region.
    The ViewController project code will only be created as an ADF Library Jar File and be used in other projects
    (it will not be deployed as a web application (war))
    More about the requirement:
    I have a BPM Application in which I have 2 ADF ViewController projects, one for only BPM Human Task related UI and another for only ADF functionality.
    I am writing a custom BPM Workspace kind of ADF Application and want the UI to be based on the Oracle Dynamic Tab Shell Template.
    ADF ViewController project is deployed only as a ADF Library Jar file.
    Another advantage I can have is I can test my ADF code within JDeveloper.
    (If I create a jspx page based Oracle Dynamic Tab Shell Template in the BPM Human Task Related UI project, I will not be able to run it in JDeveloper and test it.
    Otherwise I have to deploy to the SOA environment each time I make a change)
    Thanks for any help.
    Sameer

    Hi,
    the dynamic tab shell template can only be used with top level (JSPX) pages (in 12c also with Facelet pages). There is no configuration for templates that would make the JDeveloper IDE to not show the template of the selected page is a fragment.
    Frank

  • [Dynamic Tabs UI Shell Template] Access AM from main page

    Hi
    I am using JDeveloper 11.1.2.1
    I have a doubt about UI Shell Template. I'm using this template and this user data map implementation to store user preferences:
       http://andrejusb.blogspot.com.es/2012/05/solution-for-sharing-global-user-data.html
    I use this solution because I need to share the user language in the view layer and the BC layer (some viewObjects depend of language)
    I have a use case where I need to change the user data map from a managed bean (the user changes your favorite language from UI). Because I use the UI Shell template with several BTF in ADF libraries I don't know how can I access the application modules of these BTFs or the DataControls from the managed bean in the main project that contain the home page based on the UI Shell Template.
    Any suggestion will be appreciated.
    Thank you

    Hi User,
    you need to look for customizing the UI shell template.
    here are few articles may help you to customize the default UI shell template.
    Techie gossip: ADF talk: customize the logo inside Dynamic Tab UI Shell
    Andrejus Baranovskis's Blog: Building Custom UI Shell with ADF 11g R2

  • Dynamic tabs template version

    Does JHS 11.1.1.3.35 use the Oracle Dynamic Tabs Page Template 1.02 patch? Or do I have to install that separately?

    We use some classes, not the actual classes.
    In the upcoming JHeadstart 11.1.1.4 and JHeadstart 11.1.2 releases, we will no longer use anything of Oracle Dynamic Tabs Page Template, we have written a better and more feature-rich implementation.
    Steven Davelaar,
    JHeadstart Team.

  • Dynamic Tab Template : Use Menu Navigation Across Multiple Applications

    Hi
    I have the following use case and would appreciate help.
    Our client has multiple applications which they need integrated into a single home page. I am using the dynamic tab template as my home page with multiple panel boxes containing application specific menus. I need to be able to create a tab from any application via the menu.
    My strategy is to use bounded task flows in the various applications, but I am not 100% sure on how to do it. The applications would also contain multiple task flows, so I would then need to be able to paramatise the task flows so that it can execute the correct flow case.
    Thanks.
    Leon.

    Hi Sireesha
    I can access the remote task flow from the menu using the action listener. When I use a managed bean to add a new tab using the task flow it fails with;
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1
    java.lang.NullPointerException
    The managed bean method to add the tab and execute the task flow is;
    private void startActivity(String title, String taskid, boolean isNew) {
    try {
    if (isNew) {
    TabContext.getCurrentInstance().addTab(title, taskid);
    } else {
    TabContext.getCurrentInstance().addOrSelectTab(title, taskid);
    } catch (TabContext.TabOverflowException e) {
    System.out.println("");
    Where title is the tab title and taskid is the task id in format TaskFlowName.xml#TaskFlowID.
    Thanks.

  • Dynamic Tab Shell Template - Ctrl+P (Browser Print)

    We have are using dynamic tab shell template and rendering all our pages. The problem now is, that when the user tries to print the page using the regular browser print button or Ctrl + P, only the background (blue color content area see: http://www.oracle.com/technetwork/developer-tools/adf/uishell-093084.html ) screen gets printed in the entire page and none of the other rendered content prints. Print button does not solve our purpose either. So, it would be great if anyone could provide some pointers on what could be the reason that the rendered content is not printing (even in print preview it displays only the blue content)?
    Note: We have already created our default template based on the dynamic tab shell template to get handle to the closeIcon.
    Edited by: 119413 on Feb 21, 2013 5:02 PM
    Edited by: 119413 on Feb 21, 2013 5:16 PM

    Hi,
    never had a problem to perform a print screen using the UI Shell (would have noticed if this didn't work). So there must be some condition under which this happens. Can you download and run the sample for this article and try it with this.? Its using JDeveloper 11g R2
    http://www.oracle.com/technetwork/issue-archive/2012/12-mar/o22adf-1518265.html
    Frank

  • Oracle dynamic tab ui shell template : the rest of page missing

    im new in adf
    hi;
    im using oracle dynamic tab shell which i download it from oracle site.
    my problem is
    i have a page fragment ( two.jsff) and i drag and drop from data controls vo as adf amaster table ,detail table
    when i run the application first.jspx and click the fisrt link the page show me only the fist table , i can not see the second table Unless change the the zoom level in the internet explorer( to make application appearance smaller)
    how to solve this problem.
    i drag and drop vo directly to the panelGroupLayout , should i use panelstretch?
    - some one told me the problem in computer screen resolution ( he say when your create an application ( jdeveloper ) with high screen resolution then take it to other computer and edite the page you will face this problem) is it true.
    thanks

    Hi User,
    you need to look for customizing the UI shell template.
    here are few articles may help you to customize the default UI shell template.
    Techie gossip: ADF talk: customize the logo inside Dynamic Tab UI Shell
    Andrejus Baranovskis's Blog: Building Custom UI Shell with ADF 11g R2

  • WAD template issue:Change Font Size of Tab page in a tab strip container

    Hi Gurus,
    Is it possible to change the font size and face of a "tab" in a tabstip container.
    For example: I have a Tab strip container with 3 tabs:
          Tab1 : North Region
          Tab2: South Region
          Tab3: Central Region.
    When we name the tabs as above, it displays in a default font size and font face in the output while executing the WAD template. I want to increase the font size of say " North Region" Tab so that it appears bigger.
    Can some one guide me as to how this can be achieved.
    Regards,
    Sandeep

    Hi Benni,
    Could you please explain where i am supposed to enter the code mentioned by you "<style type="text/css" >.urBtnStd </style>"
    The XHTML code looks as below-->
    html
           head
                <title >BEx Web Application</title>
                meta http-equiv="Content-Type" content="text/html; charset=utf-8"
                 head
            body
                <bi:QUERY_VIEW_DATA_PROVIDER name="DP_1" >
                    <bi:INITIAL_STATE type="CHOICE" value="QUERY" >
                        <bi:QUERY value="RBEI_BICM_HR_RRF_PERIOD" />
                    </bi:INITIAL_STATE>
                </bi:QUERY_VIEW_DATA_PROVIDER>
                <bi:TEMPLATE_PARAMETERS name="TEMPLATE_PARAMETERS" >
                    <bi:SYSTEM_MESSAGES_VISIBLE type="CHOICE" value="X" text="" />
                    <bi:VARIABLE_SCREEN value="" />
                    <bi:MELT_VARIABLES value="" />
                    <bi:HAS_MAIN_TEMPLATE_OBJECT type="CHOICE" value="" />
                    <bi:WEB_TEMPLATE_ACTIONS type="COMPOSITE" >
                        <bi:ACTION_BEFORE_FIRST_RENDERING type="COMPOSITE" />
                    </bi:WEB_TEMPLATE_ACTIONS>
                </bi:TEMPLATE_PARAMETERS>
                <p >
                    <br />
                </p>
                <bi:TABSTRIP_CONTAINER_ITEM name="TABSTRIP_CONTAINER_ITEM_1" designwidth="600" designheight="600" >
                    <bi:TABPANEL_LIST type="ORDEREDLIST" >
                        <bi:TABPANEL type="COMPOSITE" index="1" >
                            <bi:CAPTION value="North Region" />
                        </bi:TABPANEL>
                    </bi:TABPANEL_LIST>
                </bi:TABSTRIP_CONTAINER_ITEM>
                <br />
                <br />
            </body>
    html
    Thanks,
    Sandeep
    Edited by: Sandeep Rupert Saldanha on Feb 17, 2010 10:53 AM

  • Error in WAD Template when no data.

    Hi All!!
    I'm working with BW 7 SP 15
    I have a query that has the characteristic 0FISPER in the Columns side, above the  key figures, so the query displays the data per month.
    The problem is when I include this query into a WAD Template and I set the property "new lines" to 1, when this template is executed and the result is empty the following error appears (only when there're no data to display and only when 0FISPER is above key figures, when I put 0FISPER on rows side, It does it correctly):
    <i><b>Invalid state: Section I is valid, but neither II nor III.
    java.lang.RuntimeException: Invalid state: Section I is valid, but neither II nor III.
    at com.sap.ip.bi.webapplications.ui.items.analysis.virtualmatrix.impl.VirtualMatrixBlockMerge.init(VirtualMatrixBlockMerge.java:137)
    at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableExport.validateRendering(AcPivotTableExport.java:510)
    at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableInteractive.buildUrTree(AcPivotTableInteractive.java:325)
    at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:33)
    at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)
    Query String (Current Browser Request) BI_COMMAND=&BI_COMMAND-BI_ADVANCED=DLG_VARIABLE_DropdownVariants&BI_COMMAND-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND-PASSIVE_ID=DLG_VARIABLE_DropdownVariants_combobox&BI_COMMAND-PASSIVE_VALUE=&BI_COMMAND-TARGET_DIALOG_REF=DLG_VARIABLE&BI_COMMAND_1=&BI_COMMAND_1-BI_ADVANCED=DLG_VARIABLE_VAR_1_INPUT&BI_COMMAND_1-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_1-PASSIVE_ID=DLG_VARIABLE_VAR_1_INPUT_inp&BI_COMMAND_1-PASSIVE_VALUE=1&BI_COMMAND_1-TARGET_DIALOG_REF=DLG_VARIABLE&BI_COMMAND_2=&BI_COMMAND_2-BI_ADVANCED=DLG_VARIABLE_VAR_2_INPUT&BI_COMMAND_2-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_2-PASSIVE_ID=DLG_VARIABLE_VAR_2_INPUT_inp&BI_COMMAND_2-PASSIVE_VALUE=10&BI_COMMAND_2-TARGET_DIALOG_REF=DLG_VARIABLE&BI_COMMAND_3=&BI_COMMAND_3-BI_ADVANCED=DLG_VARIABLE_VAR_3_INPUT&BI_COMMAND_3-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_3-PASSIVE_ID=DLG_VARIABLE_VAR_3_INPUT_inp&BI_COMMAND_3-PASSIVE_VALUE=009.2009-009.2009&BI_COMMAND_3-TARGET_DIALOG_REF=DLG_VARIABLE&BI_COMMAND_4=&BI_COMMAND_4-BI_ADVANCED=DLG_VARIABLE_VAR_4_INPUT&BI_COMMAND_4-BI_COMMAND_TYPE=PASSIVE_VALUE_TRANSFER&BI_COMMAND_4-PASSIVE_ID=DLG_VARIABLE_VAR_4_INPUT_inp&BI_COMMAND_4-PASSIVE_VALUE=v1&BI_COMMAND_4-TARGET_DIALOG_REF=DLG_VARIABLE&BI_COMMAND_5=&BI_COMMAND_5-BI_COMMAND_TYPE=OK&BI_COMMAND_5-TARGET_DIALOG_REF=DLG_VARIABLE&REQUEST_ID=1
    Query String (Current Server Request) BI_COMMAND-BI_COMMAND_TYPE=UPDATE
    Query String (Initial Browser Request) DUMMY=0&TEMPLATE=ZIP_WCO003_NOSIRVE
    RTL false
    Request URL http://achmexdvw1.mx.achfood.com:50200
    SAP_BW_IVIEW_ID pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex
    SAP_EXTERNAL_SID FMZuPSJbo1ORoV1*1wciywSsHHVBVUbgIy5fjefoHQTA
    THEME_NAME captest
    TRACE false
    TRAY_TYPE PLAIN
    Template (Main Object) BTMP ZIP_WCO003_NOSIRVE
    Template (Main) ZIP_WCO003_NOSIRVE
    Template Parameters <parameterList>
      <param name="BODY_ONLY" value="X"/>
      <param name="CHECK_POPUP_BLOCKER" value="X"/>
      <param name="DATA_MODE" value="NEW"/>
      <param name="DOCUMENT_SAVE_LEVEL" value="0"/>
      <param name="ERRORS_VISIBLE" value="X"/>
      <param name="INFORMATION_VISIBLE" value="X"/>
      <param name="ITEMS_STATELESS" value="false"/>
      <param name="MELT_VARIABLES" value="X"/>
      <param name="REPORT_REPORT_DISPLAY_TARGET" value="X"/>
      <param name="RRI_OPEN_MODE" value="OPEN_IN_SEPARATE_WINDOW">
        <param name="OPEN_IN_SEPARATE_WINDOW" value=""/>
      </param>
      <param name="START_STATELESS_INTERVAL" value="0"/>
      <param name="STATELESS" value="false"/>
      <param name="SYSTEM_MESSAGES_VISIBLE" value="X">
        <param name="SYSTEM_MESSAGES_DISPLAY_MODE" value="ALWAYS"/>
      </param>
      <param name="TEMPLATE_VERSION" value="1"/>
      <param name="USE_CONTEXT_MENU_SNIPPETS" value="X"/>
      <param name="USE_LAYERED_WINDOWS" value="X"/>
      <param name="USE_SPECIFIC_VARIANT_CATALOG" value="X"/>
      <param name="WARNINGS_VISIBLE" value="X"/>
      <param name="WINDOW_MODE" value="modal"/>
    </parameterList>
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML     at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:365)     at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:63)     at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:52)     at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:4080)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:4135)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:3796)     at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3756)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2661)     at com.sap.ip.bi.webapplications.runtime.impl.Page.doServerRedirect(Page.java:3438)     at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3662)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2661)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:978)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:864)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:488)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:22)     at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)     at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)     at java.security.AccessController.doPrivileged(Native Method)     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Caused by: java.lang.RuntimeException: Invalid state: Section I is valid, but neither II nor III.     at com.sap.ip.bi.webapplications.ui.items.analysis.virtualmatrix.impl.VirtualMatrixBlockMerge.init(VirtualMatrixBlockMerge.java:137)     at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableExport.validateRendering(AcPivotTableExport.java:510)     at com.sap.ip.bi.webapplications.ui.items.analysis.control.AcPivotTableInteractive.buildUrTree(AcPivotTableInteractive.java:325)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:33)     at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)     at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:61)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)     at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayoutItem.iterateOverChildren(FlowLayoutItem.java:63)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)     at com.sap.ip.bi.webapplications.ui.unifiedrendering.controls.FlowLayout.iterateOverChildren(FlowLayout.java:69)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)     at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.process(CompositeBuildUrTreeTrigger.java:36)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeBuildUrTreeTrigger.start(CompositeBuildUrTreeTrigger.java:59)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.triggerComposites(ExtendedRenderManager.java:69)     at com.sap.ip.bi.webapplications.ui.framework.base.impl.BICompositeManager.renderRoot(BICompositeManager.java:79)     at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:363)     ... 46 more</b></i>
    Thnks for your help!!!
    Yolanda.

    Hi Yolanda,
    it´s as you already figured out - 0FISCPER is the problem.
    When you want to create new lines, there can not be a dynamic characteristic in the columns. Each column has to be defined with single values.
    Try to create restricted key figures for the periods you need to show.
    regards
    Cornelia

  • Using Dynamic Tabs in 11gR2 doesn't seem to work.

    Hi there,
    I'm trying to use the Dynamic Tabs Template in an ADF 11.1.2.3 application using JHeadstart 11.1.2.1.28.
    According to the developerguide section 9.3.1. (Enabling Dynamic Tabs) it should be rather easy to do this.
    Set PageTemplate to : /common/pageTemplates/JhsDynamicTabsPageTemplate
    Set datacontrolscope to : Isolated
    Set Default group Usage to : Region with Page Fragments.
    Set Default group Region Access to : Common UI Shell Page.
    I use facelets as viewtechnology.
    Generating the application works fine.
    Running the application results in an error at startup :
    Error 500--Internal Server Error
    java.io.FileNotFoundException: /common/regions/DynamicTabs.jsff Not Found in ExternalContext as a Resource
    The pagetemplate can't find the reference. The file is nowhere near /common/regions/DynamicTabs.jsff. I actually cannot find it at all.
    I can reproduce this behavior on two different workstations.
    All of the above works smoothly in 11gR1.
    I think it's a bug, at least it looks like it.
    What do you think ?
    Regards Luc

    Hi Steven,
    it is time for "Ripley's believe it or not" I guess....
    I am definitely able to reproduce the behavior.
    1) Create new ADF fusion webapp
    2) Create new ADF BC.
    2a) Connection = HR.
    2b) create EO, VO for Employees and Departments and also create default AM.
    No adjustments, everything default.
    3) Refresh Datacontrol palette to have new DC available
    4) Enable JHeadstart on ViewController project
    5) Create new Service Definition. Accept all the defaults.
    6) Go to application Definition and make the following adjustments
    6a) Set PageTemplate to : /common/pageTemplates/JhsDynamicTabsPageTemplate
    6b) Set datacontrolscope to : Isolated
    7) Apply, Save all and generate.
    During generation the /common/regions/DynamicTabs.jsff is not added to the project.
    Running the new application results in
    Error 500--Internal Server Error
    java.io.FileNotFoundException: /common/regions/DynamicTabs.jsff Not Found in ExternalContext as a Resource
    Versions :
    ADF 11.1.2.3
    JHeadstart 11.1.2.1.28
    Windows 7 64bit
    And I also have the OraFormsFaces extension installed. Could that be causing the problem ??
    I do not use it in this project, but the fact that it is there and that it is available as in the New gallery ....--> JHeadstart --> JHeadstart OFF Generator indicates that OFF does influence JHS in some way ?
    Regards
    Luc
    Edited by: lucbors on Jan 18, 2013 7:17 PM

  • UIShell template; from Tab to the underlying Application Module

    Hello,
    We have based our application on the UI Shell template from Oracle: http://www.oracle.com/technetwork/developer-tools/adf/uishell-093084.html .
    Thank to that template, we can launch different taskflows from a generic menu. As you may know, each taskflow belongs to a tab of a panel tab,
    which lets you switch from one launched taskflow to another one.
    The problem is that we need to way detect if any underlying application module referring to the current active tab has some pending changes (is dirty) in some way,
    so that we can make mark the current tab as dirty too.
    That way (once the tab at the view level is programmatically marked as "dirty") a popup asking for confirmation would automatically appear when the user tries to close the tab itself.
    When the user wants to close the tab despite any pending changes, we want to rollback them.
    In short, we need to:
    - retrieve all the AM instances starting from the current TAB
    - mark a tab as dirty when the first change to the only AM's belonging to the current tab happens
    - rollback any pending changes to those AM's when the user wants to close the tab anyway.
    The difficult part comes from a comment iabout a method explained in the UI Shell Documentation, which states that "the model level does not track to which tab the data belongs":
        public void currentTabDirty(ActionEvent e)
            * When called, marks the current tab "dirty". Only at the View level
            * is it possible to mark a tab dirty since the model level does not
            * track to which tab data belongs.
          TabContext tabContext = TabContext.getCurrentInstance();
          tabContext.markCurrentTabDirty(true);
        } 

    Hi,
    you can get the tab binding for each tab in a templae
    List<Tab> tabs = tabContext.getTabs();
    for(Tab t : tabs){
      DCBindingContainer bindings = (DCBindingContainer) t.getBinding();
      List bindingIterators = bindings.getExecutableBindings();
       for (Object bindingIterator : bindingIterators ){
          if(bindingIterator instanceof DCIteratorBinding){
                   DCDataControl dc = ((DCIteratorBinding) bindingIterator ).getDataControl();
                   boolean isTransactionDirty = dc.isTransactionDirty();
                   if(isTransactionDirty == true){
                       ... do what you need to do here ...
    }If you want to have a quick check if any task flow exposed in the dynamic tab shell template is dirty (so if you are not particular interested in which data control has a dirty transaction, as the above code would allow you to figure out) then you can use
       ControllerContext.getInstance().getCurrentRootViewPort().isDataDirty();This would return true if any state of the task flows has a dirty state
    Let me know if it works for your need.
    Frank
    Edited by: Frank Nimphius on Sep 13, 2012 8:17 PM

  • Show date variable in WAD Template.

    HI,
    I want to be able to show the date variable in WAD template. To do this I used the info field web item. This web item  has the option to show variables which is great, but unfortunatly for me it also shows all the other variables I am using. I can not see anywhere where I can restrict it to only show the date variable.
    Does anyone know how I can do this or is it something I would have to do query side.
    Regards
    Forhad

    Hi Forhad,
    Yes you can show the date var alone, for this you would have to choose the specific date var under Data Binding -> List of Text Elements to display -> Text Element Type =  Variable Value, Variable = (select the date var from the available list).
    You may also turn off the Static Variables & Dynamic Variables if required.
    --Priya

  • Dynamic Tabs Shell : issue with taskflows using pages

    Hi,
    We use the Dynamic tabs shell page template in our application.
    It works fine when used with taskflows with page fragments.
    However it errors when trying to render a taskflow with pages instead of fragments as:
    <FormRenderer><encodeAll> Multiple forms detected on viewId: /starter. Rich client currently has some limitations in dealing with multiple forms.
    <Jul 27, 2010 9:42:23 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@32152418[app:calcmgr module:calcmgr path:/calcmgr spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:233)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2567)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1071)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1369)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:785)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Is this a known issue or constaint with Dynamic Tabs Shell page template?

    Actually I don't think the answer is as clear cut as the dynamic tab shell template (aka. UI Shell) doesn't support task flow with pages, as, we have an application that uses it that calls out to a BTF using pages and it works fine. The catch is that BTF itself doesn't use the UI Shell. So it really depends what you mean.
    Can you be more specific what you're attempting to achieve? Are you trying in one page that uses the UI Shell, to embed a BTF in a region where the BTF uses pages rather than page fragments? Or, do you simple want lots of pages in your overall applications unbounded task flow to include the UI Shell template? As Alex has asked, we don't really have information of what you're trying to put in what at this stage.
    For the record, the better forum to ask such questions about the dynamic tab shell template is the ADF UI Patterns & Best Practices OTN forum:
    ADF UI Patterns & Best Practices
    ...however given you've started this thread here, you might as well continue.
    CM.

  • Dynamic tabs in af:panelTabbed

    I have to implement dynamic tabs like in web browsers. New tabs can be opened
    by clicking links on the other tabs. User can also close any tab but the first one.
    Is there any example available for this or similar functionality?
    What should I use to iterate through the tabs - af:forEach or af:iterator?
    If I use forEach can I close any tab?
    Thank you!

    Hi,
    have a look at the dynamicTabShell template (aka UI SHell), which does exactly what you want
    http://www.oracle.com/technetwork/testcontent/uishell-093084.html
    Frank

Maybe you are looking for