Forms viewed in frame fail to initialise in IE6 due to YAHOO.util.Event.onDOMReady

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Forms viewed in frame fail to initialise in IE6 due to YAHOO.util.Event.onDOMReady

Nathan Jones-2
We have recently upgraded to a nightly build of Orbeon 3.7 from January
2009. We were previously using a nightly build of 3.6 from October 2007.
At some point between these two version xforms.js was modified to use
YAHOO.util.Event.onDOMReady to initialise the form, including removing
the xforms-initially-hidden class. Unfortunately the YUI onDOMReady
function is broken in IE when used in framesets and iframes
(http://yuilibrary.com/projects/yui2/ticket/2008289). Since our
application relies on xforms being rendered within a frame this is a
show stopper for us.

As a work around we can patch xforms.js so it uses document load instead
of dom ready but ideally we would like to see the YUI onDOMReady
function fixed (we also experience this problem elsewhere in our apps
when Orbeon is not involved).

In the hope that http://yuilibrary.com/projects/yui2/ticket/2008289 can
be resolved sooner, can you please let the YUI guys know that Orbeon
also requires this bug to be fixed?

 - Nathan


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Forms viewed in frame fail to initialise in IE6 due to YAHOO.util.Event.onDOMReady

Erik Bruchez
Administrator
> We have recently upgraded to a nightly build of Orbeon 3.7 from  

> January 2009. We were previously using a nightly build of 3.6 from  
> October 2007. At some point between these two version xforms.js was  
> modified to use YAHOO.util.Event.onDOMReady to initialise the form,  
> including removing the xforms-initially-hidden class. Unfortunately  
> the YUI onDOMReady function is broken in IE when used in framesets  
> and iframes (http://yuilibrary.com/projects/yui2/ticket/2008289).  
> Since our application relies on xforms being rendered within a frame  
> this is a show stopper for us.
>
> As a work around we can patch xforms.js so it uses document load  
> instead of dom ready but ideally we would like to see the YUI  
> onDOMReady function fixed (we also experience this problem elsewhere  
> in our apps when Orbeon is not involved).
>
> In the hope that http://yuilibrary.com/projects/yui2/ticket/2008289 
> can be resolved sooner, can you please let the YUI guys know that  
> Orbeon also requires this bug to be fixed?
Thanks for investigating. I added a comment there.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws