You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Brian Woolf <ys...@163.com> on 2006/08/06 09:07:22 UTC

Re: Http Get Problem: doFilter() method not getting called

Add the following code to your commandButton tag:
onmouseup="this.form.method='get'".
For example:
<h:commandButton action="sayhello" value="Say Hello"
onmouseup="this.form.method='get'"/>

==
According to the specification, JSF supports two state saving methods:
saving on the client, and 

saving on the server side. When the state is saving on the client side, the
pretty huge hidden 

field is stored for each form on the page. In case of using GET method, you
cannot send to the 

server a value of this field because of its size. Only POST method works.
>From this point of view, 

jsf implementation has a reason to force you to use only the POST.

-- 
View this message in context: http://www.nabble.com/Http-Get-Problem%3A-doFilter%28%29-method-not-getting-called-tf564647.html#a5670536
Sent from the My Faces - Dev forum at Nabble.com.