myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
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:

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
+ place to access the request parameters, using one of the techniques above.  (If you use
+ convenience base class AbstractViewController, there is also a convenience getRequestParameter()
+ method available.)
  Also see Shale remoting for executing method binding expressions specified by URLs.
  === Using a custom servlet ===

View raw message