You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Sunil Sheshadri <ss...@cisco.com> on 2004/08/19 08:34:50 UTC

How to Select Tab 2 when user logs in?

Hi,
In our application, we have two tabs in home page. Tab 1 and Tab 2. When
ever a user logs in, tab 1 is selected and shown as default. But how to
change it to tab2 to be selected? 

We need to show tab 2 when user logs in. Is there any property to be set?

Any pointers ?

Regards,
Sunil.




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: How to Select Tab 2 when user logs in?

Posted by Cyrille GACHOT <cy...@cotranet.com>.
Hi, 

Sorry for this stupid answer, but can't you just switch tab1 and tab2 ?
so that  when a user logs in, the first tab will still appear (but it
will be your tab2)

Cyrille


Le jeu 19/08/2004 à 08:34, Sunil Sheshadri a écrit :
> Hi,
> In our application, we have two tabs in home page. Tab 1 and Tab 2. When
> ever a user logs in, tab 1 is selected and shown as default. But how to
> change it to tab2 to be selected? 
> 
> We need to show tab 2 when user logs in. Is there any property to be set?
> 
> Any pointers ?
> 
> Regards,
> Sunil.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: How to Select Tab 2 when user logs in?

Posted by Dimitris Avramidis <av...@otenet.gr>.
Sunil Sheshadri wrote:
> Hi,
> In our application, we have two tabs in home page. Tab 1 and Tab 2. When
> ever a user logs in, tab 1 is selected and shown as default. But how to
> change it to tab2 to be selected? 
> 
> We need to show tab 2 when user logs in. Is there any property to be set?
> 

in JLoginUser, after login you can redirect user to the desired tab:

((JetspeedRunData) rundata).setRedirectURI((new 
BaseJetspeedLink(rundata)).getPaneByName("Tab2").toString())

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org