I tried putting region around my input-textbox but validation still fires for the other
fields. Here is my example code.
| <h:form>
|
| <s:validateAll>
|
| <s:decorate>
| <h:inputText value="#{foo.dob}" required="true"/>
| </s:decorate>
|
| <h:selectBooleanCheckbox value="#{foo.nameSelected}">
| <a:support event="onclick" reRender="namePanel"/>
| </h:selectBooleanCheckbox>
|
| <a:outputPanel id="namePanel">
| <s:decorate>
| <a:region>
| <h:inputText value="#{foo.name}"
rendered="#{foo.nameSelected}"/>
| </a:region>
| </s:decorate>
| </a:outputPanel>
|
| </s:validateAll>
|
| </h:form>
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045107#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...