Ticket #6654: dojox.wire.demos_20080430.patch
| File dojox.wire.demos_20080430.patch, 7.8 kB (added by jaredj, 8 months ago) |
|---|
-
wire/demos/markup/demo_ActionWiring.html
76 76 <div dojoType="dijit.form.Button" jsId="searchButton">Search Datastore</div> 77 77 </td> 78 78 <td align="right"> 79 <div dojoType="dijit.form.TextBox" jsId="inputField" value="*" ></div>79 <div dojoType="dijit.form.TextBox" jsId="inputField" value="*" intermediateChanges="true"></div> 80 80 </td> 81 81 </tr> 82 82 </table> … … 112 112 object. The copy of values to the search should occur on each keyup event (each keypress) 113 113 --> 114 114 <div dojoType="dojox.wire.ml.Transfer" 115 trigger="inputField" triggerEvent="on keyup"115 trigger="inputField" triggerEvent="onChange" 116 116 source="inputField.textbox.value" 117 117 target="dataHolder.request.query.name"> 118 118 </div> -
wire/demos/markup/demo_ActionChaining.html
46 46 <table> 47 47 <tr> 48 48 <td> 49 <div dojoType="dijit.form.TextBox" id="inputField" value="" size="50" ></div>49 <div dojoType="dijit.form.TextBox" id="inputField" value="" size="50" intermediateChanges="true"></div> 50 50 </td> 51 51 </tr> 52 52 <tr> … … 84 84 <div dojoType="dojox.wire.ml.Action" 85 85 id="action1" 86 86 trigger="inputField" 87 triggerEvent="on keyup">87 triggerEvent="onChange"> 88 88 <div dojoType="dojox.wire.ml.Invocation" object="inputField" method="getValue" result="data.tempData"></div> 89 89 <div dojoType="dojox.wire.ml.Invocation" id="targetCopy" object="targetField1" method="setValue" parameters="data.tempData"></div> 90 90 </div> -
wire/demos/markup/demo_TopicWiring.html
47 47 <table> 48 48 <tr> 49 49 <td> 50 <div dojoType="dijit.form.TextBox" jsId="inputField" value="" size="50" ></div>50 <div dojoType="dijit.form.TextBox" jsId="inputField" value="" size="50" intermediateChanges="true"></div> 51 51 </td> 52 52 </tr> 53 53 <tr> … … 66 66 <div dojoType="dojox.wire.ml.Action" 67 67 id="action1" 68 68 trigger="inputField" 69 triggerEvent="on keyup">69 triggerEvent="onChange"> 70 70 <div dojoType="dojox.wire.ml.Invocation" topic="sampleTopic" parameters="inputField.value"></div> 71 71 </div> 72 72 -
wire/demos/markup/demo_ConditionalActions.html
72 72 73 73 <tr> 74 74 <td> 75 <b>Name:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingName" name="billingname" value="" size="50" ></div>75 <b>Name:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingName" name="billingname" value="" size="50" intermediateChanges="true"></div> 76 76 </td> 77 77 <td> 78 78 <b>Name:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="ShippingName" name="shippingname" value="" disabled="true" size="50"></div> … … 80 80 </tr> 81 81 <tr> 82 82 <td> 83 <b>Address 1:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingAddress1" name="billingaddress1" value="" size="50" ></div>83 <b>Address 1:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingAddress1" name="billingaddress1" value="" size="50" intermediateChanges="true"></div> 84 84 </td> 85 85 <td> 86 86 <b>Address 1:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="ShippingAddress1" name="shippingaddress1" value="" disabled="true" size="50"></div> … … 88 88 </tr> 89 89 <tr> 90 90 <td> 91 <b>Address 2:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingAddress2" name="billingaddress2" value="" size="50" ></div>91 <b>Address 2:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingAddress2" name="billingaddress2" value="" size="50" intermediateChanges="true"></div> 92 92 </td> 93 93 <td> 94 94 <b>Address 2:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="ShippingAddress2" name="shippingaddress2" value="" disabled="true" size="50"></div> … … 96 96 </tr> 97 97 <tr> 98 98 <td> 99 <b>City:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingCity" name="billingcity" value="" size="50" ></div>99 <b>City:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingCity" name="billingcity" value="" size="50" intermediateChanges="true"></div> 100 100 </td> 101 101 <td> 102 102 <b>City:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="ShippingCity" name="shippingcity" value="" disabled="true" size="50"></div> … … 112 112 </tr> 113 113 <tr> 114 114 <td> 115 <b>Zip code:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingZip" name="billingzip" value="" size="50" ></div>115 <b>Zip code:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="BillingZip" name="billingzip" value="" size="50" intermediateChanges="true"></div> 116 116 </td> 117 117 <td> 118 118 <b>Zip code:</b> <div class="rJustified" dojoType="dijit.form.TextBox" id="ShippingZip" name="shippingzip" value="" disabled="true" size="50"></div> … … 140 140 --> 141 141 <div dojoType="dojox.wire.ml.Action" 142 142 trigger="useSameAddress" 143 triggerEvent=" setChecked">143 triggerEvent="onChange"> 144 144 <!-- 145 145 Trigger a setting of the Shipping fields' input state based on the state of the checkbox. 146 146 --> … … 157 157 --> 158 158 <div dojoType="dojox.wire.ml.Action" 159 159 trigger="BillingName" 160 triggerEvent="on keyup">160 triggerEvent="onChange"> 161 161 <div dojoType="dojox.wire.ml.ActionFilter" required="useSameAddress.checked" requiredValue="true" type="boolean"></div> 162 162 <div dojoType="dojox.wire.ml.Transfer" source="BillingName.value" target="ShippingName.value"></div> 163 163 </div> 164 164 <div dojoType="dojox.wire.ml.Action" 165 165 trigger="BillingAddress1" 166 triggerEvent="on keyup">166 triggerEvent="onChange"> 167 167 <div dojoType="dojox.wire.ml.ActionFilter" required="useSameAddress.checked" requiredValue="true" type="boolean"></div> 168 168 <div dojoType="dojox.wire.ml.Transfer" source="BillingAddress1.value" target="ShippingAddress1.value"></div> 169 169 </div> 170 170 <div dojoType="dojox.wire.ml.Action" 171 171 trigger="BillingAddress2" 172 triggerEvent="on keyup">172 triggerEvent="onChange"> 173 173 <div dojoType="dojox.wire.ml.ActionFilter" required="useSameAddress.checked" requiredValue="true" type="boolean"></div> 174 174 <div dojoType="dojox.wire.ml.Transfer" source="BillingAddress2.value" target="ShippingAddress2.value"></div> 175 175 </div> 176 176 <div dojoType="dojox.wire.ml.Action" 177 177 trigger="BillingCity" 178 triggerEvent="on keyup">178 triggerEvent="onChange"> 179 179 <div dojoType="dojox.wire.ml.ActionFilter" required="useSameAddress.checked" requiredValue="true" type="boolean"></div> 180 180 <div dojoType="dojox.wire.ml.Transfer" source="BillingCity.value" target="ShippingCity.value"></div> 181 181 </div> … … 188 188 189 189 <div dojoType="dojox.wire.ml.Action" 190 190 trigger="BillingZip" 191 triggerEvent="on keyup">191 triggerEvent="onChange"> 192 192 <div dojoType="dojox.wire.ml.ActionFilter" required="useSameAddress.checked" requiredValue="true" type="boolean"></div> 193 193 <div dojoType="dojox.wire.ml.Transfer" source="BillingZip.value" target="ShippingZip.value"></div> 194 194 </div> … … 200 200 --> 201 201 <div dojoType="dojox.wire.ml.Action" 202 202 trigger="useSameAddress" 203 triggerEvent=" setChecked">203 triggerEvent="onChange"> 204 204 <div dojoType="dojox.wire.ml.ActionFilter" required="arguments[0]" requiredValue="true" type="boolean"></div> 205 205 206 206 <!--