- Timestamp:
- 2010-02-18 16:06:08 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samples/kauri-forms-sample/src/main/kauri/pages/selection-control.html.xml
r1382 r1439 67 67 }, 68 68 "randomlist": { 69 "base": " integer",69 "base": "string", 70 70 "label": "Select a number", 71 71 "control": { 72 72 "base": "selection-control", 73 "showRefresh": true, 73 74 "options": { 74 "uri": "${publicUri('service:/main/randomlist ')}",75 "uri": "${publicUri('service:/main/randomlist/')}", 75 76 "valueTemplate": "{value}" 76 77 } … … 146 147 147 148 <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> 149 150 150 151 <dl> 151 152 <dt><label kauri-idref="randomlist" kauri-role="label"/></dt> 152 153 <dd> 153 <select kauri-idref="randomlist"/> 154 <button class="refresh" kauri-idref="randomlist"/> 154 <select kauri-idref="randomlist" /> 155 155 </dd> 156 156 </dl>
Note: See TracChangeset
for help on using the changeset viewer.