Determining the Current Tab

I am currently on a project dealing with tabs as defined by the 3.0.9 portal.
It is an absolute showstopper if we cannot determine which tab page a portlet is on, that is if we cannot know the identity/state of the currently rendered tab in a page.
Either we need to know how to hook to a tab so that when it is clicked we can get some info, or we must have the state of the currently visible tab page.
There is no apparent API for this.
We have tried to construct a tab page monitor, but cannot attach aportlet to the page which we can guarantee will be rendered first, and therefor use that to guarantee the rest of the portlets on the page will be rendered properly.
Once again, this is a showstopper for the client. There must be a reliable workaround for this, but we have not found it.
Help!

I'm concerned...
It has been suggested that I could essentiall parse the "_pageid" variable from the current page URL to get the information about which tab is visible, by matching what I know to be the page, and tab numbers for the tabs on the page. I certainly can do that.
Even a brute force approach such as this requires that I have access to the current Page URL.
Perhaps I have missed something, but is there a method in PL.SQL for me to get the URL for the current page, rather than for the current portlet?
I cannot guarantee which sequence portlets will be rendered on the page, only that they will all start and finish ( or time out ) before the page is displayed to me.
So, Is there a method to get the Page URL( with query string attached ) between the time when it is sent (completed) to the server to be rendered, and time when the page is displayed in my browser.
This is the time when the portlets on the page need the information to do their jobs.
Or, is there a way to hook into the tab, and when it is pressed, set some state variable that will serve the purpose as well.
We are using only the standard components and PL/SQL as required to promote maintenance and eventual reuse.
null

Similar Messages

  • Detecting the current tab page

    Hello All,
    I am working on a task for our current project which requires that I correctly identify the
    current tab page selected on the user's page.
    Toward that, I was passed some information about the function:
    wwpob_api_page
    function get_selected_tabs( p_pageid in number,
    p_store in wwsto_api_session,
    p_tabstring in varchar2,
    p_tabviewprivs in out wwsbr_type.boolarray,
    p_pages in out page_table,
    p_base in boolean
    return varchar2;
    which appeared in version 3.0.6.X.
    I was unable to locate this function in the 3.0.7 / 3.0.8 api installed on our machine, but since I
    only have access to view the public interface of this package, and wondered if this function was
    still available.
    Has the function been moved, or included elsewhere, or deleted?
    The success of this task depends on having a reliable way to determine which tab page is
    currently selected/viewable.
    Is there another / better method for accomplishing this?
    Any help would be most appreciated.
    Stuart Dautrich

    That isn't a supported API yet. I'm not aware of any current functionality that will allow you to find the current tab.

  • 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

  • Firefox won't open mailto links in a new window like it used to...it just opens gmail in the current tab.

    I recently upgraded firefox and now whenever I click a mailto link it opens gmail in the current tab rather than in a new window. How can I get it to open email links in a new window.

    My MAILTO problem was finally fixed on the June 29, 2012 Firefox version 14 beta 10 release.

  • Is there any way to close just the "current tab" in firefox rather than all 3 or 4 that may be open and lose the entire web page?

    If I am on a website and open a few different pages, and then decide to go back to an earlier page, or close that particular page, I get a message that says you are about to close 3 tabs or 4 tabs etc. If I only want to close the "current tab" I am on, I was able to do that with Internet Explorer. Is there any way this can be done on Firefox?

    For more help, see the '''[[Tabbed browsing]]''' page.

  • How do I get bookmarks on the toolbar to open in the current tab, and not open in a new tab?

    how do I get bookmarks on the toolbar to open in the current tab, and not open in a new tab?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • 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

  • 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.

  • 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

  • Address bar google search does not open in the current tab

    When I do a address bar google search, the search window does not open in my current tab (which is usually a newly blank tab window), instead it opens in a previously opened tab window (or sometimes even a new tab), but never does the search appear in the current tab. When it does this, it ofteb replaces a web page which I can no longer view it without going backwards.
    The only fix I have found is to open a new tab and go to Google's web page and search from there. But, this takes extra time and I have to remember to do this. Otherwise, I might lose web pages I wish to view.
    This never used to happen until recently. I have a Mac using Lion for the past year.
    Any help would be appreciated. Thanks, Anna

    I appreciate your input, but I don't want the google web page to open in a new window.
    Instead, I want to search using the address bar in using google to open the search in the tabbed webpage I am viewing, rather than open another tabbed webpage. When it opens in a different tab from the one I am in, it either creates a brand new tab, or more problematically, opens the search in an tabbed window which has an existing webpage I still want to access for viewing.
    This is a Firefox issue. Address bar searching works as it should in Safari.

  • Opening a pdf document open in another tab prevents the mouse scroll wheel from responding in the current tab. I have observed this behaviour since version 3.x.

    Right click on link for pdf document and "Open in another tab"
    Immediately, the mouse wheel scroll function stops working in the current tab (or any other open tabs).
    It's not a deal breaker, just a strange annoyance.

    Using similar scroll function on my netbook. To add to the above, I find that using scroll is actually causing the PDF to scroll rather than the tab I'm actually in.
    Reader 9 is installed on my Win7 Starter.

  • Upgrading from 3.6 to 10, I find that a link opens in the current tab not a new one. I don't see this option in options. How do I enable it?

    In the old version of Firefox 3.6.x, clicking on a link automatically opened a new tab in the current window. You could option whether to switch to it immediately or just keep opening tabs from links in the tab being used.
    Now, in 10, I need to manually open a new tab before I click on a link or it will open in the tab being used.
    No so convenient. I preferred the way it was.

    The default behavior of Firefox (all versions) will open a link or bookmark in the current tab when clicking only with the left mouse button.
    '''To open a link or Bookmark in a new tab''' you can do any of the following:
    *press the mouse scroll wheel on a link or Bookmark
    *hold down the CTRL key while left-clicking the link or Bookmark
    *right-click the link or Bookmark and choose "Open in a New Tab"
    *See:
    **http://www.7is7.com/software/firefox/shortcuts.html
    **https://support.mozilla.org/en-US/kb/Mouse%20shortcuts
    Some Add-ons allow options to open links and/or bookmarks automatically in a new tab by using only the left click button. You may have had such an Add-on in Firefox 3.6 that 1). is out of date and needs to be updated, or 2). is no longer being updated by the developer of the Add-on and is not working in Firefox 10.
    Add-ons:
    *https://addons.mozilla.org/en-US/firefox/addon/open-link-in-new-tab/?src=ss
    *https://addons.mozilla.org/en-US/firefox/addon/tab-utilities-lite/
    *https://addons.mozilla.org/en-US/firefox/addon/tab-utilities/
    *https://addons.mozilla.org/en-US/firefox/addon/tab-mix-plus/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *'''''Adobe Shockwave for Director Netscape plug-in''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • 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.

  • Firefox opens all links in the current tab.

    firefox used to open links from google in the same tab while having links like gyazo links or anything like that open in a new tab. similar to how google chrome does it. then i reset firefox and now when i try to open links it opens them in the current tab. i know that i can right click and open in a new tab but it gets annoying doing that over and over again. is there anyway i can put it back how it was?

    Most likely not. As far as I know, the decision to open in a new or current tab by default comes from the webpage, not the browser. However, there's an easy way to do this.
    1. Try clicking the middle mouse button (the wheel). This is a built-in shortcut in Firefox to open the link in a new tab.
    2. You could try an extension. https://addons.mozilla.org/en-US/firefox/addon/open-link-in-new-tab/
    Other than that, I don't know.

Maybe you are looking for

  • External drive drobo

    Hi all, I just wanted to give an up date on my external drive decision. I ask a few questions on the forum and did a lot of research about external drives for video. I'm using a canon HFS100 HD camera. The video uses a lot of memory. These are all ho

  • "error occurred when attempting to change modules" ...Troubleshooting didn't work

    Just downloaded Lightroom 5 on my Mac and received the above message. I tried each step of the troubleshooting page but it still isn't working.  Any other ideas?

  • Transcoding and managing DV AVI files

    I use APP2.0 to create photo/video montage, utilizing most of the video transitions. I have always encoded the videos in APP2.0 as MPEG2-DVD (8 Mb CBR 1 Pass) then import them into AED2.0. Now I would like to see if there is any gain in econding the

  • How I can to put Solaris on a disk 34 Gb?

    I have a AcceleRAID (Level 5) 34Gb Is it possible to put Solaris on a disk 34 Gb. It is impossible to me.

  • Missing JServ parameters in OAS ?

    Hi there, Why doesn't the JServ in OAS support the ApJServEnvVar parameter ? Its supposed to work with JServ 1.1, but using it in the JServ that comes with OAS9i only produces an error message on startup (syntax error). Could it be that, although it