RE: t5: 5.2.4 and IE8

2011-01-25 Thread Wechsung, Wulf
tly t5-only specific but maybe there could be a section on the t5 site "IE8 and you" that collects these workarounds. Kind Regards, Wulf -Original Message- From: Donny Nadolny [mailto:donny.nado...@gmail.com] Sent: Dienstag, 18. Januar 2011 14:06 To: Tapestry users Subject: Re: t

Re: t5: 5.2.4 and IE8

2011-01-19 Thread Donny Nadolny
That's how I had it before, it doesn't work. I tried adding it to the end of the normal minified jQuery, and that worked on most browsers (I tested FF 3.6, IE 6, IE 7, and some version of chrome), but it doesn't work on IE 8. I got errors in Tapestry's JS when jQuery was included even with noConfli

Re: t5: 5.2.4 and IE8

2011-01-19 Thread LLTYK
I suspect you simply need to add noConflict to the end of the jquery js (without having to reminify). As long as it is in the same file it'll satisfy IE8. -- View this message in context: http://tapestry-users.832.n2.nabble.com/t5-5-2-4-and-IE8-tp5934819p5940730.html Sent from the Tapestry Users

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Angelo C.
works! you saved my day, thanks for sharing! -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-5-2-4-and-IE8-tp3345797p3346241.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Donny Nadolny
Hi Angelo, I had this exact problem - jQuery and Prototype don't work out in IE8 (I vaguely remember reading something about IE8 trying to be smart and load/run scripts in parallel, which cause problems). Sometimes prototype code would run, but $ would be referencing jQuery even though I had calle

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Angelo C.
Thanks for the code. It seems to me, T5.2.4 app with jQuery will fail in IE 8, from what I found out in Google, running jQuery's noConflict() ahead of Prototype might solve the problem, but with this issue: https://issues.apache.org/jira/browse/TAP5-1416 , jQuery is not combined into the single js

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Joost Schouten (ml)
I did test it now and it doesn't work. The code should have been: @AfterRender private void afterRender(MarkupWriter writer) throws JaxenException { Element foundIEMode = TapestryXPath.xpath("html/head/meta[@http-equiv='X-UA-Compatible']").selectSingleElement(writer.getDocument());

Re: t5: 5.2.4 and IE8

2011-01-18 Thread Joost Schouten (ml)
Haven't tested it but something like this will probably do the trick: @AfterRender private void afterRender(MarkupWriter writer) { Element foundIEMode = writer.getDocument().find("html/head/meta[@http-equiv='X-UA-Compatible']"); Element head = writer.getDocument().find("htm

t5: 5.2.4 and IE8

2011-01-18 Thread Angelo C.
Hi, after upgrading, my app has problem with IE8 all the time, I need to put this as the first entry in the head section: but T5.2.4 always has scripts inserted first: < script src="/tapestry5-hotel-booking/assets/1.2-SNAPSHOT/stack/en/core.js"... any approach to force that meta tag to be t