Hi,

did you unpack the needed theme resource files and put it in your war?

Do your are using myfaces-tags on your page?

I think the problem is, that tobago sets the render-kit-id to tobago.
So the myfaces tags will be rendered by the tobago renderer, which does not work.

JSF doesn't support multiple render-kits. In the moment, we have no good solution to use myfaces and tobago mixed.

By the way, the exception occurs because tobago needed a tc:page tag for creating a UIPage witch holds information e.g. to render the html head.

Regards,

Udo

Jürgen Melzer schrieb:
Hi,

I will try Tobagoa because it seems to be very interesting.
But when I put the needed jars in the classpath and write a simple
tobago-config.xml:
<tobago-config>
  <theme-config>

<default-theme>org.apache.myfaces.tobago.context.SpeysideTheme</default-theme>
  </theme-config>
  <resource-dir>tobago-resource</resource-dir>
  <resource-dir>tobago</resource-dir>
</tobago-config>

I get the following exception
java.lang.NullPointerException
     at
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.ButtonRenderer.createOnClick(ButtonRenderer.java:163)

At this moment I don not use any Tobago-Tags!!!!
I only call a jsp-file I used before.

Can someone help?

Regards,
Juergen



Reply via email to