Changeset 1708


Ignore:
Timestamp:
2010-09-16 09:47:42 (3 years ago)
Author:
idbr
Message:

A kauri form field completely defined in html should also explicitly define the type (with the kauri-type attribute), so that the basic validators are executed.

Location:
trunk/samples/kauri-forms-sample/src/main/kauri/pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/basic-controls3.html.xml

    r1707 r1708  
    7676            <tr> 
    7777              <td><label kauri-role="label" kauri-idref="description" for="description">Describe yourself in 10 words</label></td> 
    78               <td><textarea id="description" style="width:200px; height:150px" kauri-idref="description"/></td> 
     78              <td><textarea id="description" style="width:200px; height:150px" kauri-idref="description" kauri-type="string"/></td> 
    7979              <td><span kauri-idref="description" kauri-role="messages"/></td> 
    8080            </tr> 
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/basic-controls4.html.xml

    r1707 r1708  
    8989            <tr> 
    9090              <td><label kauri-role="label" kauri-idref="description" for="description">Describe yourself in 10 words</label></td> 
    91               <td><textarea id="description" style="width:200px; height:150px" kauri-idref="description"/></td> 
     91              <td><textarea id="description" style="width:200px; height:150px" kauri-idref="description" kauri-type="string" /></td> 
    9292              <td><span kauri-idref="description" kauri-role="messages"/></td> 
    9393            </tr> 
Note: See TracChangeset for help on using the changeset viewer.