Login Register

querystring

passing parameters in contentpane's href

I have a tabcontainer with a contentpane, let's call it editTab. Elsewhere I have a js function:

function modify(id) {
var editTab = dijit.byId("editTab");
submitTab.setHref="/edit.html?id=" + id;
submitTab.refresh();
dijit.byId("myTabContainer").selectChild(editTab);
}

Let's I call modify(42); On server side I get the request for edit.html, but with an empty querystring (you know, HttpServletRequest.getQueryString();). Does dojo eat away my parameters? Any way to go by this? Other than xhrPost and setContent?

Syndicate content