source: Dev/branches/rest-dojo-ui/client/dijit/tests/layout/combotab.html @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 558 bytes
Line 
1<div data-dojo-id="stateStore" data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-props='url:"../_data/states.json"'></div>
2State:
3<span id="editable" data-dojo-type="dijit.InlineEditBox" data-dojo-props='editor:"dijit.form.ComboBox",
4        editorParams:{value: "California", store: stateStore, searchAttr: "name", promptMessage: "Please enter a state"}'>
5        <script type="dojo/connect" data-dojo-event="onChange">
6                // connect to editable onChange event, Note that we dont need to disconnect
7                console.log('User selected:'+this.getValue());
8        </script>
9</span>
Note: See TracBrowser for help on using the repository browser.