Thanks for your reply. I managed to get it work the following way:

i use the following method in master detail:

I remove the datamodel, use arraylist so that it can be serializable. Use
savestate to store the arraylist. Then use updateactionlistener to fire the
current row to the bean.

<t:saveState value="#{processBean.processResults}" />
.......
<t:dataTable value="#{processBean.processResults}"  ......
.....
<h:commandLink value="#{result.process_id}" action="detail"
actionListener="#{processBean.detail}">
     <t:updateActionListener property="#{processBean.selectedProcessRecord}"
value="#{result}" />
</h:commandLink>
........

Works!

Final question: then what's the use of datamodel? i cannot get current row
using datamodel....not serializable
--
View this message in context: 
http://www.nabble.com/savestate-problem%2C-help%21%21-t1478833.html#a4022684
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to