myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Jackson <>
Subject subForm semantics
Date Sat, 28 Jul 2007 02:00:28 GMT

As I understand it, subForm works like this:

<s:subForm id="inner">
	<h:inputText value="inner"/>
	<t:commandButton value="Submit Inner"/>

<h:inputText value="outer"/>
<t:commandButton value="Submit Outer"/>

When the "Submit Inner" button is pressed, everything is validated.

When the "Submit Outer" button is pressed, everything except those 
components inside the "inner" subForm are validated.

Assuming this is true, how do I get the inverse behavior?  That is, I 
want things inside the subForm to be validated when the "Submit Inner" 
button is pressed, but nothing else?


View raw message