Changeset 1439


Ignore:
Timestamp:
2010-02-18 16:06:08 (2 years ago)
Author:
freya
Message:

change form samples according revision 1438

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

Legend:

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

    r1375 r1439  
    8383          <tbody> 
    8484            <tr> 
    85               <td><label kauri-role="label" kauri-idref="name"/></td> 
     85              <td><label kauri-role="label" kauri-idref="name"></label></td> 
    8686              <td><input kauri-idref="name"/></td> 
    8787              <td><span kauri-idref="name" kauri-role="messages"/></td> 
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/basic-controls2.html.xml

    r1353 r1439  
    6060    </p> 
    6161 
    62     <form id="basic-form" method="get" action=""> 
    63       <fieldset> 
     62    <form id="basic-form" method="get" action="" > 
     63      <fieldset kauri-role="input"> 
    6464        <legend>Basic data form</legend> 
    6565 
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/collection-control.html.xml

    r1345 r1439  
    9595            </tr> 
    9696 
     97 
     98          </thead> 
     99 
     100          <tbody kauri-role="container"> 
    97101            <tr kauri-role="layout"> 
    98102              <td> 
     
    111115              </td> 
    112116            </tr> 
    113           </thead> 
    114  
    115           <tbody kauri-role="input"> 
    116  
    117117          </tbody> 
    118118 
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/collection-performance.html.xml

    r1224 r1439  
    8585            </tr> 
    8686 
     87          </thead> 
     88 
     89          <tbody kauri-role="container"> 
    8790            <tr kauri-role="layout"> 
    8891              <td> 
     
    114117              </td> 
    115118            </tr> 
    116           </thead> 
    117  
    118           <tbody kauri-role="input"> 
    119119 
    120120          </tbody> 
  • trunk/samples/kauri-forms-sample/src/main/kauri/pages/selection-control.html.xml

    r1382 r1439  
    6767              }, 
    6868              "randomlist": { 
    69                   "base": "integer", 
     69                  "base": "string", 
    7070                  "label": "Select a number", 
    7171                  "control": { 
    7272                      "base": "selection-control", 
     73                      "showRefresh": true,                       
    7374                      "options": { 
    74                           "uri": "${publicUri('service:/main/randomlist')}", 
     75                          "uri": "${publicUri('service:/main/randomlist/')}", 
    7576                          "valueTemplate": "{value}" 
    7677                      } 
     
    146147 
    147148        <p>If the data of a selection control is loaded from a URI, it is possible to 
    148         let the user refresh this data.</p> 
     149        let the user refresh this data. If you want Kauri to generate a refresh button for you (like the example underneath), just add the 'showRefresh' option to your selection control.</p> 
    149150 
    150151        <dl> 
    151152          <dt><label kauri-idref="randomlist" kauri-role="label"/></dt> 
    152153          <dd> 
    153             <select kauri-idref="randomlist"/> 
    154             <button class="refresh" kauri-idref="randomlist"/> 
     154            <select kauri-idref="randomlist" /> 
    155155          </dd> 
    156156        </dl> 
Note: See TracChangeset for help on using the changeset viewer.