hi there's a utility class in tomahawk: AddResource I use that like this:
AddResource addResource = AddResourceFactory.getInstance(context); addResource.addStyleSheet(context, AddResource.HEADER_BEGIN, uri); regards, Cristi Toth ------------- Codebeat www.codebeat.ro On 8/13/07, Leonardo Uribe <[EMAIL PROTECTED]> wrote: > > Another question. How do you register the css file in a web page? I doing > this using trh:stylesheet component, but I could be better if this is > registered using some api on myfaces to register resources. I suppose that > you define a component for doing this. > > regards > > Att: Leonardo Uribe > --