Setting current tab

I have a page which holds functionality for two different tabs. The current tab is defined by a combination of page id and the value of an application level item.
How can I programmatically set the current tab via an onload after header process? Do I set wwv_flow.g_current_tab or wwv_flow.g_step_tab_set?

you could do the following:
use the array g_tab_name to retrieve the order in which the tab parameters are stored in the array variables.
ie
for i in 1..g_tab_name.count loop
:PX_TABS := ';' || g_tab_name(i);
end loop;
then you could on the fly set the tab current for pages value for the required tab depending on your application level item:
in an application level on load before header process do:
if app_item = 'X' then
wwv_flow.g_tab_also_current_for_pages(1) := :APP_PAGE_ID;
elsif app_item = 'Y' then
wwv_flow.g_tab_also_current_for_pages(2) := :APP_PAGE_ID;
end if;
(Set the condition on this process to only fire for pages which can be current for multiple tabs)
You will need to ensure that the tabs exist on every page you wish them to appear (other wise the process will fail). This can be done by setting the 'also current for pages' option for every page in the tab and then saving. The tabset will now appear on every page...
You now delete the page numbers (from the 'also current for pages' option) which can be current for more than one tab and save the tab again. The pages current for multiple tabs will now have the tabset appear in the page definition but will not be current for any tab. The required tab will now be set to be current at runtime for these pages by the above process.
hope the above makes sense and was what you required ;-)

Similar Messages

  • I would like to know if there is a setting i can change that will use the current tab i'm on when opening a group of links in tabs.

    Until i upgraded to firefox 8, when i opened a group of tabs (right click on a folder of bookmarks and open all in tabs option), it would use the current tab to as the first of the links and open the rest to the right of that tab. Now that has changed. I don't mind except for not using the tab i'm on. That is somewhat annoying, especially if that is how i browse most of the time. As the first thing i do is open a group of tabs when i start firefox, the first tab has to be closed manually as it did not before and this is annoying to me.

    * You could use different Profiles, each with its' own set of homepages.
    https://support.mozilla.com/en-US/kb/Profiles
    * You could load the default homepage and then open a folder of bookmarks in new tabs by middle-click on the folder or using a right-click & Open All in Tabs.

  • Links are set to open in new tab, not current tab. However since update to FF 14, they open in current tab. How can I change this back?

    I would like links I click on to open in a new tab, not the current tab. In the Tools>Options, I have it set to do this. However, since the update to 14.0.1, I can't get it to open in a new tab. This is for all web sites and email.
    What can I do to change it?
    Thanks.

    Thank you John99. I used a combination of your suggestions above. The "Reset Firefox" worked the best, after I did a System Restore!
    Thanks for your help.

  • New tab next to current tab

    ok so... why has the simple process of browsing the web been made so damn annoying ?
    i want to open a new tab next to a current tab and what do i have to do for this to happen ?
    1) i see if there is any option for it in the options - there is nothing
    2) i type in about:config and see if can find anything there - nothing
    3) i go to google and search for some answers - nothing (the thread is probably closed)
    4) i register an account to post a replay - nothing (the thread is closed - http://support.mozilla.org/en-US/questions/926633)
    5) i have to look for a place where i could post a new thread and ask why is that thread closed where i could easilly have posted my question
    6) so - how do i make it happen without installing any special addons and why has this process been made so damn annoying ?
    /firefox 33.1, win7
    (i already installed that addon and now also updated ff, so lets see if anything changes)

    ##Support threads that are over 6 months old are automatically locked by the forum software, as with that thread which was started in May of 2012. As of very recently, Google shouldn't be indexing locked support threads here any more. I don't know how quickly that takes effect. Sorry for your inconvenience.##
    my only inconvenience is the fact that you are trying to remove the whole point of having a google search engine and the freedom of the internet in the first place - why are the threads closing automatically without any automatic option to re-open them to add to a discussion on the free interwebz ?
    tabmix plus is even more annoying because it wants to make the tabs look pointlessly "fancy" and you need to go through 15 pages of options to get the normal visual back (if its even possible)
    i did set that preference to false, but it did not change anything (it was true before)

  • How do I get Google search bar results to open in a new tab instead of the current tab?

    When I use the Google search box, I would like the search results to open in a new tab instead of the current tab.

    It turns out there is an about:config setting just for this purpose. Toggle browser.search.openintab to 'true', and all is well.
    Rick

  • How to get current tab name or tab id or related info?

    Hi ,
    I would like to hide/show tabs according to users' page privileges list. So I need get current tab ID or tab Name in runtime environment to know if show/hide it for current user. :APP_USER
    Could you please provide any info about this requirement? Or do you have alternative method to control tabs' hide/show?
    thanks
    Ruiping

    最爱用中文 wrote:
    Hi Jari,
    Thanks for your info. Even if set authorize schema to tabs, I still need to get the relationship between "current tab" and "privilege&users". So I think evrm's hard-code method above is avaliable.I agree with Jari: APEX provides Authorization schemes specifically for this purpose. You need to reverse your thinking on how to implement this.
    For more information consult the documentation on APEX security, specifically using authorization schemes to restrict access to pages and control rendering of components.
    Tutorial: Adding Security to your Database Application (APEX 4.0)
    Use Authorization Schemes to control access/rendering for security ("only managers see/access this page and it's associated tab"); and Conditions to control rendering for functional reasons ("region only displayed if account is in arrears").
    Authorization Schemes have the benefits of being reusable, performing better, and allowing central maintenance of security-related code. This makes it easier to change the implementation—say moving from role information held in database tables to groups defined in LDAP.
    I worked for a number of years with an application where authorization schemes are not properly used (decisions made before my involvement) and all security and business logic relating to rendering and processing is wrapped up in spaghetti code in conditions. It's impossible to maintain.
    It is of course advisable to make both authorization scheme and business logic condition code more reusable and maintainable by locating it in API packages.

  • How to get the name of the current tab.

    Hi Experts,
    I have two tabs in my tab strip and a button common to both the tabs.Can you please let me know how to get the name of the current tab in the event method of the push button.
    Thanks in advance.
    Regards,
    Arun

    1.Declare an Action for OnSelect event of Tabstrip. This event is triggered whenever any change in tab occurs.
    2. Declare an Import Parameter in this method
       Tab type String.
    3. This parameter has value of the selected TAB.
    4. You can set this value in some Attribute in Attribute Tab in this event only (OnSelect):
         wd_this->Att  = Tab.
    Att is the attribute created by you in Attributes Tab of View. ( of type String)
    5. Now the selected Tab ID is stored in this Attribute Att.
    6. In the Onaction of Button , retrieve the selected tab value from this attribute using :
               Data : lv type string.
                lv =  wd_this->Att
    Now lv has your selected TAB ID.
    I hope it would help you.
    Edited by: Saurav Mago on Oct 13, 2009 2:22 PM

  • How can I make new tabs open next to the current tab?

    New tabs are advertised in Firefox 5.0 as being set to open next the the current tab by default. Mine, however, do not do this. They open to the right of the last tab, necessitating a lot of tab-scrolling, and a minor waste of time.
    I have not installed the extension that forces the tab behaviour I'm currently witnessing.
    Is there a kind soul out there with any suggestions for how I can get my new tabs to appear next to the tab I'm working on?

    Tabs that are "related" to the current tab, like the same domain, open to the right of the current tab. Other links that are from other domains open at the right end of the tab strip.
    The pref for that actions is '''browser.tabs.insertRelatedAfterCurrent'''.
    To have them all open to the right of the current tab would need an add-on, if that action even exists in an add-on.

  • How to open "Open All in Tabs" in the current tab as it did before Firefox 8.x

    When click on "Open All in Tabs" on a grouped bookmark item Firefox use to open the group of tabs from the current tab onwards. Since version 7.x it does it by opening a new tab first and leave the current tab unchanged. Is there a setting to be changed to have the same behavior as before? It seems not logical because when I click on a single bookmark item it opens in the current tab.

    Yep. Those are all correct.
    Here's what I've learned from another site, Sandboxie. And this is why I hate upgrading FF and other s/w if I don't absolutely have to. They always changes stuff:
    I believe this link discusses the related change in Firefox:
    https://bugzilla.mozilla.org/show_bug.cgi?id=491947
    Before version 14, Firefox used a mechanism called DDE to send links to an open instance of itself. Sandboxie includes support for this kind of one-way DDE communication, specifically to support that use case, which has now stopped working.
    '''It stopped working because Firefox 14 no longer uses DDE, as described in that Firefox bugzilla page.'''
    I have to take back my earlier post and say that there is nothing I can do about this in Sandboxie and that some kind of workaround will have to be the long term solution.
    Guest10's solution works well, but I can't add it as a default in Sandboxie because it means that if you have an open Firefox outside the sandbox and you run Firefox in the sandbox, then a new window (or tab) opens in Firefox outside the sandbox, and nothing runs in the sandbox. I feel this kind of behavior is too confusing to offer as part of Sandboxie.
    It might be possible to restore the old functionality in Firefox 14. The bugzilla page says something about Firefox 14 trying to remove all DDE functionality, but the following still seems to work for me. Download the following .reg file to your desktop (outside the sandbox), then double-click it, and confirm entering it into the registry.
    See http://sandboxie.com/phpbb/viewtopic.php?t=13330 for a link and a reg file.

  • Mailto links open google (desired) but load in current tab, moving away from website, and cannot hit "back" button to return.

    I have firefox set to open "mailto" links, which is desired. However, when clicking the link, the gmail compose window opens in the current tab/window, and therefore leaves the website. Most of the time, the "back" button is not active, so I cannot get back to the website. The back button issue does not happen 100% for some reason.
    To further explain, this is a website I am creating, so I am not sure if the fault lies with my code or in the google mailto option in firefox. (Code shown below)
    >>>>>
    <a class="email" href="mailto:[email protected]">email: [email protected]</a>
    >>>>>
    I tried using a target in the mailto link, but they seem not to work with mailto links like they do for links to other webpages. (Code shown below)
    >>>>>
    <a class="email" href="mailto:[email protected]" target="_blank">email: [email protected]</a>
    ---or---
    <a class="email" href="mailto:[email protected]" target="_new">email: [email protected]</a>
    >>>>>
    Any pointers will help. Is my code bad? Or if the problem is with firefox's way of handling mailto links, is there a way to code to get around this?

    I don't wanna claim total credit for it. I remember seeing someone mentioned a Back button problem with McAfee Add-on in the forum. I dismissed it initially because it seems far-fetched...

  • Can I find the current tab in Terminal using applescript?

    Running a script from the shell by prepending
    #! /usr/bin/osascript
    as part of my .profile, can I find the "current" tab using Applescript. Most of the time, the "current" tab will not be visible, as the shell is being initialised, or re-initialised.
    I want to set the dircolors for my shell by determining the background color of the tab in which the shell is executing.

    Under the Window menu you can activate any of the palettes that you want. In your case the Field tab is under the Object palette

  • 3.6.4 now opens new tabs to the far right, rather than next to the current tab. why the change, and can I change it back?

    When I right-click a link to open the context menu, and then select the menu item "open in new tab", the new tab is to the far right of my opened tabs in this window. In 3.6.3, the new tab would be next to my current tab. This seems like an arbitrary change. Is there a setting whereby I can get the old behavior?
    == This happened ==
    Every time Firefox opened
    == I updated to 3.6.4

    Set the pref browser.tabs.insertRelatedAfterCurrent to false on the about:config page.
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • Is it possible to open 2 Firefox windows with a different set of tabs at start-up?

    I would like Firefox to open two separate windows at start-up, each containing a different set of tabs.
    Is there a way to do this?

    If you close Firefox with these open and start Firefox with the windows from last time yes.
    It is also possible to select the active tabs/windows by selecting the Home page to be "Use Current Pages".
    *[[How to set the home page]]

  • In FF 3, Intellimouse ("5" buttons) back button closes only the current tab. In FF4 it closes the window. I prefer the former. How can I get FF4 to do that?

    MS's Intellimouse has five "buttons" including the scroll wheel. I set left and right buttons to L-click & R-click (seems normal). I set left side button to Back and right side button to Close.
    In FF3, Close closes the current tab and Ctrl-W closes the window. In FF4, this is reversed -- Close closes the window and all its tabs and Ctrl-W closes the current tab -- not my preferred behavior.
    The behavior switch in FF4 may or may not have been a function of what somebody had for breakfast. It is was, then I'd like it switched back. If there was an important reason for the switch, I'd like to know.
    Until FF4 reverts to FF3 behavior, I'm probably stuck in FF3.
    In anyhow, thanks -- John Linford, Fort Worth

    Harley, thank you so much. I'll reload FF4 and re-set the settings.
    John

  • How can I close the current tab in Firefox v 17.0.1?

    I have used Firefox for years and have always used Tabs instead of opening new windows. I have always been able to click the little "X" on the right side of the tab to close it. I am finding now that I cannot close the current tab by doing this. I have to click on another open tab and then click on the other tab I wanted to close.
    I have looked through the Options many times trying to see if there is a setting I need to change, but have not found anything.
    Is it possible in this version of Firefox (v17.0.1) to close the current tab?

    I started Firefox in SAFE MODE and the problem went away. I checked for updates and all were up to date. I then restarted Firefox and it worked fine. Since I didn't really do anything, I am curious as to why it is now working as expected. I am glad, but still curious.
    Thank you.

Maybe you are looking for

  • Using Spry / radio button on CFFORM??

    Has anyone done something like this? I'm trying to find instructions on how to have a form that I can have users select 1 of 2 (or more) options. Based on the option they pick, I'd like the Spry accordion widget to display the appropirate form option

  • Odd Remote control behavior

    I have remote control enabled through a workstation policy associated to the Workstation container. I do not have an active user policy with remote control enabled or associated to any users. But, It seems we can remote control into a workstation thr

  • Questions about TextConverter.TEXT_FIELD_HTML_FORMAT

    We currently have a lot of content produced which is displayed using the 'htmlText' property in the MX Text & TextArea components.  So basically we produce content that uses the 11 or so supported html tags.  I'm researching the TLF and SPARK compone

  • Fcp 7.0.3 won't open

    Using fcp 7.0.3. When I open it quits stating a problem with Boris continuum Shaders plug-in. Any suggestions?

  • Decentralized Adapter Engine

    Hello, We have installed an XI landscape (XID, XIQ, XIP) on Unix along with a single decentralized Adapter Engine on Windows (XD1) which is currently configured for use with our XID system. We would like to also use this same decentralized Adapter En