Hi According to http://tapestry.1045711.n5.nabble.com/Re-Prototype-IE9-update-td4331824.html I guess that tapx-prototype could help you in 5.2
Regards François 2011/5/1 Moritz Gmelin <moritz.gme...@gmx.de>: > Hi, > > we have had reports that our application causes errors in IE9. I could create > a very simple example of this behaviour. It seems that Zones that are updated > with an ActionLink contained in the Zone itself cause a problem with IE9. > In our Apache Log files I could see that IE9 does a POST on the update URL > and then a GET on the same URL which is answered by an error condition from > Tapestry. > Has this been reported yet? Any solutions? > > The example will cause an error as soon as the actionLink is clicked with > IE9. No problems with IE7 or other browsers though. > > Here is the TML of the example > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > <head> > </head> > <body class="startpage_body"> > <t:Zone t:id="myZone" id="myZone" visible="true"> > <t:delegate to="zoneBlock"/> > </t:Zone> > </body> > > <t:Block t:id="zoneBlock"> > <t:Loop source="numbers" value="current"> ${current} </t:Loop><br/> > <t:ActionLink id="action" zone="myZone">action</t:ActionLink> > </t:Block> > </html> > > And the Java code. > > package de.avetana.patientenakte.pages.test; > > import java.util.List; > import java.util.Vector; > > import org.apache.tapestry5.Block; > import org.apache.tapestry5.annotations.Persist; > import org.apache.tapestry5.annotations.Property; > import org.apache.tapestry5.ioc.annotations.Inject; > > public class ZoneTest > { > > @Inject > @Property > private Block zoneBlock; > > @Persist > @Property > private int number; > > @Property > private int current; > > > public List<Integer> getNumbers() > { > List<Integer> l1 = new Vector<Integer>(); > for (int i = 0; i < number; i++) > { > l1.add(i); > } > return l1; > } > > > public Block onAction() > { > number++; > return zoneBlock; > } > > } > > Thanks for any help or workarounds. > > Moritz > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org