You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/09/18 17:43:40 UTC
[Myfaces Wiki] Update of "ExecutingMethodsFromLinkButtonParameters" by Sefai
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.
The following page has been changed by Sefai:
http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters
------------------------------------------------------------------------------
<t:commandLink action="#{employeeAction.prepareForEdit}">
<h:outputText value="#{msgs.edit}" />
- <t:updateActionListener property="#{employeeAction.employee.id}" value="#{emp.id}" />
+ <t:updateActionListener property="#{employeeAction.employee}" value="#{emp}" />
</t:commandLink>}}}
When the above link is clicked it will set the id of the Employee object in our !EmployeeAction bean.