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/08/08 18:03:11 UTC

[Myfaces Wiki] Update of "InvokingJsfPagesWithStandardUrls" by CraigMcClanahan

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