• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How can I a additional rel tags to additionalCSSFiles function in components?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How can I a additional rel tags to additionalCSSFiles function in components? (From: Daði Magnússon <email@hidden>)
 >Re: How can I a additional rel tags to additionalCSSFiles function in components? (From: Pascal Robert <email@hidden>)
 >Re: How can I a additional rel tags to additionalCSSFiles function in components? (From: Daði Magnússon <email@hidden>)

  • Prev by Date: Deploy as a servlet
  • Next by Date: Re: EO refresh question
  • Previous by thread: Re: How can I a additional rel tags to additionalCSSFiles function in components?
  • Next by thread: How to get selected Object of AjaxAutoComplete
  • Index(es):
    • Date
    • Thread