Hide tab Custom Menu program on page OA

Hi all!
1. I added a custom page menu.
2. I spread PDC on this page.
3. How can I hide/show this menu on my page by programming in extended controller?

Copy the following code (here: Re: Hide tab/Menu )
//
OATabBarBean oaTabBarBean = (OATabBarBean) pageContext.getPageLayoutBean () .getTabs ();

Returns the null value :(

Wait 4 your help!
import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
import oracle.apps.fnd.framework.webui.beans.nav.OATabBarBean;
import java.util.Vector;

Here is the working code change it according to your requirement.

OAPageLayoutBean page = pageContext.getPageLayoutBean();
   page.prepareForRendering(pageContext);

   OATabBarBean oaTabBarBean = (OATabBarBean)pageContext.getPageLayoutBean().getTabs();
   OAPageLayoutBean pageLayoutBean = (OAPageLayoutBean)webBean;
    //If Tabs are present and Render Flag is false
   if (oaTabBarBean != null)
   {

   am.getOADBTransaction().writeDiagnostics(this, "OATabBar is not Null", 1);

   Vector oaTabBarChildren = OAWebBeanHelper.getIndexedChildren(oaTabBarBean);
   if( oaTabBarChildren != null )
   {
   for (int i=0;i< oaTabBarChildren.size();i++)
   {

   am.getOADBTransaction().writeDiagnostics(this, "Inside the for clause", 1);

   OALinkBean link = (OALinkBean)oaTabBarChildren.elementAt(i);

   am.getOADBTransaction().writeDiagnostics(this, "Inside the i Check condition " + i, 1);

      if (i==1)
      {
        link.setRendered(true);
      }
    }
  }
}

Thank you
-Anil
http://oracleanil.blogspot.com/

Tags: Oracle Applications

Similar Questions

  • I want to open a new tab, but keep the cursor in the adressbar. Right not every time I open a new tab, I come to a page with google search and the firefox logo.

    Everytime I open a new tab, I'm greeted by this page

    http://blog.Mozilla.org/UX/files/2012/05/Firefox-beta-13-redesigned-About_Home-Page1.PNG?128c42

    Is a small problem for me, because when I want the cursor at the beginning in the adressbar. So, if for example, I opened a new page, I type in imdb.com I receive directly on imdb.

    Today, however, with the Home tab firefox screen. I have to do a google search for imdb.

    A small problem perhaps, but enough to be annoying.

    Is there a way to move the settings or something similar, and keep the cursor in the address bar after you open a new tab?

    Hello

    If you only want the new tabs do not have home page, you can change it by going in your Subject: config page and replacing "browser.newtab.url" Subject: vacuum. For me at least, if I open a new tab on a white page, the cursor remains the address bar.

    In order to change your Firefox Configuration please follow the following steps:

    1. In the address bar, type Subject: config

    and press enter. The subject: config "this might void your warranty!" warning page may appear.

    1. Click on I'll be careful, I promise! to keep the comments: config page.

    If you also want to change your home page to a blank page, you can do so in virtue:

    • (on Windows) Tools > Options > general, or
    • Menu

      > Options (preferences on Mac and Linux) > general

    Then change the dropdown to "when Firefox starts:"so that it is set to 'Show a blank page'.»

    Note that you can continue to do research on the awesome bar and search bar where you want to do a Google search.

    Does this solve the problem? Let us know.

  • How can I have my home page on each new tab instead of a blank page?

    Hi ~
    Not to compare Firefox to my browser passed, but when I open a new tab, it opened my home page. Can I make this work here?
    Thank you

    You can change the pref browser.newtab.url and change the value to http://foxnews.com

    Also, make sure that the new tab page is selected, the browser.newtabpage.enabled must be true.

    Type Subject: config in the address bar (address) and press the 'Enter' key to open the topic: config page, just like you open a Web site by typing the URL in the address bar.

    • If you see a warning message, so you can confirm that you want to access the comments: config page.
    • Use the top search bar of the about: config page easier to locate preferences
    • preferences that have been changed and do not have the default display in bold (user set)
    • preferences that are user defined ("BOLD") can be reset to the default value using the context menu
    • preferences can be changed via the context menu: Edit (string or integer) or turn (Boolean) or by double clicking on the line with the pref
    • preferences can be created via the context menu: new-> String, Integer, Boolean
  • How can I start firefox with new tab instead of the blank page?

    Today I've updated firefox to 13.0. I like the new 'new type '. I want to know how can I start firefox with new tab instead of the blank page?
    I don't want to change the home page to about: newtab.

    Sorry for my bad English.

    You can add about: newtab to the command line in the shortcut to the desktop Firefox to open this page on startup (target).

    • "C:\Program Files\Mozilla Firefox\firefox.exe"-new - tab on: newtab
  • Is it possible to completely disable tabs (remove all tab options menu) for firefox 10?

    Is it possible to completely disable tabs (remove all tab options menu) for firefox 10. I hate the tabs and the recent changes made to the incorrect selection of menus are "open in a new tab" when what I want is "open in a new window" a common and unwelcome occurrence.

    You can hide menu items and move up / down in the menu with the Menu Editor extension.

    https://addons.Mozilla.org/en-us/Firefox/addon/710

  • dynamically create and destroy the custom menu item

    I have a standard TestStand platform that I use on multiple systems.  On some systems, I have a few sequences of calibration and I would like to have the Update menu to have the RunSequence of these sequences of calibration.  I know how to manually create these menu items, but they are no longer valid for some sequence files.  I would use the sequence SequenceFileLoad to dynamically create menu items and the SequenceFileUnload to destroy these menu items.

    I've played around with the API, but cannot determine the correct path to get to the create and destroy the custom menu items.  Does anyone know how this can be done?

    Thank you

    Matthew

    Yes, see the online help for the members of the following APIs:

    Engine.GetEditTimeToolMenuItems

    EditTimeMenuItems

    EditTimeMenuItem

    Basically, you get a collection of tool using Engine.GetEditTimeToolMenuItems () menu items and then call EditTimeMenuItems.Insert () or EditTimeMenuItems.Remove (). If you insert a you get returns an EditTimeMenuItem object on which you can change the settings.

    In addition, since it has an expression to hide items in menu tool, you need not necessarily to destroy, you can hide them instead.

    Hope this helps,

    -Doug

  • my file were gone in all menu programs start but it still usable in the c drive... Why? and how to get back to normal

    my file were gone in all menu programs start but it still usable in the c drive... Why? and how to get back to normal?...

    its empty in all programs but available to the c drive... can someone help me? /

    The elements of the start menu are a few shortcuts to the files on the C: drive you mention.  Done that caused all the elements of Start Menu to disappear?  This is sometimes caused by viruses that hide items on the computer, make sure that the computer is virus free, run a Malwarebytes scan on the machine.  If the machine is free virus that then I suggest that you do a system restore to a point just before the problem started.

    John

  • BB10: How to create a custom Menu

    Hello world

    I need to create a custom menu for BB10. That's how I want (see the two screenshos):

    • It must be a bar at the top of the screen. Just like a BB10 'Title Bar', it should have a title. But he must also have two buttons: one on the left of the bar and the other on the right of the bar.
    • When you press the left button, a custom tab menu appears to the left of the screen. It also has a title and a menu with icons and images/background color list.

    I don't know if it's possible to do that yet, but I heard that you can do this by using "Custom Control"s. I tried with "Glass in", "Application Menu", "Menu", "Action Menu" and 'Title Bar' but I think that none of them responds to what I need.

    Any idea?

     

    Thank you very much.

    Hello!

    I think that this is possible, but requires coding.

    Create the menu in a container offscreen, layout of the container the DispositionAbsolue value (you can specify x & y) and drag the container into the visible area with animation.

    Create title bar as a container with two ImageButtons and a label. Slide the container to the right.

    Or even use one container for menu and title bar, just create half of the items off the screen.

    When the positioning of the controls, you can use the device resolution in order to avoid hard-coding the values:

    DisplayInfo display;
    int displayWidth = display.pixelSize().width();
    

    Animations are created by combining the ParallelAnimation, the SequentialAnimation and the different transitions.

  • Cannot create the custom menu item

    I feel that I'm missing something simple here.  Use the examples in the documentation for the BB developer, I am unable to get a custom menu item is displayed on a BB application menu in a simulator.

    More precisely:

    I copied the code for ContactsDemo (on page 31 of the PDF Advanced Developer) subjects, and works very well in the Simulator.

    I then copied the code for DemoAppMenuItem (from page 86 of the same doc).  It seems to work very well - no errors, and it appears in the Downloads folder on the Simulator.  But no custom menu item appears on the simulator when I create a new Contact, and then return to view it.

    I have all three options checked in Workspace Blackberry > Blackberry JDE > Code signing.

    My environment is:

    Eclipse 3.4.2

    BlackBerry JDE plugin 1.0.0.67 Eclipse

    I tried it with two simulators 4.5 and 4.6.

    Any suggestions are greatly appreciated!

    Thanks for the references page - this is a great compilation of resources!

    I don't know why the sample code of the documentation of EDGE does not work, but I was able to get the custom display menu item using the code I found this message on the forum.

  • Game on the standard tab do not redirect to page

    Hello

    I'm under APEX 5.0.1.

    I have an application that uses two tabs; The Parents tabs and Standard appear on page 65. The Standard "Remote management" tab is set to be the active tab of page 65. But when I click on the tab Standard 'On-call' I should go to page 34, as shown below instead of stay on page 65. For example, to click on the tab 'Settings' set standard, I should go to page 17, but I stay on the same page.

    Capture.JPG

    The tabs are always been a nightmare for me. Could you please help?

    Thank you.

    Chipniz wrote:

    I'm under APEX 5.0.1.

    I have an application that uses two tabs; The Parents tabs and Standard appear on page 65. The Standard "Remote management" tab is set to be the active tab of page 65. But when I click on the tab Standard 'On-call' I should go to page 34, as shown below instead of stay on page 65. For example, to click on the tab 'Settings' set standard, I should go to page 17, but I stay on the same page.

    Standard tabs do not perform a redirect, they submit the page. Use the debug mode to see what happens when you click on the tabs.

    The tabs are always been a nightmare for me.

    You and everyone else. Why not get rid of them? On APEX 5.0, you can switch to the universal theme and replace tabs by a side or a menu in the top navigation:

  • Create the custom using elements of Page filter

    Hello

    I am trying to create a custom of sorts using page elements filter date picker.

    I want a report to have a where clause clause that says something like this:

    WHERE the table. Date >: P1_Date1

    AND the table. Date..: P1_Date2

    I need to do it this way because I need to have another area that displays the weighted average on the basis of 2 of the columns in this table set and I was unable to find a good way to make a weighted average using the interactive report options.

    The question just the other side is that I can not simply refer text buried user to a static source page element. I used radio groups before where the change they had an action "refresh and set the ' enabled me to make reference to them, but I don't see how to do something like this with the dates selectors.

    Any ideas on how I should go about it?

    EDIT:

    I've included an example of what I am trying to accomplish.

    Link- https://apex.oracle.com/pls/apex/f?p=30262:101:102700562633003:

    Username - TESTER

    PW - Tester

    JaReg wrote:

    Partitions tab person and date shows the page that I create. Currently the regional report and the Middle regions "Totaled" are implemented using the Radio top unit

    I want to do the same thing with the dates selectors, but previously I was unable to get the selectors of dates static to use in a sql requpete as I can with the Group of radio buttons.

    I created the page 586 as a copy of the original, with the following changes:

    1 has changed the Page Action sélection P586_PERSON point filter parameter of redirection and set the value None.

    2. added explicit Format mask to DD-MON-YYYY to filter items date picker.

    3. change the source of the region of results reports to:

    select
        *
    from
        scores s
    where
        s.person = :p586_person
    and s.scoredate between to_date(:p586_mindate, 'dd-mon-yyyy') and to_date(:p586_maxdate, 'dd-mon-yyyy')
    

    4. define the region of results reports the Items property of the Page to be sent to P586_PERSON, P586_MINDATE, P586_MAXDATE. What causes the values of these elements to present before a partial page refresh is performed on the region, making them available in session state when the content of the region is updated.

    5 created a dynamic change on the region of filter action:

    Event: Change

    Selection type: Region

    Region: Filters

    Action: Discount

    Fire on Page load: NO.

    Selection type: Region

    Region: Reports of results

    The region of IR report Score is now automatically updated each time that one of the elements in the region of filters are changed. That leaves the data region totaled. As a static content area may not be automatically updated by a dynamic action of PPR, and I'm not so sure as rules that must be used to apply filters to the values of the region. The same range filters in person and date should apply to the total values as are used in the report?

  • Can I refer to part of a menu (children's menu) in a page?

    I have my main menu in the navigation with several drop-down lists as follows:

    Programs

    | - ProgramsChild1

    | - ProgramsChild2

    | - ProgramsChild3

    Who are we

    | - AboutUsChild1

    | - AboutUsChild2

    | - AboutUsChild3

    Contact us

    In the sidebar of a model, I have a module which refers to only part of the menu? So if a visitor has been to the page of programs or one of the kids program page, they would see this on the sidebar:

    ProgramsChild1

    ProgramsChild2

    ProgramsChild3

    My menus real have a lot of points, and it would be pointless to repeat all the work to do several menus (not to mention when my client wants to update that they would have to do twice the work also). This looks like very basic features, but I can't find any resources!

    Hello

    It could be done. However, there is no documentation on this topic. Module menu v2 just exits the menu as a list and CSS style you it according to the needs. According to this design is that you can do something in the sense to assign the separate display for each page group rules. So if you're on a page of "programs", then the root menu (programs, about, contact) will set options appear: No. The same for subcategories of elements roots other than the '' programs. ''

    Kind regards

    Alex Pavelescu

  • Firefox starts in a new tab instead of the home page tab. The home page is selected in options.

    When I star Firefox, it opens the homepage of tha and a new tab, but it goes the new tab instead of the home page selected in options.

    Thank you guys. That's exactly what it was: an unwanted extension that somehow got surreptitiously installed. Thanks again for pointing me in the right direction.

  • Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but

    Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but I can't it to work on the laptop.

    I downloaded "New tab Pro" on the laptop (do not even see on desktop computers so don't think about) such that she was like the real deal but nope... do not work. Running the latest version of MF, ideas on how activate it please?

    Thank you guys are going to mark as 'resolved' BTW it is no "folder on the desktop named old data from Firefox. Hmmmmmm.

  • all the site went "not found HTTP 404 error. The requested resource is not found. "and the"Firefox cannot load Web sites but other programs can"page is not helping

    all the site went "not found HTTP 404 error. The requested resource is not found. "and the"Firefox cannot load Web sites but other programs can"page is not help somehow

    One possible cause is security software (firewall, antivirus) that prevents or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

    You can try to reset (power off / on) of the router.

Maybe you are looking for

  • ReadyBoost and 64-bit Windows Vista Ultimate

    I have a desktop Windows Vista Ultimate 64-bit.  This desktop system has 8 GB of RAM. I have also a spare room jump drive (this one): http://store.lexar.com/?category=23&subcategory=36&productid=JDP4GB-431 Two questions: with 8 GB of RAM, ReadyBoost

  • I have a HP Photosmart C3180 and it doesn't test only print pages

    My printer was working fine until I had a virus removed from my computer. Now, the printer will only print the test pages. If I'm going to print anything this or else the paper begins to introduce into the printer, then stops and nothing prints. I re

  • How to resize batches of photos in Windows 7

    Photo resizing I just changed my computer and now have windows 7 as opposed to the previous XP Under XP, I had absolutely no problem resizing batch of photos (for e-mail, storage, etc.) using the facilities of the Windows Explorer, allowing you to se

  • AppCover couldn't play animation

    I found that it cannot use active frame update more timer to move an imageview in order to realize an animation on the AppCover, but he is not fluent. If I add directly an animation on the AppCover, the appcover would not load. Does anyone know how t

  • Problem installation SDK5 using plugin Eclipse

    Hello I'm trying to download blackberry SDK5 so I can target my app against this version, but it seems part of the SDK is not available from http://www.blackberry.com/go/eclipseUpdate/3.6/java.  Anywhere else I can download this SDK? An error occurre