need help editing a row of data.

2007-02-26 Thread Mick Knutson
I have a dataTable that has a list of users: t:dataTable value=#{userBackingBean.users} var=user preserveDataModel=false styleClass=users headerClass=usersHeader

Re: need help editing a row of data.

2007-02-26 Thread Simon Kitching
Mick Knutson wrote: tmpUserBean prints the row I was expecting, but now I do not know how to get tmpUserBean in the request and sent back to userDetail.xhtml What do you mean by sent back to userDetail.xhtml? Note that the h:commandLink tag can take an actionListener *attribute* as an

Re: need help editing a row of data.

2007-02-26 Thread Mick Knutson
i display a table of users on listUsers.xhtml Then I want to click the username link and open the selected user in that row on editUser.xhtml so I can edit that user. On 2/26/07, Simon Kitching [EMAIL PROTECTED] wrote: Mick Knutson wrote: tmpUserBean prints the row I was expecting,

Re: need help editing a row of data.

2007-02-26 Thread Mick Knutson
I also tried this: http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters then I have this method: public String prepareForEdit(){ log.info (++); log.info

Re: need help editing a row of data.

2007-02-26 Thread Mike Kienenberger
Solution to this issue (using t:updateActionListener and t:saveState) posted on the previous thread t:datatable with commandLink and parameter On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote: I also tried this: http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters then I