incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Böhringer Jochen <Jochen.Boehrin...@tcc-products.de>
Subject Re: CSS for Skin not included in generated html output using Trinidad head/Tomahawk 1.1.5 nightly/myfaces 1.1.5 nightly/facelets 1.1.11
Date Wed, 08 Nov 2006 09:10:44 GMT
Hello Adam,

Mea culpa!! Thanks a lot! Added tr:document and it works like a charm:-)

Regards
Jochen

-----Ursprüngliche Nachricht-----
Von: Adam Winer [mailto:awiner@gmail.com] 
Gesendet: Mittwoch, 8. November 2006 01:58
An: adffaces-user@incubator.apache.org
Betreff: Re: CSS for Skin not included in generated html output using Trinidad head/Tomahawk
1.1.5 nightly/myfaces 1.1.5 nightly/facelets 1.1.11

Trinidad does not use its filter to insert the CSS.  Instead, you must either
use one of:
  - tr:document instead of HTML/BODY/HEAD (preferred)
  - trh:head instead of HEAD
  - trh:styleSheet if neither of the previous two are possible

-- Adam


On 11/7/06, Böhringer Jochen <Jochen.Boehringer@tcc-products.de> wrote:
>
>
>
>
> Hello Trinidad users,
>
>
>
> I try to develop an application using the Trinidad capabilities. But the
> Trinidad Filter does not include the necessary css definitions to render the
> skins. Also the command Buttons are not rendered as image buttons as defined
> in the skin definition. They are rendered as ordinary <input type="button"...>
>
>
>
> The Tomahawk extension filter works. Lines like these ones are included in
> the output:
>
>
>
> <script type="text/javascript"
> src="/FTMNG/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11629454/navmenu.jscookmenu.HtmlJSCookMenuRenderer/JSCookMenu.js"><!--
>
>
>
> //--></script>
>
> <script type="text/javascript"
> src="/FTMNG/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11629454/navmenu.jscookmenu.HtmlJSCookMenuRenderer/MyFacesHack.js"><!-
>
>
>
> But not stylesheet definitions linking to the ADF Resource servlet are
> included in the output...
>
>
>
> I have attached my web.xml and faces-config.xml
>
>
>
> Perhaps someone can give me a hint (tomcat 5.5.17 Java 1.5)
>
>
>
> Regards
>
> Jochen
>

Mime
View raw message