https://issues.apache.org/jira/browse/TAPESTRY-2369
Peter Stavrinides wrote: > > Hi All, > > A colleague of mine has discovered an anomaly with the the latest t5 > snapshot, it came up from April 23's nightly build jars. Here's a simple > example where this happens. If the action link is moved anywhere above the > t:zone in the .tml it works. If it is below the zone it does not work. > > Java file: > public class Zones > { > @Persist > @Property > private int data = 0; > > @Inject > private Block someBlock; > > @OnEvent(component = "theLink") > Object onEvent() { > return someBlock; > } > > void onAction() { > data++; > } > } > > > > tml file: > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > <head><title>Ajax test</title></head> > <body> > > <t:zone t:id="zoneToUpdate"> > <t:delegate to="block:someBlock" /> > </t:zone> > > <t:block t:id="someBlock"> > <t:actionlink t:id="theLink" > t:zone="zoneToUpdate">click</t:actionlink> > <br/> > ${data} > </t:block> > > </body> > </html> > > > It appears as if Zones are not properly linked in some cases. The > Tapestry.linkZone javascript function, 2nd line (var zone = > $(zoneDiv).zone) returns undefined. > > > Peter > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Probable-zone-update-bug-tp16877437p16884119.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]