webtier@glassfish.java.net

Re: [webtier] <h:outputStylesheet> rendering after primefaces resources.

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Mon, 25 Jan 2010 12:09:18 -0800

It depends on how primefaces is loading the resource. If the load is
happening in the component itself, then the problem is that you are
calling <h:outputStylesheet> *before* the call in the component.

Try putting the <h:outputStylesheet> at the end of your document, and
see if that fixes it.

Jim

On 1/25/10 4:57 AM, webtier_at_javadesktop.org wrote:
> Hi all, primefaces 2 is using jsf 2.0 resource loading to load its resources, unfortunately mojarra is rendering them after my<h:outputStylesheet> tags. This makes overriding css nigh impossible,<h:outputStylesheet>
>
> Should this behavior be considered correct? If not I will log a bug. If this is corrent then can I possibly override the way that<h:outputStylesheet> is rendered so it appears after the primefaces resources?
> [Message sent by forum member 'justinwyer' (justin_at_lifeasageek.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=382766
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>