webtier@glassfish.java.net

Re: JSF 2.0: Must h:commandButton (with f:ajax) be inside h:form?

From: <webtier_at_javadesktop.org>
Date: Thu, 01 Oct 2009 21:34:06 PDT

In JSF Ajax, we use the form to get access to the view state to send in the Ajax request
(causes a post back in JSF). This is spec'd in the jsdocs for jsf.ajax.request.
I believe other JSF Ajax frameworks such as Rich Faces do the same, although I have not looked at their code in some time.
[Message sent by forum member 'rogerk' (roger.kitain_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=366566