Re: javascript not working in updated zone ( IE only)

2010-03-23 Thread peter ricke
Thanks Thiago, Thanks Josh. I used RenderSupport.addScript() as suggested. Therefore i wrote 2 mixins, one for displaying the area and one for removal Maybe this whole mixin-strategie was not what you suggested, but i did not find anything better. So i`m happy about having implemented my firs

Re: javascript not working in updated zone ( IE only)

2010-03-22 Thread Josh Canfield
Thiago is right. What is happening is the single quotes in your javascript are getting html encoded and IE doesn't like it. When prototype goes to update the div using innerHTML you get two syntax errors for the ' characters in the onclick attributes (the line number being 1 tells you that it's goi

Re: javascript not working in updated zone ( IE only)

2010-03-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Mar 2010 18:16:33 -0300, peter ricke wrote: id="info1b" >/\ Use RenderSupport.addScript() to add JavaScript to the page instead of adding it inside the HTML, specially inside zones. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate

Re: javascript not working in updated zone ( IE only)

2010-03-22 Thread peter ricke
Hi Josh, thanks for the very wellcome help, i created a small page reproducing the error (again only in IE) Tapestry Version is 5.1.0.5 Thanks, Peter _ErrorPage.tml:_ http://www.w3.org/1999/xhtml"; xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:paramet

Re: javascript not working in updated zone ( IE only)

2010-03-22 Thread Josh Canfield
My guess is it has something to do with code you aren't showing us... I'd love to help but I don't have the time to try all the variations that might be causing your problem. If you can create a small sample page that reproduces the problem I'll be glad to help you figure out what's wrong. It'd al

javascript not working in updated zone ( IE only)

2010-03-22 Thread peter ricke
Hello, I`m writing a component wherein a zone is used for displaying various content via blocks. One of this blocks contains the following code ${playingAct.title} \/ id="info1b" >/\