incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Problems with Trinidad + Facelets.
Date Sat, 13 Jan 2007 12:22:32 GMT
Adam-

I am also using Trinidad and Facelets (1.1.11) instead of JSP. I am
using the setActionListener and it works (on Jetty).

Also the SetActionListenerTag clazz extends the desired TagHandler clazz:

public class SetActionListenerTag extends TagHandler
{
...

Have looked at the JBoss forums on a similar error ?

-M

On 1/12/07, Adam Koprowski <adam.koprowski@gmail.com> wrote:
>     Hello,
>    I'm using Trinidad for some time already but hearing all the praise for
> Facelets I decided to make a switch to it from JSP. However I keep on
> getting the error saying that SetActionListenerTag from Trinidad should be
> an instance of Facelets tag handler (detailed error below, this one is for
> tr.taglib.xml, for trh.taglib.xml I get a similar one just concerning
> TrinidadComponentHandler). As far I can see it is so I'm not sure what's the
> cause of this error. Any ideas?
>   I tried using the latest snapshot of Trinidad from the repository and also
> building it from sources. I'm using facelets-1.1.11 and JBoss-4.0.5 under
> Mac OS. Any help greatly appreciated!
>
>    Kind regards,
>    Adam Koprowski
>
> java.io.IOException: Error parsing [jar:file:/Applications/jboss-
> 4.0.5.GA/server/postgres/lib/trinidad-impl-incubator-m1-SNAPSHOT.jar!/META-INF/tr.taglib.xml]:
>
>     at com.sun.facelets.compiler.TagLibraryConfig.create(
> TagLibraryConfig.java:397)
>     at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(
> TagLibraryConfig.java:418)
>     at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:86)
>     at com.sun.facelets.compiler.Compiler.compile(Compiler.java:103)
>     at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(
> DefaultFaceletFactory.java:192)
>     at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(
> DefaultFaceletFactory.java:141)
>     at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(
> DefaultFaceletFactory.java:93)
>     at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java
> :503)
>     at com.sun.facelets.FaceletViewHandler.renderView(
> FaceletViewHandler.java:553)
>     at
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(
> ViewHandlerImpl.java:178)
>     at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(
> RenderResponseExecutor.java:38)
>     at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java
> :129)
>     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>     at
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter
> (TrinidadFilterImpl.java:326)
>     at
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(
> TrinidadFilterImpl.java:290)
>     at
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(
> TrinidadFilterImpl.java:213)
>     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(
> TrinidadFilter.java:90)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>     at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
> ExtensionsFilter.java:144)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> ReplyHeaderFilter.java:96)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
>     at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
> SecurityAssociationValve.java:175)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java:432)
>     at org.jboss.web.tomcat.security.JaccContextValve.invoke(
> JaccContextValve.java:74)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>     at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(
> CachedConnectionValve.java:156)
>     at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
>     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :869)
>     at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> (Http11BaseProtocol.java:664)
>     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:527)
>     at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(
> MasterSlaveWorkerThread.java:112)
>     at java.lang.Thread.run(Thread.java:613)
> Caused by: org.xml.sax.SAXException: Error Handling
> [jar:file:/Applications/jboss-
> 4.0.5.GA/server/postgres/lib/trinidad-impl-incubator-m1-SNAPSHOT.jar!/META-INF/tr.taglib.xml@10,101]
> <handler-class>
>     at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(
> TagLibraryConfig.java:258)
>     at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> Source)
>     at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown
> Source)
>     at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
> Source)
>     at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
>     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
> Source)
>     at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
>     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>     at javax.xml.parsers.SAXParser.parse(Unknown Source)
>     at javax.xml.parsers.SAXParser.parse(Unknown Source)
>     at com.sun.facelets.compiler.TagLibraryConfig.create(
> TagLibraryConfig.java:394)
>     ... 41 more
> Caused by: java.lang.Exception:
> org.apache.myfaces.trinidadinternal.facelets.SetActionListenerTag must be an
> instance of com.sun.facelets.tag.TagHandler
>     at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.createClass
> (TagLibraryConfig.java:280)
>     at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(
> TagLibraryConfig.java:205)
>     ... 56 more
>
> --
> =====================================================
> Adam.Koprowski@gmail.com, ICQ: 3204612
> http://www.win.tue.nl/~akoprows
> The difference between impossible and possible
> lies in determination (Tommy Lasorda)
> =====================================================
>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Mime
View raw message