Re: multiple stylesheets

2006-09-02 Thread hv @ Fashion Content
This is exactly why I dont use the Border pattern. you dont need it if you use modern html markup. Page specific titles & meta tags Occasional special stylesheets, javascript for a page id/class parameters on body tags variations of headers/footers/nav bars All go against using Border For an al

Re: multiple stylesheets

2006-09-01 Thread Nick Westgate
Brian, I've never had to do that, but it's pretty easy to hack the built-in Tapestry components. Just look at the java source for Shell and add the outputting of the title attributes. In this case it looks like that would be easy if you want the stylesheet title based on the css filename, but if

Re: multiple stylesheets

2006-09-01 Thread andyhot
Well, in Tapestry 4.1.1 there's a new component @Style that can append stylesheets inside . It can be used from anywhere - even components can have their needed stylesheets appended. Here's some example usages: In Tapestry 4.0 or older, you should make use of the delegate parameter of @

Re: multiple stylesheets

2006-09-01 Thread Brian Long
Nick, that worked perfectly, thanks! I just had to change a few things for it to comply with T4, but unfortunately now I'm faced with another problem, there's no titles on my stylesheets. Border.html Border.jwc gives me: but I'd like: So as I can select them on the fly from my brows

Re: multiple stylesheets

2006-08-31 Thread Nick Westgate
Hi Brian. Hopefully someone using T4 can offer you more help, but in my current T3 project I do this via ... Border.jwc - which has a stylesheets parameter: ... 'html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"' ... SomePage