Hello,

started to try your example.
How can I deploy and invoke the example on a server?


See the other comments in the mail.


Stephen More wrote:
On 11/14/06, Bernd Bohmann <[EMAIL PROTECTED]> wrote:
looks like the scarborough jar is missing.

I added the scarborough jar.

I am using maven2 and put tobago-facelets in my pom.xml
http://www.ibiblio.org/maven2/org/apache/myfaces/tobago/tobago-facelets/1.0.8/

If scarborough is required, shouldn't it have been automatically downloaded ?

The tobago-facelets.jar has only a dependency to tobago-core.
You should include a dependency to a theme in you pom.


I'm not sure that tobago is working in a portlet enviroment, but if you
are interested I will try to help you with the errors.


This error should be fixed in the current snapshot.

Please follow the instructions in:

http://myfaces.apache.org/tobago/getting-started.html

Now I get this error:
  2006-11-15 14:50:26,413 WARN  [TobagoRenderKit:77] patching content
type from text/html to text/html'
2006-11-15 14:50:26,756 ERROR [RendererBase:112] catched
java.lang.ClassCastException: com.liferay.portlet.RenderResponseImpl
:com.liferay.portlet.RenderResponseImpl
java.lang.ClassCastException: com.liferay.portlet.RenderResponseImpl
at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer.encodeEndTobago(PageRenderer.java:145) at org.apache.myfaces.tobago.renderkit.RendererBase.encodeEnd(RendererBase.java:108) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323) at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298) at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380) at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
       at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
       at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)


Can you share the example with me?

Yes, I will put it on a web site shortly.


Regards


Bernd

Reply via email to