myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan" <>
Subject AW: PanelNavigation2 not saving state
Date Mon, 12 Dec 2005 15:04:46 GMT
Hi Thomas,


clientId ??? 


Do you mean the id of the tags ?

Or did I miss a chapter ? – what is clientId ? and where do I configure it?


<t:div id="subnavigation_outer" styleClass="subnavigation_outer">

            <t:div id="subnavigation_inner"

                        <t:panelNavigation2 styleClass="mypage" id="nav1"
layout="list" itemClass="mypage" activeItemClass="selected"
openItemClass="selected" >

                        <t:navigationMenuItems id="navitems"
value="#{SubNavigationBackingBean.panelNavigationItems}" />






Von: Thomas Spiegl [] 
Gesendet: Montag, 12. Dezember 2005 16:01
An: MyFaces Discussion
Betreff: Re: PanelNavigation2 not saving state



panelNavigation2 is statefule and it works with tiles.
Does your panelNavigation still have the same clientId after navigation to
another page?


On 12/12/05, Jan <> wrote: 

Hi Mario,

I don't use <redirect/> in my navigation rules.

I already thought it might be the use of <tiles:insert>, but I already moved

the panelNavigation2 tags to the main template, so the panelNavigation would
only be aware of the same jsp (main template). But this didn't change
Or does panelNavigation2 generally not work with tiles? 

Any more ideas?


-----Ursprüngliche Nachricht-----
Von: Mario Ivankovits [ ]
Gesendet: Montag, 12. Dezember 2005 15:02
An: MyFaces Discussion 
Betreff: Re: PanelNavigation2 not saving state

Hi Jan!
> But if the outcome String in the action of the backingbean matches an
> navigation-rule, faces changes (redirect/forwards...whatever) the *.jsp / 
> *.jsf as it should do. Unfortunately panelNavigation2 loses its state and
> all nodes which need to stay opened are closed.
Do you use <redirect /> in your navigation rules?
Then this is the cause. 



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

Professional Support for Apache MyFaces 

View raw message