myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Aranda <brunoara...@gmail.com>
Subject Re: f:event throwing ClassNotFoundException for type
Date Tue, 16 Mar 2010 16:19:16 GMT
Ah yes, now I see. I will create the ticket and commit the fix!

Thanks guys!

Bruno

On 16 March 2010 16:12, Leonardo Uribe <lu4242@gmail.com> wrote:

> Hi
>
> It seems we don't have it on org.apache.myfaces.config.NamedEventManager,
> so
> f:event is unable to resolve it correctly. Just register it there will
> solve
> the problem.
>
> regards,
>
> Leonardo Uribe
>
> 2010/3/16 Bruno Aranda <brunoaranda@gmail.com>
>
> > Hi,
> >
> > I am testing a webapp with the latest myfaces snapshot, and the f:event
> tag
> > is throwing a ClassNotFoundException because it is not able to find the
> > type
> > "preRenderView"...
> >
> > <f:event type="preRenderView"
> listener="#{experimentController.loadData}"/>
> >
> > Why is it trying to search for the class "preRenderView"? Is this
> familiar
> > to anyone before I dig further?
> >
> > javax.faces.view.facelets.TagAttributeException:
> > /viewMetadata/curate/experiment.xhtml at line 16 and column 88
> > type="preRenderView" Couldn't create event class
> >        at
> >
> org.apache.myfaces.view.facelets.tag.jsf.core.EventHandler.getEventClass(EventHandler.java:152)
> >        at
> >
> org.apache.myfaces.view.facelets.tag.jsf.core.EventHandler.apply(EventHandler.java:94)
> >        at
> >
> javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:51)
> >        at
> >
> org.apache.myfaces.view.facelets.tag.jsf.core.ViewMetadataHandler.apply(ViewMetadataHandler.java:76)
> >        at
> >
> org.apache.myfaces.view.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:57)
> >        at
> >
> org.apache.myfaces.view.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:45)
> >        at
> >
> org.apache.myfaces.view.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:104)
> >        at
> >
> org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage$FaceletViewMetadata.createMetadataView(FaceletViewDeclarationLanguage.java:2076)
> >        at
> >
> org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:148)
> >        at
> >
> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:143)
> >        at
> > org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:93)
> >        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
> >        at
> > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)
> >        at
> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1216)
> >        at
> >
> org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
> >        at
> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
> >        at
> >
> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
> >
> >        ...
> >
> >
> > The thing works fine with Mojarra.
> >
> > Cheers,
> >
> > Bruno
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message