Hi,
I bound the opened attribute of simpleTogglePanel to remember the state (the value is bound to a value of a session managed bean) but it doesn't work.
That's the code:
<rich:simpleTogglePanel switchType="ajax" opened="#{gAgenti.filtroAperto}" label="Cerca"> ... </rich:simpleTogglePanel>
<rich:simpleTogglePanel switchType="ajax" opened="#{gAgenti.filtroAperto}" label="Cerca"> <a4j:support event="onclick"> <f:setPropertyActionListener value="#{!gAgenti.filtroAperto}" target="#{gAgenti.filtroAperto}" /> </a4j:support> ... </rich:simpleTogglePanel>
ooopss the workaround give a lot of problem...I think it is because simpleTogglePanel is an ajax component...
how can I save the opened value without bind the whole component?
Thanks
Demetrio