[jsr-314-open] outputStylesheet and media type, bug #550
Jim Driscoll
Jim.Driscoll at Sun.COM
Thu Jul 30 16:48:31 EDT 2009
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