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


Reply via email to