You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Nazmul <na...@gmail.com> on 2007/06/19 04:40:30 UTC

T3: DatePicker

Hi,
I'm using T3 and new to Tapestry.

I'm validating text fields as below.
<tr>
  <td width="1%" nowrap>
   <span jwcid="@FieldLabel" field="ognl:components.inputUserLogin">
      User Login: </span>
  </td>
  <td width="99%">
    <input type="text" jwcid="inputUserLogin" size="20"/>
  </td>
</tr>

<component id="inputUserLogin" type="ValidField">
  <static-binding name="displayName" value="User Login:" />
  <binding name="validator" expression="beans.required"/>
  <binding name="value" expression="user.usrLogin"/>
</component>

<property-specification name="user" 
 type="com.test.efi.infringement.model.EfiUser"/>

How do I do the similar validation for DatePicker as required filed?

Thanks

Naz



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org