Changeset 1439
- Timestamp:
- 2010-02-18 16:06:08 (2 years ago)
- Location:
- trunk/samples/kauri-forms-sample/src/main/kauri/pages
- Files:
-
- 5 edited
-
basic-controls1.html.xml (modified) (1 diff)
-
basic-controls2.html.xml (modified) (1 diff)
-
collection-control.html.xml (modified) (2 diffs)
-
collection-performance.html.xml (modified) (2 diffs)
-
selection-control.html.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/samples/kauri-forms-sample/src/main/kauri/pages/basic-controls1.html.xml
r1375 r1439 83 83 <tbody> 84 84 <tr> 85 <td><label kauri-role="label" kauri-idref="name" /></td>85 <td><label kauri-role="label" kauri-idref="name"></label></td> 86 86 <td><input kauri-idref="name"/></td> 87 87 <td><span kauri-idref="name" kauri-role="messages"/></td> -
trunk/samples/kauri-forms-sample/src/main/kauri/pages/basic-controls2.html.xml
r1353 r1439 60 60 </p> 61 61 62 <form id="basic-form" method="get" action="" >63 <fieldset >62 <form id="basic-form" method="get" action="" > 63 <fieldset kauri-role="input"> 64 64 <legend>Basic data form</legend> 65 65 -
trunk/samples/kauri-forms-sample/src/main/kauri/pages/collection-control.html.xml
r1345 r1439 95 95 </tr> 96 96 97 98 </thead> 99 100 <tbody kauri-role="container"> 97 101 <tr kauri-role="layout"> 98 102 <td> … … 111 115 </td> 112 116 </tr> 113 </thead>114 115 <tbody kauri-role="input">116 117 117 </tbody> 118 118 -
trunk/samples/kauri-forms-sample/src/main/kauri/pages/collection-performance.html.xml
r1224 r1439 85 85 </tr> 86 86 87 </thead> 88 89 <tbody kauri-role="container"> 87 90 <tr kauri-role="layout"> 88 91 <td> … … 114 117 </td> 115 118 </tr> 116 </thead>117 118 <tbody kauri-role="input">119 119 120 120 </tbody> -
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.