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 protected]> 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to [email protected]
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to