public class Login extends AbstractViewController{
public String editDataTable(){
FacesContext context = FacesContext.getCurrentInstance();
DialogContext dcontext = DialogHelper.getDialogContext(context);
Object currentuser = ((appBackingBean)
dcontext).getServerModel().getRowData();
(this cause a Class CastException)OR this cause a NullPointerException
this.crudServer = (Server)
getappBackingBean().getServerModel().getRowData();
...
......
return null;
}
}
how to retriev the RowData of a datatable?
how to work with dcontext.setData?
sam
--
View this message in context:
http://www.nabble.com/DialogContext-and-dataTable-tf3949337.html#a11204284
Sent from the Shale - User mailing list archive at Nabble.com.