[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-dev
Subject: Re: T5 adding additional stylesheets to page (from a component)
From: "Howard Lewis Ship" <hlship () gmail ! com>
Date: 2007-03-30 13:47:23
Message-ID: ecd0e3310703300647v3c1b3550v2ca3bbf8cca788f8 () mail ! gmail ! com
[Download RAW message or body]
It's definately a feature worth introducing; please add a JIRA issue.
On 3/30/07, Ted Steen <ted.steen@gmail.com> wrote:
> right now im doing like this in beginRender()
>
> Document document = environment.peek(Document.class);
> Element head = document.find("html/head");
> if (head == null) return;
> head.elementAt(0, "link", "rel", "stylesheet", "type", "text/css",
> "href", jsCalendarStylesheet
> .toClientURL());
>
> but it feels a little hackish..
>
> 2007/3/30, Ted Steen <ted.steen@gmail.com>:
> > If my component needs to contribute a script to a page I can use the
> > PageRenderSupport and just addScriptLink(...)
> > Why cant I do the same thing with a css?
> > Is it not implemented yet or is it intentionally left out? If so, why?
> >
> > --
> > /ted
> >
>
>
> --
> /ted
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic