Login Register

dynamic data

Master detail with dijits

Hello everybody,

I am pretty sure my problem is kind of silly but I do not how to solve it, any help will be really appreciate.
I have a textbox to capture document (master section), with that document I want to bring and capture some other data (detail section), so, I need to use dijits in deatil section. I am testing with dojo.xhrGet and detail page is load but dijits loose their dojo properties, for instance, a validation text box does not validate data anymore. any ideas? I am sending the code for a beter understanding.

Thanks a lot in advanced.

dijit.Tree and dynamic data from DWR

Hi,

I'm currently porting a project from dojo 0.3 to 1.1.1. We use some trees that are dynamicaly loaded with data from the server, bij DWR services. In 0.3 it was easy to connect to the expand events, load data with DWR and create and add treenodes to the tree. This is essentially what we did in 0.3 (not real code, just to explain my case):


onOpened: function(openedNode) {
var callback = function(subItems) {
dojo.lang.forEach(subItems, function(subItem) {
var newChild = dojo.createWidget("TreeNode", {//create subNode here//});

Syndicate content