shale-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samju <julsam...@netscape.net>
Subject DialogContext and dataTable
Date Tue, 19 Jun 2007 22:39:02 GMT

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.


Mime
View raw message