On 11/15/06, Bernd Bohmann <[EMAIL PROTECTED]> wrote:
Hello,

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

You can download a working portal from:
http://www.liferay.com/web/guest/downloads
Once the portal is up and running, you configure a directory where
portlets are HotDeployed. Copy the war file into this deploy directory
then that portlet can be added to a page within the portal.

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


I have tried:

$ svn checkout http://svn.apache.org/repos/asf/myfaces/tobago/trunk/ tobago
svn: PROPFIND request failed on '/repos/asf/myfaces/tobago/trunk'
svn: PROPFIND of '/repos/asf/myfaces/tobago/trunk': 504 Proxy Timeout
( Connection timed out. For more information about this event, see ISA
Server Help.  ) (http://svn.apache.org)

I will try again later.

-Thanks

> 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