[jboss-user] [JBoss Seam] - Re: Documentation issues
thejavafreak
do-not-reply at jboss.com
Wed Apr 4 22:58:11 EDT 2007
version: Seam 1.2.1.GA
chapter: 12.8.2
page: 138
I think we need to add <s:validate> otherwise the input won't be compared/validated against the captcha image and a <h:commandButton> so new user won't be confused. Just an opinion.
<div>
| <h:graphicImage value="/seam/resource/captcha?#{captcha.id}"/>
| </div>
|
| <h:form>
| <div class="validationError"><h:message for="verifyCaptcha" /></div>
|
| <h:outputLabel for="verifyCaptcha">
| <h:outputText value="#{messages['captcha.message']}" />
| </h:outputLabel>
|
| <h:inputText id="verifyCaptcha" value="#{captcha.response}" required="true">
| <s:validate />
| </h:inputText>
|
| <h:commandButton value="#{messages['register']}" action="#{register.register}"/>
|
| </h:form>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034846#4034846
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034846
More information about the jboss-user
mailing list