Modifying DOM before netWindows tree widget created.
[email protected] 22 Apr 2004 02:21:35 -0000
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <[email protected]> |
Hi folks, I think I do need some help with this. Let me explain what I am doing. I have a discussion hierarchy that Domino cannot return in the structured manner required by netWindows (ie the nested div elements representing the hierarchy). But Domino will return an identifier for each entry, and the structure of this identifier corresponds to the depth and location of the entry in the hierarchy. I am manipulating the DOM in Javascript using this identifier before I want to pass it on to netWindows tree widget to process. The manipulated DOM structure is fine if I save it to a file with the relevant netWindows code in the html head - when I load the file, it is processed appropriately by the tree widget (and very cool it is too...) However, I am at a loss as to the best way to coordinate this processing. Alex (briefly) suggested that __data__.getData() would be the way to do it. But looking through The Manual, it looks a) like this is for asynchronous data retrieval to update the page already displayed b) even if it would be appropriate for the initial loading of my data prior to manipulation, I don't really understand how the data structure part of the the call would work. [It did strike me when I read how __data__.getData() works, that maybe that is where I should be manipulating the structure of my document - but as I spent so long getting it to work my way, I'm reluctant to change it ;-) ] I also noticed that there are the __sig__.connectByName calls, and wondered if they might not be more appropriate. All I really want to do is - load my page - manipulate div structuring in the DOM - have netWindows tree widget then process this altered page Regards, Bernard _______________________________________________ The netWindows developers list: [email protected] http://netwindows.org/mailman/listinfo/devel_netwindows.org