Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2150 mathias 1
<div dojoType="dojo.data.ItemFileReadStore" jsId="stateStore"
2
	url="../_data/states.json"></div>
3
State:
4
<span id="editable" dojoType="dijit.InlineEditBox" editor="dijit.form.ComboBox"
5
	editorParams="{value: 'California', store: stateStore, searchAttr: 'name', promptMessage='Please enter a state'}">
6
	<script type="dojo/connect" event="onChange">
7
		// connect to editable onChange event, Note that we dont need to disconnect
8
		console.log('User selected:'+this.getValue());
9
	</script>
10
</span>
11