Ive found the answer,

The following context param was set in the web.xml

<context-param>
  <param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name>
  <param-value>session</param-value>
</context-param>

I cant find org.apache.myfaces.trinidad.CHANGE_PERSISTENCE in the 
documentation, there is nothing under web.xml in the dev 
guide(http://myfaces.apache.org/trinidad/devguide/configuration.html#web.xml)

Does anyone know here this is documented so I can determine the effect of 
removing this will have on my application? I guess this has been set for a 
reason :-)

Thanks,

Andy

-----Original Message-----
From: Andrew Richards [mailto:[EMAIL PROTECTED]
Sent: 02 October 2007 11:09
To: MyFaces Discussion
Subject: [Trinidad] request backed TreeTable

Hi, I have a Trinidad TreeTable displaying my hierarchy of selectable data 
which works fine.

The problem I having is that when I user selects a row in the table and then 
navigates away from the page and the returns to the page, the treeTable 
selection is persisted and the row is expanded and selected? My backing bean is 
request scoped, which confuses me?

Does anyone know how I can force the TreeTable to return to its original state 
on every new request?

Many thanks,

Andy

Reply via email to