There really should be a dojo/woodstock method that can be used to
register "user" javascript functions to be invoked after the widgets
have been rendered. This seems like a hask with the "setTimeout'.
Steven Bell wrote:
> Just an update to what I've found. It seems there was a race
> condition. Using onLoad="setTimeout('init();', 0);" in the body tag
> would cause our init method to execute before the components it
> operated on were ready. Both moving the call to init father down the
> page (after the components), and changing the value 0 to something
> higher (causing a small delay) worked fine.
>
> On Nov 16, 2007 6:43 AM, Steven Bell <bell.steven_at_gmail.com
> <mailto:bell.steven_at_gmail.com>> wrote:
>
> The more we look at this the more it looks like some weird problem
> with our page. It works fine in Firefox, but fails in IE 6. I
> haven't tried IE 7.
>
> We created a new page by stripping out most of the body of the
> problem page, threw in a label and textField using refresh and
> submit (like the checkbox example) and it works fine (in fact we
> can't seem to make it break). I'll try the ?debug, but if that
> doesn't work I guess I'm down to building the page piece by piece
> to see where it breaks.
>
> If I find out the problem I'll be sure to post back here.
>
>
> On 11/16/07, *Dan Labrecque* < Dan.Labrecque_at_sun.com
> <mailto:Dan.Labrecque_at_sun.com>> wrote:
>
> IE 7 appears to be working for me. What version of Woodstock
> are you using?
>
> Please send us the exact error. If you add ?debug to the end
> of the URL,
> you may get better debug messages.
>
> Dan
>
> Steven Bell wrote:
> > I'm having a problem with the javascript functionality in
> Woodstock.
> > Everything works great in Firefox, but in IE I get an error
> saying the
> > Object doesn't have such a property or method. The happens
> on all the
> > ajaxy functions such as refresh, submit, getProps, setProps.
> >
> > The example app runs fine in IE and I can't find any
> differences that
> > would seem to matter. Any ideas?
> >
> > --
> > Regards,
> >
> > Steven Bell
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: dev-unsubscribe_at_woodstock.dev.java.net
> <mailto:dev-unsubscribe_at_woodstock.dev.java.net>
> For additional commands, e-mail:
> dev-help_at_woodstock.dev.java.net
> <mailto:dev-help_at_woodstock.dev.java.net>
>
>
>
>
> --
> Regards,
>
> Steven Bell
>
>
>
>
> --
> Regards,
>
> Steven Bell