myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
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:
http://wiki.apache.org/myfaces/Parameters_In_EL_Functions

------------------------------------------------------------------------------
  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.

Mime
View raw message