myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pon <jacob.el...@gmail.com>
Subject Re: @ViewAccessScoped datatable selected row value not available for first time
Date Mon, 31 Dec 2012 12:51:17 GMT
I have resolved this issue, this has nothing to do with @ViewAccessScoped,
but rather silly cookies issue.

When list.jsf gets loaded for the first time, cookies was not set. So when
user selects a row cookies gets set and thus for subsequent selections user
could get selected row value.

To resolve this issue, I have created a index.jsp page and redirect to
list.jsf, thus cookies get set before user selects a row using radio button.

Thanks



--
View this message in context: http://myfaces.10567.n7.nabble.com/ViewAccessScoped-datatable-selected-row-value-not-available-for-first-time-tp113980p113987.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.

Mime
View raw message