[
https://issues.apache.org/jira/browse/TOMAHAWK-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571894#action_12571894
]
Guy Bashan commented on TOMAHAWK-1199:
--------------------------------------
I tried it also with 1.1.7 and it behaves the same.
It seems like there are more problems, like in this code:
<t:inputSecret id="password" size="10" value="#{signup.user.password}"
required="true"
redisplay="true" onkeyup="runPassword(this.value,
'mypassword');"
validator="#{signup.validatePassword}">
<f:validateLength minimum="5" maximum="20"/>
</t:inputSecret>
Confirm:
<h:inputSecret size="10" id="passwordConfirm"
value="#{signup.passwordConfirm}"
required="true" redisplay="true"
binding="#{signup.inputSecretPasswordConfirm}">
<f:validateLength minimum="5" maximum="20"/>
</h:inputSecret>
When using t:inputSecret the validator "signup.validatePassword" seems to be
not called.
When changing to h:inputSecret it is working.
> Seems like email validation is not working
> ------------------------------------------
>
> Key: TOMAHAWK-1199
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1199
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Affects Versions: 1.1.7-SNAPSHOT
> Reporter: Guy Bashan
>
> Seems like email validation is not working. It used to work in previous
> versions.
> Code example:
> ---------------------
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <html>
> <head><title>Simple jsp page</title></head>
> <body>
> <f:view>
> <h:form>
> <h:inputText id="xxx" value="" required="true">
> <t:validateEmail />
> </h:inputText>
> <h:message for="xxx" />
> </h:form>
> </f:view>
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.