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] Update of "InvokingJsfPagesWithStandardUrls" by CraigMcClanahan
Date Tue, 08 Aug 2006 16:03:11 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 CraigMcClanahan:
http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls

The comment on the change is:
Clarify use of Shale to deal with GET requests

------------------------------------------------------------------------------
    String someValue = params.get("someName");
  }}}
  
- === Use Struts Shale ===
+ === Use Apache Shale ===
  
- Apparently the Struts Shale library for JSF has a !ViewController class that provides useful
functionality for accessing these params.
+ The Apache Shale framework for JSF has a !ViewController class that provides a straightforward
+ mechanism for dealing with GET requests as well as POST requests.  On a GET, the prerender()
+ method is called once JSF notices that there is no view state to be restored.  This is a
convenient
+ place to access the request parameters, using one of the techniques above.  (If you use
the
+ convenience base class AbstractViewController, there is also a convenience getRequestParameter()
+ method available.)
+ http://shale.apache.org/
  
  Also see Shale remoting for executing method binding expressions specified by URLs.
- http://struts.apache.org/struts-shale/features-remoting.html
+ http://shale.apache.org/features-remoting.html
  
  === Using a custom servlet ===
  

Mime
View raw message