Re: DialogContext and dataTable

2007-06-20 Thread Craig McClanahan
On 6/19/07, samju [EMAIL PROTECTED] wrote: public class Login extends AbstractViewController{ public String editDataTable(){ FacesContext context = FacesContext.getCurrentInstance(); DialogContext dcontext = DialogHelper.getDialogContext(context); Object currentuser = ((appBackingBean)

Re: DialogContext and dataTable

2007-06-20 Thread samju
craigmcc wrote: On 6/19/07, samju [EMAIL PROTECTED] wrote: public class Login extends AbstractViewController{ public String editDataTable(){ FacesContext context = FacesContext.getCurrentInstance(); DialogContext dcontext = DialogHelper.getDialogContext(context); Object currentuser =

Re: DialogContext and dataTable

2007-06-20 Thread samju
ok i solve the Problem. i goes like this: 1.get dataClassName instance 2.make instance of another Bean using the getBean(another Bean); 3. get the Row index from UIData something Like(dbserver.setId(getServerdata().getRowIndex());) 4. get the appropriate another Bean Object from a List setted