Re: How can I a additional rel tags to additionalCSSFiles function in components?
Re: How can I a additional rel tags to additionalCSSFiles function in components?
- Subject: Re: How can I a additional rel tags to additionalCSSFiles function in components?
- From: Pascal Robert <email@hidden>
- Date: Wed, 14 Sep 2011 10:56:27 -0400
Look like you will have to use ERXResponseRewriter.addStylesheetResourceInHead instead, one of the two signatures of that method allow you to specify the media type.
I override this method additionalCSSFiles (is declared in ERXComponent) in my component which extends ERXComponent
On Wed, Sep 14, 2011 at 1:45 PM, Pascal Robert <email@hidden> wrote:
What do you use to generate the <link> tag? ERXStyleSheet?
protected NSArray<String> additionalCSSFiles() { return new NSArray<String>( new String[] { "PrintStyle.css" } );
} I'm using this to add stylesheet to a component. How can I a additional rel tags f.e. media="print"?
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden)
This email sent to email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden