[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

Similar Messages

  • 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

  • How to verify transaction state under a tab in Dynamic Tabs UI Shell?

    Hi,
    I'm using Dynamic Tabs UI Shell to load taskflows under dynamic tabs. If a particular taskflow under a tab becomes dirty, upon close I should warn the user. What is the best way I could check if this particular taskflow has become dirty?
    Thanks,
    Pramod Gujjeti
    Edited by: pramod gujjeti on Jun 16, 2010 1:28 AM
    Edited by: pramod gujjeti on Jun 16, 2010 1:29 AM

    Hi Pino,
    Thanks for the reply.
    The given URL only handles scenarios assuming a region from a flow has no flow embedded within it. And it seems to be not a generic approach to handle dynamic tab close.
    I'd worked on a similar but more generic approach which could of use to this thread watchers, hence posting the code:
    In the method that is invoked on tab close:
    boolean isTransDirty = false; // holds the transaction state of the dynamic tab content for which close event is fired
    try{
    DCBindingContainer dcBindingContainer = (DCBindingContainer) AdfUtils.resolveExpression("#{bindings}");
    dcBindingContainer = (DCBindingContainer)dcBindingContainer.getExecutableBindings().get(this.getSelectedTabIndex());
    if(dcBindingContainer != null){
    for( Object exeBinding : dcBindingContainer.getExecutableBindings() ) {
    isTransDirty = isTransDirty(exeBinding);
    if(isTransDirty){
    break;
    System.out.println(" is Trans Dirty : " + isTransDirty);
    }catch(Exception e){
    e.printStackTrace();
    // method isTransDirty(Object ..)
    private boolean isTransDirty(Object exeBinding){
    boolean isDirty = false;
    try{
    if(exeBinding instanceof JUIteratorBinding ){
    JUIteratorBinding juIteratorBinding = (JUIteratorBinding) exeBinding;
    System.out.println(" Iterator : " juIteratorBinding.getName() "\t" + "D.C : " + juIteratorBinding.getDataControl().getName());
    isDirty = juIteratorBinding.getDataControl().isTransactionDirty();
    if(isDirty){
    System.out.println(" Dirty because of " + juIteratorBinding.getName());
    return isDirty;
    }else if(exeBinding instanceof DCTaskFlowBinding){
    DCTaskFlowBinding dcTaskFlowBinding = (DCTaskFlowBinding) exeBinding;
    for( Object taskflowExeBinding : dcTaskFlowBinding.getExecutableBindings() ) {
    isDirty = isTransDirty(taskflowExeBinding);
    if(isDirty){
    return isDirty;
    }else if(exeBinding instanceof JUFormBinding){
    JUFormBinding jUFormBinding = (JUFormBinding) exeBinding;
    for( Object juFormIterBind : jUFormBinding.getIterBindingList() ) {
    isDirty = isTransDirty(juFormIterBind);
    if(isDirty){
    return isDirty;
    for( Object juFormExeBinding : jUFormBinding.getExecutableBindings() ) {
    isDirty = isTransDirty(juFormExeBinding);
    if(isDirty){
    return isDirty;
    }catch(Exception e){
    e.printStackTrace();
    return false;
    }

  • Latest Oracle Dynamic Tabs Shell (Dynamic Tabs UI Shell ) Source/JAR

    Hi,
    Please can any body provide the link where i can get the Latest Oracle Dynamic Tabs Shell (Dynamic Tabs UI Shell ).
    Reg,
    Brahma B.

    Hi John,
    Thanks for your reply..
    I got the jar for UI Shell from the link you have provided. Here am trying to create my own TabContext by extending the existed one in the jar file.But jar contains the Tabcontext as final so am not able to extend and create my own CustomTabcontext.
    While i started working with tabcontext i got the source of UI Shell(first version) and i added some code in Tabcontext itself for achieving some functionality as per the requirement like dirty checking and displaying the dailog like Do you want save changes with some buttons. Now i want to use the latest Ui Shell Tab By including by code as well.
    Please can you give any suggestion how can i proceed here.
    Reg,
    Brahma B.

  • Dynamic Tab UI Shell: Navigation inside Tab

    Hi,
    By using Dynamic Tab UI shell, I have created a page, inside this page, task flows are opened as Tabs.
    I have opened two tabs TabA and TabB.
    I clicked on TabA, press keyboard tab, it goes to TabB instead of navigating inside TabA.
    I could navigate to last opened tab's contents only.
    Could anybody suggest how can I navigate inside a Tab, instead of navigating to all the opened tabs.
    Thanks,
    Vinod

    Sorry for so much delay. Finally, got some time to play with the template and downloading the dynamicTabTemplate source code and overriding the closeIcon worked like a charm.
    Let me summarize what I did to help someone who is looking for this :)
    1) Downloaded the source code for dynamicTabTemplate
    2) Added and additional attribute closeTab to the template
    +<attribute>+
    +<attribute-name>closeTab</attribute-name>+
    +<attribute-class>java.lang.String</attribute-class>+
    +<required>+
    true
    +</required>+
    +</attribute>+
    2) edited the dynamicTabShell.jspx, closeIcon commanlink actionListener to be bound to "#{viewScope.tabContext.closeIcon}"
    3) Implemented the closeIcon method in TabContext
    +@Override+
    +public void closeIcon(ActionEvent actionEvent) {+
    CloseIconInterface bean = getBean();
    bean.closeIcon(actionEvent);
    +}+
    4) Generated the jar.
    5) Removed the oracle provided default dynamicTabTemplate jar and instead added my custom generated jar to the application
    6) Applied the new template
    7) Set all the attributes along with the new closeTab attribute. This would take the BackingBean name...example: <f:attribute name="closeTab" value="#{xxxScope.xxxBean}"/>
    8) Made xxxBean to implement CloseTabInterface
    9) Implemented the closeIcon method with custom code to confirm page close before removing the Tab.
    However like you said, i'll keep tab on future updates to the default tab template updates to not miss any bug fixes or enhancements.
    Thanks everyone who looked into this for me and Hope this helps someone else :)...Good luck !

  • Dynamic Tab UI Shell - close tab action & number of open tabs control

    Hi,
    I browsed through the forum, but could not get hold of any concrete solution for the question on how to capture the close tab action event and perform some action on that?
    The below thread discusses my question but does not appear to have a proper solution
    Re: Dynamic Tab UI Shell: controlling the Close icon
    And one other question is, currently in the TabContext the number of open tabs is set to 15 limit. How can I override that such that I do not allow more than 7 tabs open at a time?
    Please help me with the above two queries. Thanks !
    Regards,
    SS

    Sorry for so much delay. Finally, got some time to play with the template and downloading the dynamicTabTemplate source code and overriding the closeIcon worked like a charm.
    Let me summarize what I did to help someone who is looking for this :)
    1) Downloaded the source code for dynamicTabTemplate
    2) Added and additional attribute closeTab to the template
    +<attribute>+
    +<attribute-name>closeTab</attribute-name>+
    +<attribute-class>java.lang.String</attribute-class>+
    +<required>+
    true
    +</required>+
    +</attribute>+
    2) edited the dynamicTabShell.jspx, closeIcon commanlink actionListener to be bound to "#{viewScope.tabContext.closeIcon}"
    3) Implemented the closeIcon method in TabContext
    +@Override+
    +public void closeIcon(ActionEvent actionEvent) {+
    CloseIconInterface bean = getBean();
    bean.closeIcon(actionEvent);
    +}+
    4) Generated the jar.
    5) Removed the oracle provided default dynamicTabTemplate jar and instead added my custom generated jar to the application
    6) Applied the new template
    7) Set all the attributes along with the new closeTab attribute. This would take the BackingBean name...example: <f:attribute name="closeTab" value="#{xxxScope.xxxBean}"/>
    8) Made xxxBean to implement CloseTabInterface
    9) Implemented the closeIcon method with custom code to confirm page close before removing the Tab.
    However like you said, i'll keep tab on future updates to the default tab template updates to not miss any bug fixes or enhancements.
    Thanks everyone who looked into this for me and Hope this helps someone else :)...Good luck !

  • Dynamic Tab UI Shell: controlling the Close icon

    Hi,
    When I open dynamic Tab in page, along with the Tab, close icon will appear to close the Tab.
    By default I have to show a Tab that should not be closed at any time.
    Could anybody suggest how to implement this?
    Thanks,
    Vinod

    The source code for the UI Shell is available here (search for .zip in the page): http://www.oracle.com/technetwork/developer-tools/adf/uishell-093084.html
    Basically make your own cut of the shell, and add whatever functionality you want to the page template.
    CM.

  • How do I remove the Firefox update check from main page? I have my company web setup as home page but everytime I open FF I got this annoying page in new tab

    everytime I open Firefox to tabs open up one from firefox stating that my firefox is updated and behind it my company`s webpage, which I setup as home page. what`s the point of setting up this is FF will impose you the main page they want. I need a solution ASAP

    You can check for problems with preferences.
    Rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default value.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • E71 how to remove setup email link from main page

    Recently got a E71 - very pleased with it.    Have installed nokia email and exchange mail - all working fine.   I ended up with 2 "setup email" links on the main page.  One i could select and hide,  the other I cannot.   When ever i boot the phone it trys to start the email setup wizard by default.     I notice from installations I can remove the email setup - will this affect existing mail accounts and would this mean I can't set up any new accounts in the future?
    surely there must be an easy way to remove the icon.    I tried deselcting the wizard from the Modes -> home screen application page but it just comes back after a few minutes.
    very annoying.

    spooky! i found the same solution today, checked back here and you'd beaten me to it!!! DOH!
    posted the following elsewhere.
    i found another solution for removing the email setup link on the homepage (still have the wizard start on boot).  
    MENU -> MODES -> HOME SCREEN APPLICATIONS ->enabled applications ->  untick Intellisync
    the email setup icon now dissapears on my E71.
    I can't find a decent explanation of what intellisync actually does, but all my email is working as before.
    To be honest i could probably just remove the set up program as I won't ever need to add another email account..
    just thought I'd post this anyway."

  • Webarchive for several levels (clicks) down from main page

    Hi there,
    I would like to store at least 2 levels of webpages to browse offline, i.e. the main page and the first level of links from that page. I guess I can't do this with Safari. Is there another tool that allows me to do this?
    Thanks,
    Andreas

    Hi Andreas,
    [SiteSucker|http://www.sitesucker.us] might be able to do what you need.

  • Accessing Var from main Nib/Class - [global variables]

    I'm sure this is a simple solution and the problem is I'm just not thinking right. I just started programming in Objective C but have come a long way in the past 2 weeks. Pretty extensive knowledge in C# and some java.
    Anyways, I've been creating an app and have streams working, CFNetwork working, network services discovery working and a tab bar with a custom View controller linking to one of the tab-bar buttons.
    So when you click on one of the tab bar items it opens a new nib file. That nib loads a table view. When nib loads it hits a method which starts looking for network services and updates the table when it finds some.
    Now the idea is is to have a selector on the cell and when you choose the service it adds same variable info, ip and port, back to a global variable which can be used through the entire app and all extra loaded nib files.
    Out of all this, I don't know how to access global variables....prob should be the simplest thing to do out of all I've done. I have ideas of how it should be done but don't know how to access it.
    Idea would be:
    MainWindowNib has NSString var that is public with a getter setter. But how can I access that MainWindowNib var from a SecondView.nib file/class. There a way to get the parent of the secondView.Nib? I have no clue.
    Any help would be great!
    Thanks!

    I'm still a bit confused how you access that method.
    Main.nib class : UIApplication
    NSString *port
    SetupView.nib : NSViewController
    view
    -TableView added to view
    -Seperate NSObject for TableViewDelegates
    -When item selcted, pass NSString to [main port]
    How do I get a pointer to port. I don't really understand how to do this with objective C.
    In C# I would be something like: [Not exact syntax but u get the idea]
    public Main : Form
    public string port{get;set;}
    Main()
    sView SeconddForm = new SecondForm(this);
    public SecondForm : Form
    SecondView(Main main)
    main.Port = "8080";
    Message was edited by: Clarke76
    Message was edited by: Clarke76

  • Cannot access contacts from icloud page

    When I login to my icloud page when I click the contacts icon the computer locks up, I can access all other icons with no problem

    All Mac services are up and running currently so that should not be the cause.
    Maybe a stupid question but are you sure you use the correct user ID and password? (caps lock off etc?)

  • Access Podcasts from Home Page?

    Can this be done?
    I only use my iPod for podcasts, and with this new touch, I have to drill down through Music... More... Podcasts.
    Thanks All...

    you only use your ipod for podcasts? if that's true you could have got a much less expensive one.... (suspect that's not exactly what you mean though is it?)
    but anyway, the answer is no, however you can move the podcast tab so that you have one less tap:
    1. tap music
    2. more
    3. edit (top left)
    4. drag the podcast option to the bottom 'toolbar' - you can only have four so it will need to replace one of the others, but since you only use podcasts that isn't going to be a problem for you
    5. done (top right)
    now when you go into the music app, you can go to the podcasts section with your next tap.

  • Cannot access mail from web page

    I have been locked out of my dotmac web email account for two days. Every avenue I try comes up with one of the following messages:
    1. Your information could not be displayed. Click here to try again.
    2. We're having trouble fulfilling your last request. Please return to the .Mac home page.
    3. Mac is temporarily not available on the Web. Please try again soon. .Mac Mail customer support can be found at http://www.apple.com/support/dotmac
    Can anyone help???

    All Mac services are up and running currently so that should not be the cause.
    Maybe a stupid question but are you sure you use the correct user ID and password? (caps lock off etc?)

  • How do I have a new window open, but slowly open to full size after clicking on a link from main pag

    The transitions I mean are on this site. The fading in window, and click on the image, which opens a new window but slowly to full size.  http://ra1830.wix.com/qgd2012
    Thanks.

    The site you quoted uses a plug-in similar to 'Lightbox'. You can get it here: http://www.lokeshdhakar.com/projects/lightbox2/

Maybe you are looking for

  • How to show an image from   html ?

    Hi, I have an image from a html that I want to show, it�s in a html: <BODY LANG="pt-BR" DIR="LTR"> <P STYLE="margin-right: 0.63cm; margin-bottom: 0cm"><IMG SRC="??????????\Trabalho_html_86e8006.gif" ALIGN=LEFT HSPACE=12><BR>it�s stored in a database

  • I'm using Firefox 31.0, but even Mozilla tells me I'm using an older version.

    I always update to the latest version. Even though I'm using 31.0 right now, I checked with Mozilla website last night and was directed to "upgrade" again. I did so. Today, right now while writing this a message in a green button is telling me to upg

  • E-mail while on vacation

    I would like to retain my verizon e-mail account while putting my internet access (and TV) on vacation.  The Verizon representatives I've talked to say it can't be done, and the most viable solution is to switch to a Yahoo address.  Yup, hard to beli

  • Battery use by the APP GPS Status & Toolbox...What's Up with this APP???

    Thursday - 12/15/2011 All, When I turned on my phone this morning I decided to check my battery usage and what a surprise.  But first let me say that in all the time my Charge had Froyo 2.2.1 and also using GB 2.3.6 my battery usage ALWAYS had "Displ

  • Actual costs and Planned Costs

    HI Friends   I want to know the Main Tables from which i can get the <b>Actual costs and Planned    Costs</b>     for the given Cost element or object number      I tried with table COEP and i got actual costs up to all cost elements in the given con