Em Wed, 26 Sep 2007 13:23:47 -0300, Chris Lewis <[EMAIL PROTECTED]> escreveu:

Indeed, but its not declarative and it doesn't address style sheets.
Like I said, I'm not hell-bent on a declarative solution, but I do not
want to:

1) @Inject/@Path my css ...
2) .. and provide a getter ...
3) .. for every page!

What about creating an Layout component to generate the <link> tags you need? That's what I do in my project. The @Inject's and getters would be declared just once (in the Layout class). Your Layout component would have parameters to allow the addition of more <link> tags. ;)

Thiago

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

Reply via email to