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

change form samples according revision 1438

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.