javascript - Dojo JsonRest appends &name=* to target URL -
i try use dojo jsonrest fill dijit.form.select box , use following code:
var statestore = new jsonrest({target: "ip-address/activiti-rest/service/repository/process-definitions?startablebyuser=kermit", headers: {"authorization": "basic a2vybwl0omtlcm1pda=="}});
the problem is, target-url extended &name=*
therefore, server sees following request: ipaddress/activiti-rest/service/repository/process-definitions?startablebyuser=kermit&name=*
i can not figure out &name=*
comes from.
i read article: http://dojo-toolkit.33424.n3.nabble.com/dojox-data-jsonreststore-appends-quot-title-quot-to-my-target-url-why-td2012228.html , used allownotrailingslash-attribute without success.
my question how can avoid target url gets altered. must avoid &name=*
gets attached @ end of url.
thanks abd best regards
it fault because used dijit/form/filteringselect instead of dijit/form/select. filteringselect allows type in letters. letters appended url.
Comments
Post a Comment