How to change a TAB dynamically to be the active tab?

Hi,
I have a portlet written in Java and registered using a web provider. This portlet exposes a link which drives the content of another portlet through parameters&events.
This other portlet is placed on the same page but on a different TAB (!).
What I want is, when clicked on the link in Portlet1, this changes the content of the Portlet2 (via an event and parameter - that works) AND should change the TAB, so that the TAB which contains the Portlet2 is active and shown.
I couldn't figure out, how to change the TAB with an event or any other way. I can easily change the page through an event, but not to a tab on the same page. Do I overlook something or can I just don't use events for this?
Is there any API function which does changing tabs or getting the tab id or is there any other programmatic workaround to do dynamic tab changing?
If so, can someone point me to a code fragment?
Any help would be much appreciated.
Cheers,
Erik

A work around may be to change the location.href to the url of the tab you want to switch to.
Have you tried that already?

Similar Messages

  • I just upgraded to 29.0.1 on a Windows 8 PC Laptop, and the labels on all my tabs disappeared. Only the active tab displays the title.

    I tried resetting Firefox and starting in safe mode and neither fixed the problem. All it shows is the icon. This is a problem, particularly when I have multiple Google docs open and have to click on each to find the one I'm looking for.

    In case this is a glitch with the color scheme, e.g., black-on-black, could you hover the mouse over the tab to see whether the title is there but is not readable in the standard color scheme?
    If that is the problem, and hovering gives you enough visibility, I have a custom style rule you can use to create that appearance on all the background tabs: http://userstyles.org/styles/101036/brighter-background-tabs-australis-firefox-29
    If that's still too hard to read, a volunteer could help with a personalized style rule. In that case it would be helpful to see a screen shot of your tab bar. Please show a non-confidential/non-personal page. This article has tips: [[How do I create a screenshot of my problem?]]

  • Firefox 4 Beta (v9,10&11) opens on my PC (Win 7) and creates tabs but only the close button works I cannot click on any tabs or content in the "active" tab?

    It looks like Firefox has started ok, all the tabs are populated, but nothing can be accessed by clicking except the Close button and the right hand scroll bar... it is frustrating. Firefox 3 works fine still.

    Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Since upgrading (FF29.0-Windows 8.0), only the active tab on any given Firefox window has the website name;other tabs have no name,only site logo. How do I fix?

    I recently upgraded to Firefox 29.0 (running Windows 8.0). Since upgrading, only the active tab on any given Firefox window has the site name. All other inactive tabs generally have a site logo on the left side of the tab, but none of the other tabs have the website name. If I push Alt + Tab to cycle through the windows, the website name will then show up on each tab, but once I select a window to work in the website names disappear from the tabs again, except for the active tab. Is this a feature of the upgrade? Is there a setting to have the site names appear? I would really like to have the ability to see what site is on each tab without selecting.

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • How to change the active tab label

    Hi, I want to change the style of the active tab canvas label (bold). I can change this property in the forms builder , but when I run the form in web I see the active tab label like the others. Why does it happen? How can I get this property in web?
    Thank you

    Hi,
    without having investigated into the issue you mention, what about showing the active tab with all letters in uppercase and the inactive tabs with mixed case ?
    Frank

  • How can I prevent the active Tab Group from changing whenever I close a tab?

    Simply, often I will close a tab in Firefox 4; then, for some reason the active Tab Group changes to some other collection. It usually happens when I close the last tab in my tabs bar, but it has happened after closing other tabs, as well. Would love to prevent Tab Groups from changing automatically. Thank you!

    Hi:
    I tried precisely your suggestion before posting my message to the forum yesterday. I just forgot to mention it... Maybe I was afraid of increasing my message length more and more...
    I already know that this solution prevents the MediaTracker from blocking. However...
    (1) If they reach a troublesome image (like a Targa), the users of my application might not be pleased by its freezing for 10 seconds. Actually, this image loading module is part of an architecture for database applications from which my development team and I produce applications for various customers. Images are used, in particular, in Oracle BLOB support.
    (2) If I use a smaller timeout delay, I have no guarantee that any image, whatever its length, will load properly (Targa excluded, of course). According to tests I performed yesterday, I am virtually sure that the 10-second delay will be busted very easily by pictures larger than 1 Mb. I cannot overlook this potential problem: an Oracle BLOB can contain up to 2 terabytes of data!
    On the other side, I don't want to focus too much the attention on the JIMI Targa import filter because I know that a revised version of the JIMI and JAI packages will be part of JDK 1.4. This is why I am trying to figure out what is happening in the MediaTracker and Toolkit classes, which are much more fundamental than the Jimi ones...
    Thanks anyway...
    Best regards,
    Jean-Fran�ois Morin

  • How to change keyword in many pictures at the same time?

    I gave a big series of pictures the wrong keywords. Now, I can't figure out how to change them (besides one by one...).
    If I select e.g. 10 pictures in Library-mode, how to change keywords on them all at the same time?

    Make sure you are in Grid View, primary monitor (if you have two), select 10 pictures and type (or delete) the keywords in the Keywording panel in the left upper corner.
    Make sure the Metadata->Show Metadata for Target Photo Only is unchecked in the menus. Otherwise your edits will only apply to the primary selected (most selected) image.

  • How to Make the label of the active tab-page BOLD?

    Hi All
    I am working on forms 10g(version 10.1.2.0.2 ) with Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on windows 2000 platform.
    My requirement is to make the label of the active tab-page either in italics or with a different color or make it BOLD than the other pages of the canvas.
    Any suggestions ?
    Regards
    Mohan

    there are no properties for those requirements on tab-pages. You can't do it.
    Setting italic for all Tabpage-Labels is possible, when you change it in the canvas-properties. But you can't change only one tabpage.
    One Solution is, what Jeneesh said: Active-Style. But only "Bold" and for the active tab.
    Gerd

  • How to change async to sync after deploying the process.? Thanks

    How to change async to sync after deploying the process.? Thanks

    you'd need to change the base wsdl, the generated one (_Name.wsdl) and the bpel.file .. and remove the generated classes .. (all in domains/you_domain/tmp/your_process dir)
    the wsdl needs to get the output msg to the input msg instead of a callback porttype, the same needs to be in the generated wsdl (don't forget to remove the callback role in plnk session).. and the bpel process needs to have a reply instead of the invoke ..
    this is what you would need to do .. BUT, maybe we can find a better solution for you, if you elaborate on the usecase..
    during design time this is easier :-)
    regards clemens

  • When I use Photoshop CS 6 to edit video, I don't know how to change video speed after I converted the clip to smart object?

    When I use Photoshop CS 6 to edit video, I don't know how to change video speed after I converted the clip to smart object? The clip color turns purple and it only allows me to add motion but not change the clip duration and speed anymore.

    Thanks for the reply and as a work around method I used the Photoshop to do all the adjustments then export the video to iMovie to finish the final cut. I also have a problem to paint or clone on a blank video layer created in Photoshop. It tells me the time is beyond the target frame time, I don't understand the message. Can you explain to me what did I do wrong? Thanks a lot!
    John Wang
    801-3618742
    [email protected] 
    http://johnwanggallery.shutterfly.com  

  • How to change Topic's Icon and show the Print Button

    Hi, currently i'm using robohelp html version 8. I have spent quite some time to figure out how to change topic's Icon and show the Print Button in my project. Anyone can help me on this? Btw, i using MX(template) to generate the output with FlashHelp Pro.
    Below is the screenshot for clearer clarification:
    Thanks.

    We would have told you if there was.
    Sorry but a downside of FlashHelp is that your customising options are limited.
    See www.grainge.org for RoboHelp and Authoring tips
    Follow me @petergrainge

  • How to highlight selected tab instead of getting the first tab by defaultly

    Hi All ,
    I had one problem with the Jquery accordian. When I am selecting one tab in Jquery accordian then that tab is not getting highlited.
    By defaultly the first tab is getting highlited or selected. The page for that selected tab is opening but the tab is not opening. By defaultly the first tab in accordian is getting selected.
    Can some one help me on this.
    Thanks & Regards,
    P.Mohan Reddy

    My question is like when we click on the first tab in the accordian then that page will open and in the accordian the 1st tab will be opened and other tabs r closed in the jquery accordian. But in the same way when i am selecting the 2nd tab or other tabs in the accordian then that particular tab is not opening even in that case also the 1st tab is opening and the selected tab is not opening.

  • I would like all links to open in the active tab, unless I command-click on the link.

    I've searched for answers to this question, and I was able to adjust the values for preferences in about:config so that all links open in the active tab, but after doing so I am unable to command-click to open a link in a new tab. Is there any way to change certain preferences so that command-clicking will override the browser.link.open_newwindow preferences? Or maybe there's some other way around this?
    This might seem like an odd request, but several sites I use (Tumblr especially) open nearly all links in a new tab by default, and it quickly gets out of hand. A "same-tab unless command-click" configuration would allow me to control where every link opens. Also, I would still like all links from external applications to load in a new tab.
    I'm using Firefox 32.0 on Mac OS X 10.9.4.
    Thanks

    Your request sounds similar to this old thread, except that you want a different setting for the third preference: [https://support.mozilla.org/questions/985943 How do I get when I click on a link it will not open in new tab? I want to open in the same tab where I clicked on that click.]
    (1) In a new tab, type or paste <strong>about:config</strong> and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste <strong>link.o</strong> and pause while the list is filtered.
    (3) Double click these to modify the values as desired:
    <strong>(A) browser.link.open_newwindow</strong>
    3 = divert new window to a new tab (<u>default</u>) (checked*)
    2 = allow link to open a new window (unchecked*)
    '''1 = force new window into same tab'''
    <strong>*</strong> First checkbox in Options &gt; Tabs
    <strong>(B) browser.link.open_newwindow.restriction</strong> - for links in Firefox tabs
    '''0 = apply the setting under (A) to ALL new windows (even script windows)'''
    2 = apply the setting under (A) to normal windows, but NOT to script windows with features (<u>default</u>)
    1 = override the setting under (A) and always use new windows
    <strong>(C) browser.link.open_newwindow.override.external</strong> - for links in other programs
    -1 = apply the setting under (A) to external links (<u>default</u>)
    '''3 = open external links in a <u>new tab</u> in the last active window'''
    2 = open external links in a <u>new window</u>
    1 = open external links in the <u>last active tab</u> replacing the current page
    Does that combination work?

  • Determine the active tab in a selection screen

    Hello,
    is it possible to determine which tab is currently activated in a selection screen with several tabs?
    I will include different code in different tabs. When pressing the "execute" button the  program should return the active tab (as a value).
    Thanks
    Florian Schwaiger

    Hi florain,
    Before you can use a tabstrip control in your ABAP program, you must create a control for each control in the declaration part of your program using the following statement:
    CONTROLS <ctrl> TYPE TABSTRIP.
    where <ctrl> is the name of the tabstrip area on a screen in the ABAP program. The control allows the ABAP program to work with the tabstrip control. The statement declares a structure with the name <ctrl> . The only component of this structure that you need in your program is called ACTIVETAB.
    Use in the PBO event
    Before the screen is displayed, you use the control to set the tab page that is currently active. To do this, assign the function code of the corresponding tab title to the component ACTIVETAB:
    <ctrl>-ACTIVETAB = <fcode>.
    When you page at the SAPgui, you only need to do this once before the screen is displayed. This initializes the tabstrip control. The default active tab page is the first page. After this, the page activated when the user chooses a tab title is set within SAPgui.
    When you page on the application server, you must assign the active page both before the screen is displayed for the first time, and each time the user pages. At the same time, you must set the required subscreen screen.
    You can suppress a tab page dynamically by setting the ACTIVE field of table SCREEN to 0 for the corresponding tab title.
    Use in the PAI event
    In the PAI event, ACTIVETAB contains the function code of the last active tab title on the screen.
    When you page in the SAPgui, this allows you to find out the page that the user can currently see. When you page at the application server, the active tab page is controlled by the ABAP program anyway.
    The OK_CODE field behaves differently according to the paging method:
    Paging in the SAPgui
    When you page in the SAPgui, the PAI event is not triggered when the user chooses a tab title, and the OK_CODE field is not filled. The OK_CODE field is only filled by user actions in the GUI status or when the user chooses a pushbutton either outside the tabstrip control or on one of the subscreens.
    Paging on the application server
    If you are paging at the application server, the PAI event is triggered when the user chooses a tab title, and the OK_CODE field is filled with the corresponding function code.
    To page through the tabstrip control, you must assign the function code to the ACTIVETAB component of the control:
    <ctrl>-ACTIVETAB = <ok_code>.
    This statement overwrites the function code of the last active tab page with that of the new tab title. At the same time, you must ensure that the correct subscreen is inserted in the subscreen area.
    Otherwise, tabstrip controls are handled like normal subscrens in ABAP programs, that is, the ABAP program of a subscreen screen must contain the dialog modules called from the flow logic of the subscreen.
    Examples
    Tabstrip control, paging at SAPgui
    REPORT DEMO_DYNPRO_TABSTRIP_LOCAL.
    CONTROLS MYTABSTRIP TYPE TABSTRIP.
    DATA: OK_CODE TYPE SY-UCOMM,
          SAVE_OK TYPE SY-UCOMM.
    MYTABSTRIP-ACTIVETAB = 'PUSH2'.
    CALL SCREEN 100.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE CANCEL INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE USER_COMMAND INPUT.
      SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      IF SAVE_OK = 'OK'.
        MESSAGE I888(SABAPDOCU) WITH 'MYTABSTRIP-ACTIVETAB ='
                                      MYTABSTRIP-ACTIVETAB.
      ENDIF.
    ENDMODULE.
    thanks
    nagendra

  • Reporting on the Activity Tab - Live Feeds, Notes, Tasks etc

    I would really like to be able to report on the customer information within the 'Activity' Tab in the CRM.  In particular I make notes on who I speak to and what they said and I want to be able to report on this information so I can access it quickly by customer type/lead type.
    Does anyone have any idea how this can be done.  I understand it is not something available at the moment but can anyone suggest how I can make this happen. 
    I would also love to be able to see more information in the 'Notes' section under the Activity tab - is there any way the information I enter can be seen across the page (it only allows a few words and then it cuts off - you can only see the full note if you click on it, but this takes too much time as I want to be able to see it at a glance.)
    Can anyone help?
    thanks!

    I would really like to be able to report on the customer information within the 'Activity' Tab in the CRM.  In particular I make notes on who I speak to and what they said and I want to be able to report on this information so I can access it quickly by customer type/lead type.
    Does anyone have any idea how this can be done.  I understand it is not something available at the moment but can anyone suggest how I can make this happen. 
    I would also love to be able to see more information in the 'Notes' section under the Activity tab - is there any way the information I enter can be seen across the page (it only allows a few words and then it cuts off - you can only see the full note if you click on it, but this takes too much time as I want to be able to see it at a glance.)
    Can anyone help?
    thanks!

Maybe you are looking for