Quick thought: You could copy the code for that from T5.1 RenderSupport, and recreate it as your own environmental?
On Thu, Oct 28, 2010 at 4:34 AM, Mark <mark-li...@xeric.net> wrote: > Ok I found that I can @Inject RenderSupport and call it like: > > @SetupRender > public void setupRender() { > renderSupport.addStylesheetLink("CustomCSS", null); > } > > This works, but RenderSupport has been deprecated and "replaced" by > JavaScriptSupport. Unfortunately JavaScriptSupport only has methods for > stylesheets that take Assets--and I can't create an asset that points to a > page. There isn't a method equivalent to renderSupport.addStylesheetLink > that takes a String. > > Is there a replacement from RenderSupport.addStylesheetLink(String, String) > that I'm overlooking? > > Mark > > On Wed, Oct 27, 2010 at 8:25 PM, Mark <mark-li...@xeric.net> wrote: > > > Ok, I'll assume it is a bug ( > > https://issues.apache.org/jira/browse/TAP5-1330) > > > > Is there anyway to use the @Import annotation to add a stylesheet that > > isn't a local asset--as in a page that is rendering as css instead of > HTML. > > If there is a way to @Import a stylesheet that is on a remote server, it > > would probably work, but I can't seem to find a way to do that. Is it > > possible? > > > > Mark > > > > >