Christian Froelich wrote the following on 9/16/2005 5:31 AM:

<h:column id="columnBrowsTab1" rendered="#{foo.secondBoolean}">
                        
  <x:saveState id="listenerObid" value="#{listener.obid}"/>
  <x:saveState id="fooObid" value="#{foo.obid}"/>

<h:commandLink id="TMIL" action="#{listener.sort}" value="#{foo.obid == 'obid'}" rendered="#{foo.obid == 'obid'}" />

I'm stabbing in the dark here since this is all new to me also. It doesn't look ilke you need to saveState of listener since your rendered is only concerned with foo.obid == 'obid'. Try leaving off the first saveState and just put:

<x:saveState id="foo" value="#{foo}"/>

Maybe you can have more than one saveState on a page and only the first one is getting called?

Also make sure the bean backed by foo is serializable (at least I think it needs to be for saveState to work).

--
Rick

Reply via email to