Changeset 959


Ignore:
Timestamp:
2008-12-05 08:45:07 (4 years ago)
Author:
freya
Message:

cleanup

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

Legend:

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

    r954 r959  
    4040      jQuery(document).ready(function() { 
    4141          var basicForm = new jQuery.org.kauriproject.forms.Form("basic-form", fconf); 
     42          debugger; 
    4243          basicForm.setCreateMode(true); 
    4344          basicForm.submitSuccess = function (data, success) { 
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/basic-controls3.html.xml

    r954 r959  
    1515                    base: 'string', 
    1616                    '+validators': { 'isEmail': {} } 
     17                }, 
     18                'birthday':{ 
     19                    base:'date', 
     20                    yearRange:'-100:+0', 
    1721                } 
    18             }, 
    19         controlTypes:{ 
    20             'birthday':{ 
    21                 base:'date-control', 
    22                 yearRange:'-100:+0' 
    23             } 
    24         }             
    25      }; 
     22            }         
     23         }; 
    2624 
    2725       
     
    6563                    <tr> 
    6664                        <td><label kauri-role="label" kauri-idref="birthday">Your date of birth</label></td> 
    67                         <td><span kauri-idref="birthday" kauri-type="date" kauri-control="birthday"/></td>        
     65                        <td><span kauri-idref="birthday" kauri-type="birthday" /></td>        
    6866                        <td><span kauri-idref="birthday" kauri-role="messages"/></td> 
    6967                    </tr> 
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/collection-controls.html.xml

    r938 r959  
    1313                members: { 
    1414                    'name': 'string', 
    15                     'location': 'location' 
     15                    'location': 'location', 
     16                    'description':{ 
     17                        base:'string', 
     18                        control:'textarea-control' 
     19                    } 
    1620                }, 
    1721                 
Note: See TracChangeset for help on using the changeset viewer.