myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Myfaces Wiki] Trivial Update of "Parameters In EL Functions" by LanceFrohman
Date Thu, 10 Aug 2006 22:08:02 GMT
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 LanceFrohman:

  To pass a parameter to a method inside an el expression, extend the 
  {{{DummyMap}}} class (below) and implement the get(Object obj) method to 
  pass obj as a parameter to that method.
+ note - if you're using facelets, you can simply create a real changeToUpperCase() user-defined
el function.
  === Example ===
  As a trivial example, to pass a parameter to the changeToUpperCase() method, the get() method
takes the String, testBean.widget here, as a parameter and calls changeToUpperCase() with
that parameter.

View raw message