*
The moose likes HTML, CSS and JavaScript and the fly likes Woodstock, Dojo & Race Conditions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Woodstock, Dojo & Race Conditions" Watch "Woodstock, Dojo & Race Conditions" New topic
Author

Woodstock, Dojo & Race Conditions

B Webb
Greenhorn

Joined: Sep 30, 2006
Posts: 7
I'm not sure if the race conditions I am encountering in Woodstock compomenents are derived from Woodstock components or the underlying Dojo functionality, and I'm hoping you can save me a lot of time by having the answer.

Turns out that the Woodstock Wizard component has some strange behavior, whereby, components do not get drawn, or are not visible, until components that have bindings get rendered. This is not isolated to the wizard component, but is repeatable more often using this component type. I am assuming that the bindings are using asynchronous calls, particularly valueChangeListenerExpression on the Woodstock listbox component.

Also, the most notable missing component in Woodstock, appears to be a onDocumentReady attribute or flag that takes asynch calls into account and doesn't fire until all components are rendered. Does Dojo have this?

Thanks in advance for any help.
Frank Zammetti
Ranch Hand

Joined: Dec 16, 2004
Posts: 136
Assuming that was directed at me, I have no knowledge of Woodstock at all and thus can't help any.

If you meant that as a more general question to all readers, then I step aside for someone else to answer


-- <br />Frank W. Zammetti<br />Founder and Chief Software Architect<br />Omnytex Technologies<br /><a href="http://www.omnytex.com" target="_blank" rel="nofollow">http://www.omnytex.com</a><br />AIM/Yahoo: fzammetti<br />MSN: fzammetti@hotmail.com<br />Author of "Practical Ajax Projects With Java Technology"<br /> (2006, Apress, ISBN 1-59059-695-1)<br />and "JavaScript, DOM Scripting and Ajax Projects"<br /> (2007, Apress, ISBN 1-59059-816-4)<br />Java Web Parts - <a href="http://javawebparts.sourceforge.net" target="_blank" rel="nofollow">http://javawebparts.sourceforge.net</a><br /> Supplying the wheel, so you don't have to reinvent it!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Woodstock, Dojo & Race Conditions