You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Luke Wilson-Mawer <lu...@viscri.co.uk> on 2011/11/09 10:58:29 UTC

CSS Stacks

Hi,

Are relative URLs in CSS the only reason that combining CSS files in stacks isn't supported? Or are there other issues?

Basically, I want to serve a combined stack for each 'product' in our multi product application. Products contain many CSS files.

I'm looking now at how to add CSS support to stacks, perhaps by advising JavaScriptSupport service and overriding JavaScriptStackPathConstructor. Can anyone see any problems with this approach? Or would you go about it in another way?

Thanks,

Luke
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: CSS Stacks

Posted by Howard Lewis Ship <hl...@gmail.com>.
One other issue is the dynamic addition of new CSS files to the page
via Ajax; 5.3 includes some control over where the injected CSS files
go. That becomes even more complex if the CSS can be aggregated the
way JavaScript is.

On Wed, Nov 9, 2011 at 1:58 AM, Luke Wilson-Mawer <lu...@viscri.co.uk> wrote:
> Hi,
>
> Are relative URLs in CSS the only reason that combining CSS files in stacks isn't supported? Or are there other issues?
>
> Basically, I want to serve a combined stack for each 'product' in our multi product application. Products contain many CSS files.
>
> I'm looking now at how to add CSS support to stacks, perhaps by advising JavaScriptSupport service and overriding JavaScriptStackPathConstructor. Can anyone see any problems with this approach? Or would you go about it in another way?
>
> Thanks,
>
> Luke
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org