This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Woodstock, Dojo & Race Conditions" Watch "Woodstock, Dojo & Race Conditions" New topic

Woodstock, Dojo & Race Conditions

B Webb

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="" target="_blank" rel="nofollow"></a><br />AIM/Yahoo: fzammetti<br />MSN:<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="" target="_blank" rel="nofollow"></a><br /> Supplying the wheel, so you don't have to reinvent it!
I agree. Here's the link:
subject: Woodstock, Dojo & Race Conditions
It's not a secret anymore!