Controlling the menubar and toolbar in Dynamic tab shell.

Hi,
I am using the Dynamic tab shell template in my application, and will load the page fragments (in a new tab) in the adf region embeded in the shell page as and when required. I have defined the 'menu bar' and the 'toolbar' with their items in the 'globalToolbar' facet of the template hence they are rendered in all the pages. My requirement is that I want to control the 'toobar' and 'menubar' from the page(fragment) I am in. That means, I want to 'enable/disable', 'show/hide' the menu items/toolbar items depending on the page fragment I have loaded. Is there a way to achieve this?
Thanks.

Sorry, it just works this way. I made a test page
        <af:pageTemplate viewId="/oracle/ui/pattern/dynamicShell/dynamicTabShell.jspx" value="#{bindings.pageTemplateBinding}" id="pt1">
          <f:facet name="copyright"/>
          <f:facet name="about"/>
          <f:facet name="navigation"/>
          <f:facet name="globalLinks"/>
          <f:facet name="status"/>
          <f:facet name="globalToolbar"/>
          <f:facet name="globalSearch"/>
          <f:facet name="globalTabs"/>
          <f:facet name="welcome"/>
          <f:facet name="innerToolbar"/>
          <f:attribute name="logoImagePath" value="/images/LOGO.jpg"/>
        </af:pageTemplate>and can see the image. You might not see the image at design time, but once you run the page the image shows up OK.
Timo

Similar Messages

  • Common Toolbar for Oracle Dynamic Tabs Shell

    Hi All,
    I am trying to develop an application with Oracle Dynamic Tabs Shell, which contains a common toolbar as given below:
    http://www.cijoint.fr/cj201008/cij0mTgi6V.jpg
    This Common toolbar contains common functionalities like save, print etc. When user clicks on these buttons, i want to activate similar actions in currently selected tab. Toolbar is not part of tabbed region, it is under innerToolbar facet which is part of main page. I am looking forward for general solution parent page activating events under currently selected tab region.
    Can anybody suggest me which is the better way to implement it.
    Many Thanks,
    Santhosh

    Hi Pramod,
    Have you tried setting the Transaction attributes of your task-flow? Open up your task flow definition then go to Overview Tab. Try changing the appropriate attributes like setting the transaction as "Always Begin New Transaction" and/or unchecking the "Share data controls with calling task- flow". Try to mix settings and find the one that suit your needs.
    Regards,
    Pino

  • Problem with the MenuBar and how can i delete a own component out of the storage

    Hello,
    I opened this thread in the category "Flex Builder 2", but
    under this category my questions fit better.
    I have a problem with the MenuBar and a question to delete a
    component out of storage.
    1. We have implemented the MenuBar, which was filled
    dynamically with XML data.
    Sporadically it will appear following fault, if we "mousover"
    the root layer.
    RangeError: Error #2006: Der angegebene Index liegt
    außerhalb des zulässigen Bereichs.
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.managers::SystemManager/
    http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
    at mx.managers::SystemManager/addChild()
    at mx.managers::PopUpManager$/addPopUp()
    at mx.controls::Menu/show()
    at mx.controls::MenuBar/::showMenu()
    at mx.controls::MenuBar/::mouseOverHandler()
    Here a abrid ged version of our XML to create the MenuBar:
    <Menuebar>
    <menu label="Artikel">
    <menu label="Artikel anlegen" data="new_article" />
    <menu label="Artikel bearbeiten" data="edit_article" />
    <menu label="Verpackung">
    <menu label="Verpackung anlegen" data="new_package" />
    <menu label="Verpackung bearbeiten" data="edit_package"
    />
    </menu>
    <menu label="Materialgruppe">
    <menu label="Materialgruppe anlegen"
    data="new_materialgroup" />
    <menu label="Materialgruppe bearbeiten"
    data="edit_materialgroup" />
    </menu>
    </menu>
    </Menuebar>
    It is a well-formed XML.
    2. Delete a component out of storage
    We have some own components (basically forms), which will be
    created and shown by an construct e.g.
    var myComponent : T_Component = new T_Component ;
    this.addChild(myComponent)
    Some of our forms will be created in an popup. On every call
    of the popup, we lost 5 mb or more, all childs on the windows will
    be removed by formname.removeAllChild();
    What cann we do, that the garbage collector will dispose this
    objects.
    Is there a way to show all objects with references (NOT
    NULL)?
    I have read in the Flex Help, that
    this.removeChild(myComponent) not delete the form and/or object out
    of the storage.
    Rather the object must be destroyed.
    It is sufficient to call delete(myComponent) about remove
    this object out of the storage as the case may be that the
    garbage-collector remove this object at any time?
    Or how can I destroy a component correctly. What happens with
    the widgets on this component e.g. input fields or datagrids?
    Are they also being deleted?
    Thanks for your help.
    Matze

    If you mena the "photo Library" then you cannot delete it.
    This is how iphone handles photos.  There are not two copies.  There a re simply two places from which to access the same photos.  ALL photos synced to iphone can be accessed via Photo Library.  Those same pics can be accessed via their individual folder.

  • Dynamic Tab Shell Cutting Off Images and Text

    I'm using the Dynamic Tab Shell on a page and trying to get a few image links and output text displaying properly in the Global Toolbar.  I want the image links on the left side of the toolbar and the output text on the right side.  The problem is the images are being cut off and the text is wrapping into a small space and is not fully readable.  The images are 32x32 pixels.  Should I resize them to something smaller?  I tried using smaller images previously, but it seems to just push them down and still cut them off.
    The full output text should be "Logged in as: username", but it's forcing it into a small space and cutting off the username like this:
    Logged
    in as:
    username (this line is not visible in the toolbar)
    Here is my code.  Any help is appreciated.
                <af:pageTemplate viewId="/oracle/ui/pattern/dynamicShell/dynamicTabShell.jspx" value="#{bindings.ptb1}"
                                 id="pt1">
                        <f:facet name="globalToolbar">
                           <af:panelGroupLayout id="pgl5" layout="horizontal" valign="top">
                             <af:toolbar flex="1" stretchId="stretch1" id="tb1">
                               <af:group id="grp1">
                                  <af:commandImageLink text="" actionListener="#{tabmanagement.dashboardSelected}" id="cil1" icon="/images/AsIconDashboard.png" partialSubmit="true"/>
                                  <af:commandImageLink text="" actionListener="#{tabmanagement.toggleSelected}" id="cil2" icon="/images/AsIconToggle.png" partialSubmit="true"/>
                                </af:group>
                                <af:spacer id="stretch1" width="10" height="35" clientComponent="true"/>
                                <af:outputText id="loggedInAsOT" value="#{tabmanagement.loggedInAsText}"/>
                             </af:toolbar>
                          </af:panelGroupLayout>
                        </f:facet>

    Moving the output text from the globalToolbar facet into the globalSearch facet fixed the problems and gave me the intended results:
                   <f:facet name="globalToolbar">
                      <af:panelGroupLayout id="pgl5" layout="horizontal" valign="top">
                         <af:toolbar id="tb1">
                            <af:group id="grp1">
                               <af:commandImageLink text="" actionListener="#{tabmanagement.dashboardSelected}" id="cil1"
                                                    icon="/images/AsIconDashboard.png" partialSubmit="true"/>
                               <af:commandImageLink text="" actionListener="#{tabmanagement.toggleSelected}" id="cil2"
                                                    icon="/images/AsIconToggle.png" partialSubmit="true"/>
                            </af:group>
                         </af:toolbar>
                      </af:panelGroupLayout>
                   </f:facet>
                   <f:facet name="globalSearch">
                      <af:outputText id="loggedInAsOT" value="#{tabmanagement.loggedInAsText}"/>
                   </f:facet>

  • How do I disable transparency for the menubar and addressbar in firefox?

    How do I disable transparency for the menubar and addressbar in firefox? (This does not mean disable windows aero or transparency in windows 7. A workaround has been posted. Stop spamming threads with disable transparency and aero everytime someone asks about this.)
    It is difficult to read.
    Edit:
    Is there a setting to tone down the Aero usage of the in Firefox 5 so it looks more like Firefox 3.6. Is there a way to do this in the preferences or inside about:config?
    I know what Aero is and how to turn it off.
    The 2nd reply has images attached show why it is difficult to read. An light spot on a desktop background or an icon can make it very difficult to read. This is the #1 reason why I keep going back to 3.6.

    If you are up to tweaking some CSS code in a style see
    "Color Toolbar(s) to identify profile (DM*)" -- in http://userstyles.org/styles/9514, and you must read all of the description material understand what has to be done.
    It is a style, and playing with the code is what styles are about. You will have to copy the section of code in the description to the bottom of the style for it to be complete to remove additional Aero effects, and choose two or three colors for the toolbars.

  • Require a region to be displayed on the right of dynamic tab shell layout

    I'm using Dynamic tab shell layout for my appliation.
    So whenever an user clicks on a task on the navigation, i'm launching a new taskflow in a tab.
    I have a new requirement to always display something on the right of the dynamic tab shell. (similar to navigation facet on the left, but its not used for navigation and it is used to display some text or image irrespective of whatever show in other facets)
    How this can be acheived?
    Any pointers would be appreciated.

    Which version of FCE are you using ? I could test it only with FCE 3.0, 3.5. I learned that some older versions have different filter support, that is not compatible with the current one. But I cannot test them since I don't have them...
    Otherwise, if your version is compatible, it's possible that the downloaded text file (the filter is a text file) does not have the correct "settings", has described in my Plugin Installation page. Basically you must make sure that Line Breaks are "Unix" and Encoding is "Unicode (UTF-8, no BOM)", otherwise FCE doesn't recognize it as a filter. To check/fix them unfortunately TextEdit doesn't help, but you may use the free TextWrangler.
    If you downloaded the .zip file these settings are already correct, while if you download the pure text file they might have been modified during download.
    Let me know
    Piero

  • Where to get the Source for PS1 Dynamic Tab Shell?

    Hi!
    In the JDeveloper official home page, I came to the following recent blog entry "Source for PS1 Dynamic Tab Shell" which forward me to this blog by Steve Muench last November 27, 2009. But when I tried to download the corresponding zip, the file was empty. Is this right?
    Where then could I download the above subject?
    thanks,
    pino

    Hi Frank,
    I have just read the link that you posted.
    First, the link in the blog labeled "UIShell example application" is broken.
    Second, I was not actullay looking for the source of the sample usage, but the source of the supporting classes as stated by Steve Muench blog below:
    Steve Muench wrote on his blog:
    Several customers have asked me for this, so I posted the JDeveloper workspace containing the source of the built-in UI Shell template and supporting classes here.We are already tinkering the UI Shell Template but we need to have some modifications like for example to adjust the height bottom portion that holds the Copyright and About facets (currently, it takes so much screen real-state). We are also planning to preconfigure some other facets so that the new pages need not re-implement them.
    Actually we are able to tweak the template by directly modifying the dynamicTabShell.jspx in the jar (replacing the library referred by jdev to the modified one) but it would be much better if we could have the source code of the implementing classes. Do we need to file a Service Request?
    please advice,
    pino

  • Control the opening and closing period

    hi ,
    Control the opening and closing period
    How I can control open and close peroid at the level of (ledger or legal entity or operating unit)
    thanks

    can you clarify it, what does it mean 'control' the opening period

  • How do you control the position and size of images, i.e,. photo to the printer?

    HP Officejet 8600
    Windows XP
    I am trying to figure out how to control the positon and size of photos or pics that are included in an email that I send to my printer via HP ePrint.
    This question was solved.
    View Solution.

    Hey Old_Salt,
    What model HP printer do you have?
    ePrint is a very simple system when it comes to printing, because it doesn't provide as many controls as one may be used to with a computer.  Many of the photosmart printers are designed to recognize a photo in ePrint and print the image to the proper photo paper.
    Jason
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • My buttons on my nano arent working but i can control the volume and center

    my buttons on my nano arent working but i can control the volume and center buttons and idk y its acting up

    Try Restoring it in iTunes. If that does not work you will probably need to get it serviced.

  • Can I control the in and out point of a layer with a keyframe?

    Hi all, I'm working in a sort of template for a series of mograph videos. Some sort of motion typography work.
    The animation is always the same but the only thing that changes is the length of the video (for legibility purposes).
    I was wondering if I can control the in and out points of a layer with the keyframes from another layer.
    Lets say Layer's A keyframe from slider 1 position in time is the out point (plus/minus an offset would be also great) of layer B.
    I've been playing with expressions on a regular basis but I don't really know where and how to write an expression like that or if it's possible.
    Thanks in advance

    This should probably be moved to the expression forum then.
    I'm not sure I understood the details of your project but here's a basis: you can do that with an expression in the layer's time remapping property. So if you want a layer to start playing at the second keyframe on another layer, you can try something like (writing in my browser, watch for mistakes):
    //   The "number" of the keyframe (first, second, third, etc)
    var index = 2;
    //   The layer with the keyframes
    var l = {pick-whip the layer with keyframes here};
    //   Just a safety, check the layer has at least enough keyframes
    if (l.numKeys >= index)
         //   If yes, the new time is the difference between the keyframe's time and the current time
        max(0, l.key(index).time-time);
    else
         //   Doesn't matter, let's return 0
        0;

  • ADF: Tab needs to be refreshed when I revisit the tab with Dynamic Tab shell

    Hi ADF Experts,
       we are using dynamic tab shell template in our project.I have many tabs opened in page ,When I navigate from one tab
    to another tab , current tab needs to be refreshed.
    when I navigate from tabs below mwthod will execute.
      public void tabActivatedEvent(ActionEvent action)
        RichCommandNavigationItem tab =
          (RichCommandNavigationItem) action.getComponent();
          Integer tabIndex = (Integer) tab.getAttributes().get("tabIndex");
          List<Tab> tabs = getTabs();
          Tab currTab = tabs.get(getSelectedTabIndex());
          if (currTab.isDirty())
            //JRS set the dirty tab as the current tab, so when the dialog handles 'YES'
            // it will be getting the correct tab index to close
            setSelectedTabIndex(getSelectedTabIndex());
            _showDialog(getTabDirtyPopup());
            return;
        setSelectedTabIndex( tabIndex);
      public void setSelectedTabIndex(int index)
        _tabTracker.setSelectedTabIndex(index);
        initTrackTabDirty();
        refreshTabContent();
      public void refreshTabContent()
        AdfFacesContext.getCurrentInstance().addPartialTarget(getTabsNavigationPane());
        AdfFacesContext.getCurrentInstance().addPartialTarget(getContentArea());
    Help me if anyone knows how to achieve this.
    Thanks in advance.

    Hi,
    well, you refresh the tab but not its data. To refresh the data displayed in the tab you need to reset the region. For this, on the af:region reference of the tab, you need to call the "refresh()" method
    Frank

  • I work in the sound booth in my schools auditorium for plays. Ive seen people use the iPad to control the lights and sounds wirelessly, but i dont know how to do it myself. Help?

    Is it possible to control the lights and sounds/do sound ir light checks from backstage via my iPad? Ive seen it done, but dont know how to do it. Is it just an apo?

    It would have to be an app, but it would be hard here to guess which one. They may be using a remote control app (such as Splashtop Remote Desktop) to control another computer that is controlling the lights and sounds, or they may have a dedicated app that goes right into their system. You'd have to ask them - or do a search in the App Store, or perhaps do a search for "iPad Theater technical system" or something like that.

  • Dynamic Tab Shells

    Hi
    I have used dynamic tab shells in my application to open new tabs dynamically using the toolbar button present in my page......
    I am able to open a new tab but cannot able to display the inside component of the tab .........
    i have created a backingbean an linked it with my toolbar button using ActionListener ... Created a ADF-TaskFlow and in it i kept my jsff page which will be displayed. while i have other tab pages and which are working fine when they are open . but specifically one is not working...
    in my xml(adf task flow) where the jsff file is attached doesnot has a databinding image in it where as other jsff has a databinding image as an icon on the fragment which is attached in the adftaskflow file.....
    i think i am missing with databinding of my new task flow ...... please help!!
    i am using jdev Studio Edition Version 11.1.1.2.0
    Thanks
    Sudeep
    Edited by: SKD on Sep 19, 2011 3:00 PM

    tried with bind the component with my jsff and tried again but it didnt displayed my component in my newly opened tab....
    Edited by: SKD on Sep 19, 2011 3:05 PM

  • 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

Maybe you are looking for

  • How to intercept all events sent to subcomponents of a JFrame

    Hello. The title says everything, i think. I need to make a gui where there would be a user validity timeout if no action is done during a certain period. (then, a modal dialog would show up, asking for a login/pass). I could do that by modifying eac

  • ATI HD 5700 dual screen flicker

         You will see this with boot camp Windows 7 ultimate 64 bit, however when opening a windows media video a slight line/flicker appears then goes away 2 seconds later. I followed every clue and so far have eliminated video card, adapter, wire, and

  • Delivery PGI should result in  412 E   OR   2 Mat. Movements back-to-back

    Hi, We have a requirement where during PGI we don't want stock to move out of inventory, but simply move to from unrestricted to Sales Order stock. In short we want to post movement type 412 E. Is this possible ? If yes, how (apart from Customer fn.

  • How to boot up in Normal Mode when Shift Key is stuck

    Due to a water spill my Shift Key is stuck.  I was able to enter my password that included lower case letters by using an external (bluetooth) keyboard.  This allowed me to start the computer and access the contents but only in Safe Mode because the

  • SAP SD cofiguration of Sales order

    Was trying to create a sales order using the code VA01 entered order type OR, my sales organization , distribution channel and division but on clicking enter comes up with this error message  ( Order type OR not been defined in sales area ) please he