I'm using this links inside JavaScript(as URL's) so I can't render components
there!?

Is it possible to create eventLinks at template and to send their URL's to
JavaScript somehow?


Thiago H. de Paula Figueiredo wrote:
> 
> On Wed, 26 May 2010 09:27:31 -0300, blueboy6 <blueb...@gmail.com> wrote:
> 
>> Hello ppl,
> 
> Hi!
> 
>> I have event links generated with component resources, lots of them...
>> 200-300 of them. and I have zone that all of them should update...
> 
> Why exactly don't you create this links in the template? An EventLink  
> needs some JavaScript to hook it to a Zone, and generating links from  
> ComponentResources.createEventLink() doesn't add the needed JavaScript.
> 
> Anyway, if you want to keep your code as it is, you'll need to hook the  
> links to the Zone yourself. Take a look at  
> http://tinybits.blogspot.com/2010/03/new-and-better-zoneupdater.html, file  
> ZoneUpdater.js.
> 
> -- 
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/-T5.1-generated-Event-Links-and-zone-tp28680025p28681949.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to