On 8/29/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
 
That is indeed a GET request.  You can fire a GET request at a JSP
page just fine (including query parameters) ... the thing you give up
is state restoration, since your request won't include any state
information.


But what's the most efficient way to handle this in a JSF backing bean? In other words are you forced to have to do...

FacesContext context = FacesContext.getCurrentInstance();
Map reqParams = context.getExternalContext().getRequestParameterMap();
String fooBar = (String)reqParams.get("fooBar");

Isn't there a way to make sure the property of my backingBean, in this case "fooBar," is populated automatically after clicking on a link that is to handle this Request where "fooBar" is passed as a parameter of the URL? (In a similar way an ActionForm property is set that backs an Action in Struts?)

--
Rick

Reply via email to