You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Erik J <sw...@hotmail.com> on 2005/11/22 14:46:32 UTC

Setting states in PanelNavigation (static)

Hello,

This posting was previously sent to the "User" list, but since nobody 
answered, I suppose it was the wrong forum. Sorry if this question doesn't 
belong here either...

I would like to know if there is a way to change the behavior of how 
Panelnavigation sets the different states (mypage, open and selected) of the 
items in the navigationlist. What I would like to do is to make any link 
clicked bold, nomatter which level it is on.

For example: If I first click on "Online Shop", I can make it bold since it 
is of state "selected". If I then click"Product Information" it gets the 
state "open" (which I can make bold), but "Online shop" remains "selected" 
and thus still bold. Clicking items that has subitems doesn't make them 
"selected", only "open". What i want is simply that nomatter which of them I 
click, only that item gets the state "selected" so that only that item can 
be make bold (and thereby distinguishable).

Does anyone know if this is possible to achieve? I guess that 
HtmlCommandNavigation.class is part of the solution, but I don't know.

Thanks for your time,

Erik

_________________________________________________________________
Lättare att hitta drömresan med MSN Resor http://www.msn.se/resor/


Re: Setting states in PanelNavigation (static)

Posted by Thomas Spiegl <th...@gmail.com>.
Erik,

please open a jira issue for this.

Thank you
Thomas

On 11/22/05, Erik J <sw...@hotmail.com> wrote:
>
> Hello,
>
> This posting was previously sent to the "User" list, but since nobody
> answered, I suppose it was the wrong forum. Sorry if this question doesn't
> belong here either...
>
> I would like to know if there is a way to change the behavior of how
> Panelnavigation sets the different states (mypage, open and selected) of
> the
> items in the navigationlist. What I would like to do is to make any link
> clicked bold, nomatter which level it is on.
>
> For example: If I first click on "Online Shop", I can make it bold since
> it
> is of state "selected". If I then click"Product Information" it gets the
> state "open" (which I can make bold), but "Online shop" remains "selected"
> and thus still bold. Clicking items that has subitems doesn't make them
> "selected", only "open". What i want is simply that nomatter which of them
> I
> click, only that item gets the state "selected" so that only that item can
> be make bold (and thereby distinguishable).
>
> Does anyone know if this is possible to achieve? I guess that
> HtmlCommandNavigation.class is part of the solution, but I don't know.
>
> Thanks for your time,
>
> Erik
>
> _________________________________________________________________
> Lättare att hitta drömresan med MSN Resor http://www.msn.se/resor/
>
>


--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces