I have list.jsf which contains the datatable. When the user clicks, an action
method is called on the backing component which does nothing else than redirect
to detail.jsf - the selectedItem is not visible here.
I changed the method to return null so that it returns to list.jsf - the
selectedItem is visible here, yes, like in the messages list example. So this
only happens when the view is changed. The component (equivalent of the
MessageListBean from the example) has session scope.
case 1) list.jsf -> sfsb.select() -> list.jsf
#{selectedItem} visible
case 2) list.jsf -> sfsb.select() -> detail.jsf
#{selectedItem} not visible
If you say that's the intended behaviour, so be it, sorry for insisting. Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937960#3937960
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937960
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user