[jsr-314-open] outputStylesheet and media type, bug #550

Norbert Truchsess norbert.truchsess at t-online.de
Fri Jul 31 04:06:59 EDT 2009


100% agree

Norbert

Am Donnerstag, den 30.07.2009, 13:48 -0700 schrieb Jim Driscoll:
> There's a bug filed against the spec, 550.
> 
> https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=550
> 
> I also filed a separate bug on the issue, which I've just marked as a 
> duplicate.
> 
> To summarize the problem:  Sometimes, you don't *want* the css link to 
> be media="screen", but that's what's currently required by the spec.
> 
> To fix this, we need to add an attribute to the outputStylesheet tag, 
> "media".  Then specify that the media type is set to that attribute's 
> value, or unset if not specified.
> 
> I think this is example of JSF overspecifying - there was no reason to 
> specify media type of 'screen' in the output tag.
> 
> This is a small change, and there's good reason to view this as an 
> oversight in the 2.0 spec.   As such, I'd like advocate placing this on 
> the errata list, and change the implementation immediately.  Please 
> respond if you disagree.
> 
> Jim





More information about the jsr-314-open-mirror mailing list