Hi Tapestry team,

Is there any chance of this bug: 
https://issues.apache.org/jira/browse/TAPESTRY-2369 being fixed... a patch is 
available, so all thats required is to include it in the next build, sorry for 
being a bit petulant for this fix, its just that it affects a number of 
sections in our site and we have reached our due date for release. It would 
really help us out as we have a requirement to freeze the version we release 
with, even if only a snapshot. 

Thanks so much,
Peter



----- Original Message -----
From: "Alex.Hon" <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Friday, 25 April, 2008 6:16:25 AM GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: Probable zone update bug


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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to