Hi, Im trying to implement an exeample using the captcha feature but I'm getting a
blank image when I run my application...
I think it's because the element "captcha" from the #{captcha.id} are null
or something like that...
Reading the documentation I saw that I need to register the module captcha in the
application.xml file, but this file does'nt exists in my seam app =(
It's really necessary ? Should I create it ?
The captcha servlet is declared at web.xml correctely, like above:
anonymous wrote :
|
| <servlet-name>Seam Resource Servlet</servlet-name>
| <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
|
|
| <servlet-mapping>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <url-pattern>/seam/resource/*</url-pattern>
| </servlet-mapping>
|
And in the login page I added the folling code:
anonymous wrote :
|
| <h:graphicImage value="/seam/resource/captcha?#{captcha.id}"/>
|
|
|
| <h:outputLabel for="verifyCaptcha">Enter the above
letters</h:outputLabel>
| <h:inputText id="verifyCaptcha" value="#{captcha.response}"
required="true"/>
| <h:message for="verifyCaptcha"/>
|
|
Someone knows what it could be ?
I appreciate your attention =)
[]s
Paulo Vitor
São Paulo, Brazil
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093204#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...