This can be done using the new (in 5.2) JavaScriptSupport
@Environmental object.  It can express a couple of things that @Import
can not.  Just @Inject the Asset for the stylesheet(s) and invoke one
of the importStylesheet() methods.

Glad to see you back in the Tapestry fold ...  is this a personal
project, or something for Vertifore?

On Wed, Mar 16, 2011 at 8:40 PM, Ben Tomasini <ben.tomas...@gmail.com> wrote:
> Hello,
>
> I am looking to integrate the blueprint-css framework into a tapestry
> app and would like to use the @Import annotation on my Layout
> component to do so.
>
> The blueprint-css setup uses conditional comments
> (http://www.quirksmode.org/css/condcom.html) to give special
> instructions for IE 6 and IE7 in its third link below.
>
> <link rel="stylesheet" href="css/blueprint/screen.css" type="text/css"
> media="screen, projection">
> <link rel="stylesheet" href="css/blueprint/print.css" type="text/css"
> media="print">
> <!--[if lt IE 8]><link rel="stylesheet" href="css/blueprint/ie.css"
> type="text/css" media="screen, projection"><![endif]-->
>
> Is this possible via the @Import annotation?  Should I simply include
> this in my Layout.tml?
>
> Ben
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@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-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to