Em Tue, 18 Nov 2008 21:27:52 -0300, aldana <[EMAIL PROTECTED]> escreveu:

Thanks this worked. Am starting to like Tapestry way to build things (looking forwards to dig in deeper)...

You're welcome! Tapestry (the web framework) and Tapestry-IoC (the IoC container) are very, very interesting. :) You've just implemented one example of T-IoC's distributed configuration, something that Spring lacks and its wonderful for really modular development.

Just one last question. I noticed that when building Resource
implementations you pass in a path to Resource constructor and then another path to newResource(String), when creating the "real" asset. Why is that? Maybe in constructor you provide kind of root and with newResource you pass relative path-information?

Taking a quick look at the AbstractResource (superclass of both ClasspathResource and ContextResources) source code, I suppose you got it right. :)

For your curiosity: I am partly from Guatemala, but grew up in Berlin and am living here a happy life :)

Nice to know! :) I'm 100% from Brazil and living a happy life here. :D But living abroad again (I lived in England once) would be a very nice experience . . .

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

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

Reply via email to