Hi
I am using myfaces1.1.5 + facelets + tomahawk1.1.7 + tomahawk-sandbox1.1.7
snapshot
i have used s:commandButtonAjax for submitting the form via ajax,
i have also used the validator to validate the fields of form.
when i submit the form the action gets called and validation also occurs
correctly
but the problem is that, the message is not displayed in t:message compnent.
the code is as below
<h:form>
<table>
<tr>
<td>Username</td>
<td>
<t:inputText
forceId="true" required="true" title="Username Your
Registered name" id="uname" value="#{userinfo.usermaster.vcUsername}"
validator="#{userinfo.validateUsername}">
</t:inputText>
<t:message for="uname"
errorStyle="" style="color:
Aquamarine"></t:message>
</td>
</tr>
<tr>
<td>Password</td>
<td>
<t:inputSecret
id="passwd" forceId="true"
value="#{userinfo.usermaster.vcPassword}"></t:inputSecret>
</td>
</tr>
<tr>
<td colspan="2">
<t:commandButton
id="cmdbut" action="#{userinfo.validateUser}"
value="Login" ></t:commandButton>
</td>
</tr>
</table>
</h:form>
--
View this message in context:
http://www.nabble.com/Problem-with-myfaces1.1.5-%2B-facelets-%2B-tomahawk1.1.7-%2B-tomahawk-sandbox1.1.7-snapshot-tp19899222p19899222.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.