Hi Matthias

If you use the server side driven panelTabbedPane you can use the TabChangeListener.

This should solve your problem.

best regards
Hans

2006/1/10, Matthias Kahlau < [EMAIL PROTECTED]>:
Many thanks for your advice...


Regards,

Matthias

> -----Ursprüngliche Nachricht-----
> Von: users-return-14969-mkahlau=[EMAIL PROTECTED]
> [mailto: [EMAIL PROTECTED]]Im Auftrag
> von Dennis Byrne
> Gesendet: Montag, 9. Januar 2006 22:11
> An: MyFaces Discussion
> Betreff: Re: Can panelTabbedPane remember the last selected index?
>
>
> I know some people who have bound the index to a session scoped
> integer.  This has some obvious trade offs.  Another way to
> approach this is to bind the index to a request scoped integer,
> and manually set the integer in an action listener that is tied
> to the command.  This becomes tedious however if there are a lot
> of "entry points" to the tabbed view .
>
> >-----Original Message-----
> >From: Matthias Kahlau [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, January 9, 2006 03:03 PM
> >To: 'Users MyFaces'
> >Subject: Can panelTabbedPane remember the last selected index?
> >
> >Hi!
> >
> >
> >Does anybody know if the panelTabbedPane can provide a facility
> to remember
> >the last "selectedIndex". That would be fine if the user returns to the
> >panelTabbedPane which he has left from a tab != default selectedIndex...
> >Without any modifications, always the default tab is shown again.
> >
> >
> >
> >Regards,
> >
> >Matthias
> >
> >
>
>




--
mfg Hans Sowa
mailto:[EMAIL PROTECTED]

Reply via email to