Re: how to override tapestry core components?

2008-10-21 Thread Thiago H. de Paula Figueiredo
Em Mon, 20 Oct 2008 23:45:44 -0300, Fernando Padilla [EMAIL PROTECTED]  
escreveu:


I need to override the tapestry core components ( PageLink, EventLink ),  
within a library, not within an application.


Just a suggestion: insteado of overriding the core components just inside  
your library, create similar components in your library that does exactly  
what you nedd. ;)


--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago

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



how to override tapestry core components?

2008-10-20 Thread Fernando Padilla
I need to override the tapestry core components ( PageLink, EventLink ), 
within a library, not within an application.


I created a library that all of our facebook apps use.  We need to 
override the PageLink and EventLink components to be able to work within 
facebook properly (minimal features).  The way I did that was to 
register the library as core, so that Tapestry when tapestry searches 
for core components, it would find those within this library first.


Below is what I think is wrong.  But ignoring what I think, how do you 
think I should be able to override a Tapestry core component? like 
PageLink or EventLink, etc etc.




what I think:

This worked in 5.0.11, but in 5.0.16 it looks to not work, or worst work 
randomly.  My guess is that because of the buggy feature saying that 
the modules are loaded in an 'random' order, then I can not reliably 
override the core library components.. since I don't know if my core 
library would be loaded before or after Tapestry's core library.. just 
my guess.



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