1 | appbuilder open |
1 | appbuilder stop |
1 | <dependency org="dojo" name="dojo" rev="1+"/> |
1 2 3 | app/zwidgets/x/MyWidget.js app/zwidgets/x/templates/MyWidget.html |
1 | dojo.registerModulePath ("x", "../zwidgets/x"); |
1 2 3 4 5 6 7 | dojo.xhrGet( { url: "resources/person", handleAs: "text", preventCache: true, load: function(response) { dojo.byId('info').innerHTML = response; } } ); |
1 | GlobalContex.zget ("/request/params/dojo.preventCache"); |
1 | /config/request/params/strip/dojo.preventCache = true |
1 2 3 4 | /config/handlers += [ { "events" : "requestBegin", "handler" : "zero.dojo.filters.DojoPreventCacheFilter.class", "conditions" : "/request/path =~ /resources(/.*)?" }] |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |