Hi Thomas,

tobago has no Stylesheet tag. Did you use any non tobago tags?

The debug output looks like you are using the stylesheet tag from tomahawk.

It is not possible to combine tobago with other jsf tag libraries.

Tobago has also a style tag, try this one.

Regards,
  Volker

Thomas Gaudin wrote:
> Arvid Hülsebus a écrit :
> 
>> It looks like you didn't add the Tobago resources to your WAR. If you
>> look into the tobago-example-demo WAR, you will see the directory
>> /tobago, which contains the resources needed by the themes. You will
>> need to add these to your WAR, too.
>>
>> Udo is currently working on simplifying this. Afterwards the themes
>> will packaged as archives and you won't need to unpack them. If you
>> use maven this is currently done automatically.
>>
>> Regards,
>> Arvid
> 
> Thanks for your answer Arvid.
> 
> I actually had included directories and jars into my webapp like it is
> in the tobago-example-demo and still get this error.
> I set the output level to debug and also tryed to debug the code but
> this doesn't help much...
> 
> I checked my classpath and I do not have any
> org.apache.myfaces.Stylesheet nor org.apache.myfaces.StylesheetRenderer
> in it.
> 
> Could it be the problem?
> 
> I inserted the stacktrace in case someone see some hint.
> 
> Thanks,
> 
> Thomas
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getRendererClassName(444) | rendererType =
> 'org.apache.myfaces.Stylesheet'
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/speyside/mozilla_5_0/tag/org.apache.myfaces.StylesheetRenderer_en
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/speyside/mozilla_5_0/tag/org.apache.myfaces.StylesheetRenderer
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/speyside/mozilla/tag/org.apache.myfaces.StylesheetRenderer_en
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/speyside/mozilla/tag/org.apache.myfaces.StylesheetRenderer
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/org.apache.myfaces.StylesheetRenderer_en
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/org.apache.myfaces.StylesheetRenderer
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla_5_0/tag/org.apache.myfaces.StylesheetRenderer_en
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla_5_0/tag/org.apache.myfaces.StylesheetRenderer
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla/tag/org.apache.myfaces.StylesheetRenderer_en
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/scarborough/mozilla/tag/org.apache.myfaces.StylesheetRenderer
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/org.apache.myfaces.StylesheetRenderer_en
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/org.apache.myfaces.StylesheetRenderer
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/standard/mozilla_5_0/tag/org.apache.myfaces.StylesheetRenderer_en
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/standard/mozilla_5_0/tag/org.apache.myfaces.StylesheetRenderer
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/standard/mozilla/tag/org.apache.myfaces.StylesheetRenderer_en
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/standard/mozilla/tag/org.apache.myfaces.StylesheetRenderer
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/org.apache.myfaces.StylesheetRenderer_en
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(251) | testing path:
> /org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/org.apache.myfaces.StylesheetRenderer
> 
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(290) | testing path:
> /org.apache.myfaces.StylesheetRenderer_en
> [benevole.info] DEBUG [http-80-Processor25]
> ResourceManagerImpl.getPaths(290) | testing path:
> /org.apache.myfaces.StylesheetRenderer
> [benevole.info] ERROR [http-80-Processor25]
> ResourceManagerImpl.getPaths(323) | Path not found, and no fallback.
> Using empty string.
> mainDirs = '[org/apache/myfaces/tobago/renderkit]' contentType = 'html'
> theme = 'speyside' browser = 'mozilla_5_0' subDir = 'tag' name =
> 'org.apache.myfaces.StylesheetRenderer' suffix = '' key = 'null'
> [benevole.info] ERROR [http-80-Processor25]
> ResourceManagerImpl.getRenderer(429) | name =
> 'org.apache.myfaces.StylesheetRenderer' clientProperties =
> 'html/speyside/mozilla_5_0'
> java.lang.NullPointerException
>    at
> org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer(ResourceManagerImpl.java:424)
> 
>    at
> org.apache.myfaces.tobago.renderkit.TobagoRenderKit.getRenderer(TobagoRenderKit.java:63)
> 
>    at
> javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:744)
>    at
> javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:509)
>    at
> com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:544)
> 
>    at
> com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:551)
> 
>    at
> com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457)
>    at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:372)
>    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Reply via email to