在Dojo中使用JsonRestStore为树延迟加载扩展请求设置其他查询参数的位置?

时间:2011-08-01 20:23:57

标签: parameters dojo tree lazy-loading

对于使用JsonRestStore和ForestModel的延迟加载树,其中 我会设置一个额外的查询参数,以包含在expand中 要求?我已经在SMD中声明了附加参数,但是我 似乎只能使用SMD实例化中设置的默认值, 因为expand事件只将节点id传递给Service.js “_executeMethod”。

我已经走了很多次,但有一些魔力 发生在Service.js之间的dojo._hitchArgs方法中 发出请求的_executeMethod和JsonRest.js 查询(service,id, args )方法。所以基本上如何获取我的参数 args 变量?

谢谢, -robbie

0 个答案:

没有答案