myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <maili...@matthias-wessendorf.de>
Subject RE: trouble running 'non-jsp'-example
Date Fri, 14 Jan 2005 13:38:16 GMT
sure,

I guess there must be done more on this,
since it bounces in *HTML* RenderKit of
MyFaces...

But not able to look detailed at it.

Regards,
Matthias

> -----Original Message-----
> From: Matthias Wessendorf [mailto:mailings@matthias-wessendorf.de] 
> Sent: Friday, January 14, 2005 2:33 PM
> To: 'MyFaces Discussion'
> Subject: RE: trouble running 'non-jsp'-example
> 
> 
> I missed the error...
> 
> root cause
> 
> java.lang.ClassCastException
> 	
> org.apache.myfaces.renderkit.html.HtmlFormRendererBase.encodeB
> egin(HtmlF
> ormRendererBase.java:85)
> 	
> javax.faces.component.UIComponentBase.encodeBegin(UIComponentB
> ase.java:3
> 08)
> 	
> nonjsp.application.XulViewHandlerImpl.renderResponse(XulViewHa
> ndlerImpl.
> java:336)
> 	
> nonjsp.application.XulViewHandlerImpl.renderResponse(XulViewHa
> ndlerImpl.
> java:342)
> 	
> nonjsp.application.XulViewHandlerImpl.renderResponse(XulViewHa
> ndlerImpl.
> java:324)
> 	
> nonjsp.application.XulViewHandlerImpl.renderView(XulViewHandle
> rImpl.java
> :150)
> 	
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImp
> l.java:290
> )
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
> 
> 
> 
> 
> > -----Original Message-----
> > From: Matthias Wessendorf [mailto:mailings@matthias-wessendorf.de]
> > Sent: Friday, January 14, 2005 2:18 PM
> > To: 'MyFaces Discussion'
> > Subject: RE: trouble running 'non-jsp'-example
> > 
> > 
> > got it to run.
> > 
> > a) remove listener from non.jsp sample (web.xml)
> > b) add
> > <application><view-handler>nonjsp.application.XulViewHandlerIm
> > pl</view-h
> > andler></application>
> >  to faces-config.
> > 
> > c) remove work dir of non-jsp
> > d) restart tomcat
> > 
> > but now I got ClassCast - Errors in MyFaces's classes...
> > 
> > :-(
> > 
> > > -----Original Message-----
> > > From: Marc Lustig [mailto:marc.lustig@infodesire.com]
> > > Sent: Friday, January 14, 2005 1:52 PM
> > > To: MyFaces Discussion
> > > Subject: Re: trouble running 'non-jsp'-example
> > > 
> > > 
> > > Am Freitag, 14. Januar 2005 13:27 schrieb Matthias Wessendorf:
> > > > what did you do?
> > > >
> > > > did you add
> > > > <listener>
> > > >
> > > > 
> > > 
> > 
> <listener-class>org.apache.myfaces.webapp.StartupServletContextListene
> > > > r<
> > > > /
> > > > listener-class>
> > > > </listener>
> > > >
> > > > to web.xml ?
> > > 
> > > yep, same error in tomcat-log. I guess this is because 
> the non-jsp 
> > > example needs this special XUI-based listener.
> > > 
> > > Anybody here got the non-jsp example running with MyFaces?
> > > 
> > > Marc
> > > 
> > 
> 


Mime
View raw message