Cocoon portal action

2004-11-15 Thread Anna Bikkina
Hi,

I have a application with uses cocoon portal framework. This application
has multiple tab in the main page. Depending on the user who logs in I
want a particular tab to be selected. How can I do that? Right now the
first tab is always open and only when I click on tab link I can go to
second tab . I also want my second tab to be selected when I click some
button on my first button. I do not know how to select tab without
clicking on them. Is there any Id or something that I can specify with
my call http://localhost:8080/cocoon/myapp/portal?id=?? depending on
what is clicked on which user is logged in Please help...

Thanks,
Anna.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cocoon portal action

2004-11-15 Thread Nick Goupinets
Hi Anna,
Portal bookmarks should help you to implement what you need.
http://wiki.apache.org/cocoon/PortalEngineBookmarks
Anna Bikkina wrote:
Hi,
I have a application with uses cocoon portal framework. This application
has multiple tab in the main page. Depending on the user who logs in I
want a particular tab to be selected. How can I do that? Right now the
first tab is always open and only when I click on tab link I can go to
second tab . I also want my second tab to be selected when I click some
button on my first button. I do not know how to select tab without
clicking on them. Is there any Id or something that I can specify with
my call http://localhost:8080/cocoon/myapp/portal?id=?? depending on
what is clicked on which user is logged in Please help...
Thanks,
Anna.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cocoon portal action

2004-11-15 Thread Ralph Goers
It should also be possible with the PageLabel support.

If you can obtain the user's desired tab from some configuration during
login you can then put it in the authentication context.  Then, set your
redirect-to uri in the login pipeline to something like:

  map:redirect-to
uri=portal/pageLabel={session-context:authentication/authentication/data/start-tab}/

As long as start-tab matches a tab configured in the layout you should see
the correct item.

Ralph


Nick Goupinets said:
 Hi Anna,

 Portal bookmarks should help you to implement what you need.

 http://wiki.apache.org/cocoon/PortalEngineBookmarks


 Anna Bikkina wrote:
 Hi,

 I have a application with uses cocoon portal framework. This application
 has multiple tab in the main page. Depending on the user who logs in I
 want a particular tab to be selected. How can I do that? Right now the
 first tab is always open and only when I click on tab link I can go to
 second tab . I also want my second tab to be selected when I click some
 button on my first button. I do not know how to select tab without
 clicking on them. Is there any Id or something that I can specify with
 my call http://localhost:8080/cocoon/myapp/portal?id=?? depending on
 what is clicked on which user is logged in Please help...

 Thanks,
 Anna.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cocoon portal action

2004-11-15 Thread Anna Bikkina
Thank you. Will check it out.

On Mon, 2004-11-15 at 14:08, Nick Goupinets wrote:
 Hi Anna,
 
 Portal bookmarks should help you to implement what you need.
 
 http://wiki.apache.org/cocoon/PortalEngineBookmarks
 
 
 Anna Bikkina wrote:
  Hi,
  
  I have a application with uses cocoon portal framework. This application
  has multiple tab in the main page. Depending on the user who logs in I
  want a particular tab to be selected. How can I do that? Right now the
  first tab is always open and only when I click on tab link I can go to
  second tab . I also want my second tab to be selected when I click some
  button on my first button. I do not know how to select tab without
  clicking on them. Is there any Id or something that I can specify with
  my call http://localhost:8080/cocoon/myapp/portal?id=?? depending on
  what is clicked on which user is logged in Please help...
  
  Thanks,
  Anna.
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]