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/07/06 13:39:18 UTC

[Myfaces Wiki] Update of "ExecutingMethodsFromLinkButtonParameters" by HolgerSchimanski

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 HolgerSchimanski:
http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters

------------------------------------------------------------------------------
  <a href="${url}">Edit</a>}}}
  
  With !MyFaces, there are several ways to handle this. Below are three ways. Note that there are disputable reasons to not to use the first way, but it is shown here as it as it might be the first one you are inclined to try.
+ 
+ '''0) Using <f:actionListener ...> and getRowData() of UIData'''
+ 
+ There is a ''very easy'' way to get from an ActionListener to the row bean ''without'' using a parameter. Please have a look at ["Working with DataTable and ActionListeners"].
  
  '''1) Passing params with f:param'''