myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Woolf <ysg...@163.com>
Subject Re: Http Get Problem: doFilter() method not getting called
Date Sun, 06 Aug 2006 07:07:22 GMT

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.


Mime
View raw message