[prev in list] [next in list] [prev in thread] [next in thread]
List: myfaces-user
Subject: Tomahawk + facelets id-field in validate message
From: "niko80\ () libero\ ! it" <niko80 () libero ! it>
Date: 2007-11-29 18:10:50
Message-ID: JSA562$AC37D5E6CBE7A478674459654BFC1B82 () libero ! it
[Download RAW message or body]
Hi,
this is my problem:
I have integrated MyFaces Tomahawk 1.6.2 + Facelets 1.1.13
this is my form:
<h:form id="userForm">
<table>
<tr>
<td>
<h:outputText id="label1" value="#{msg.userForm_password}:"/> \
<t:inputText id="username" value="#{user.username}" required="true" size="40"/> \
<t:message for="username" /> </td>
<td>
<h:outputText id="label2" value="#{msg.userForm_password}:"/>
<h:inputSecret id="input1" value="#{user.password}" required="true" \
redisplay="true" size="40"/> </td>
</tr>
<tr>
<td colspan="2">
<h:commandButton id="button1" value="salva" action="#{user.save}"/>
</td>
</tr>
</table>
</h:form>
when I sumbit form and validate the form fild, the message appears is :
"userForm:username": the value is required
id-form and id-field are concatenated, why?
I want to see only field id.
have you solutions to this problem?
Thanks
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic