We've created a simple template component to render the generic html layout of the page and handle things like the navigation in the near future. Since we've just started to use tapestry I am still trying to get my head around some of the things that would probably seem obvious to anybody else.
I will have several CSS files linked in the head of my html file, since the url to a specific page is unknown and may be nested in a directory structure these files need to be absolute and should have the context root included. Now I've figured out how to do that using this: @Inject @Path("context:static/css/layout.css") private Asset layoutCSS; The layout doesn't change, this is fine with me, but the color-scheme will change depending on which section of the site a user is browsing in and this introduces a variable in the directory structure. Now I've figured out how to use a property to pass that value on to my template component: <t:SiteDesign title="literal:xyz" skin="literal:advertiser" xmlns:t=" http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> However, I have spent some time trying to figure out how to get this value injected into my accual url, as this doesn't work: @Inject @Path("context:static/css/${skin}/color-scheme.css") private Asset skinCSS; Can anybody tell me what the preferred way of solving this issue would be? Thanx, Martin -- ( /' _/_ __ _ _ |/|///)(/(/(//_(-/ _/ Website: http://www.windgazer.nl