Unfortunately I do not have a link to a demo, I have pasted below the code I am using. If any other details are required, kindly let me know. Appreciated. ManagedBean <nabble_embed> @Named("emp") @ViewAccessScoped public class EmployeeManagedBean implements Serializable { private Employee selectedRequest = new Employee(); @PostConstruct public void init() { initTable(); } private void initTable() { lazyModel = new LazyEmployeeDataModel(requestList, requestService); } public LazyDataModel<Employee> getLazyModel() { return lazyModel; } </nabble_embed> and onRowSelect Method <nabble_embed> public void onRowSelect(SelectEvent event) { try { setSelectedRequest((Employee) event.getObject()); System.out.println("row " + getSelectedRequest()); </nabble_embed> JSF Code <nabble_embed> <p:dataTable id="dataTable" var="req" lazy="true" value="#{emp.lazyModel}" rowKey="#{req.empNo}" paginator="true" rows="10" selection="#{emp.selectedRequest}"> <p:ajax event="rowSelectRadio" listener="#{emp.onRowSelect}" /> <p:column selectionMode="single" style="" /> </nabble_embed>

View this message in context: Re: @ViewAccessScoped datatable selected row value not available for first time
Sent from the My Faces - Dev mailing list archive at Nabble.com.