Hi
You can create a wrapper RenderKit class (extends
javax.faces.render.RenderKitWrapper), and the entry on faces-config.xml, and
override:
public ResponseWriter createResponseWriter(Writer writer, String
contentTypeListString, String characterEncoding)
passing as second parameter */*. You can also do option 2 and provide a
custom ResponseWriter to handle text/css.
JSF 2.0 allow to provide wrappers for renderkits, so with this hack you can
wrap HTML_BASIC or other renderkits.
regards,
Leonardo Uribe
2011/9/1 Fernando Franzini <[email protected]>
>
> Hi Folks
>
> I am facing this problem and would like to use the first option described
> by
> Leonardo....
>
> 1. pass as second parameter for
> RenderKit.createResponseWriter(Writer writer, String contentTypeListString,
> String characterEncoding)
> */*, to ignore Accept header.
>
> Anyone have any example or link that show me how to do this?
> Best Regards.
> --
> View this message in context:
> http://old.nabble.com/-jira---Created--%28MYFACES-3174%29-IE9-css-loading-leads-to-java.lang.IllegalArgumentException%3A-ContentTypeList-does-not-contain-a-supported-content-type%3A-text-css-tp31842781p32379656.html
> Sent from the My Faces - Dev mailing list archive at Nabble.com.
>
>