[jboss-user] [JBoss Seam] - Re: Simple question with ajax4jsf
hstang
do-not-reply at jboss.com
Fri May 11 15:14:17 EDT 2007
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#4045107
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045107
More information about the jboss-user
mailing list