You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Lenny Primak <lp...@hope.nyc.ny.us> on 2011/10/23 13:48:01 UTC

Zone updates on IE?

I decided to test my app on IE today and it isn't 100%.
Most problems deal with AJAX/zone updates.
This is especially true in production mode with scripts combined/minimized/compressed.
I get all sorts of random problems with ZoneManager being not found etc.

I am using IE8 on XP with tap5.3-beta-26

Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Zone updates on IE?

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
I guess the problem didn't go away.  I even saw it on Firefox once.
I now know a little more about this.
It seems to be an initialization race condition with some other vendor JS that's running onLoad()

What happens is that Tapestry linkZone initialization code gets run before DOM (and the zone element)
gets loaded and I get an error about the missing zone from the Tapestry.js.

Does anyone have any idea on how to work around this?
I can't get it to reproduce in development mode, but it happens on _some_ machines
frequently and some none at all.  On IE8. In production mode.

Thanks!

On Oct 24, 2011, at 4:15 PM, Lenny Primak wrote:

> It turns out IE is more sensitive to JS initialization order, especially in production mode.
> The cure was to put some objects into a LATE initialization stage, i.e
> javaScriptSupport.addInitializerCall(InitializationPriority.LATE, "disableAfterSubmit", spec);
> 
> On Oct 23, 2011, at 7:48 AM, Lenny Primak wrote:
> 
>> I decided to test my app on IE today and it isn't 100%.
>> Most problems deal with AJAX/zone updates.
>> This is especially true in production mode with scripts combined/minimized/compressed.
>> I get all sorts of random problems with ZoneManager being not found etc.
>> 
>> I am using IE8 on XP with tap5.3-beta-26
>> 
>> Thanks.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Zone updates on IE?

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
It turns out IE is more sensitive to JS initialization order, especially in production mode.
The cure was to put some objects into a LATE initialization stage, i.e
javaScriptSupport.addInitializerCall(InitializationPriority.LATE, "disableAfterSubmit", spec);

On Oct 23, 2011, at 7:48 AM, Lenny Primak wrote:

> I decided to test my app on IE today and it isn't 100%.
> Most problems deal with AJAX/zone updates.
> This is especially true in production mode with scripts combined/minimized/compressed.
> I get all sorts of random problems with ZoneManager being not found etc.
> 
> I am using IE8 on XP with tap5.3-beta-26
> 
> Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org