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: Re: Trinidad + Myfaces 1.1.4 + Facelets 1.1.11 (or Facelets 1.1.6)
Date Thu, 10 Aug 2006 06:25:25 GMT
Just updated that FAQ page (see [1]).

[1] http://wiki.apache.org/myfaces/Trinidad_FAQ

On 8/9/06, Adam Winer <awiner@gmail.com> wrote:
> Mikhail,
>
> You've installed the Facelets ViewHandler using faces-config.xml.
> With Trinidad, you must install it using only web.xml.  Please
> look at the config files Matthias posted up above!
>
> -- Adam
>
>
>
>
>
> On 8/9/06, Mikhail Grushinskiy <mgrushinskiy@gmail.com> wrote:
> >
> > This is all I can get
> >
> > 00:41:44,046 INFO  [MyfacesConfig] No context init parameter '
> > org.apache.myfaces.PRETTY_HTML' found, using default value true
> > 00:41:44,046 INFO  [MyfacesConfig] No context init parameter '
> > org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
> > 00:41:44,046 INFO  [MyfacesConfig] No context init parameter '
> > org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
> > 00:41:44,046 INFO  [MyfacesConfig] No context init parameter '
> > org.apache.myfaces.AUTO_SCROLL' found, using default value false
> > 00:41:44,046 INFO  [MyfacesConfig] No context init parameter '
> > org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value
> > org.apache.myfaces.renderkit.html.util.DefaultAddResource
> > 00:41:44,203 INFO  [MyfacesConfig] No context init parameter '
> > org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value
> > true
> > 00:44:22,234 INFO  [STDOUT] Aug 10, 2006 12:44:22 AM
> >
> > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImplverifyFilterIsInstalled
> > WARNING: The AdfFacesFilter has not been installed.  ADF Faces requires
> > this
> > filter for proper execution.
> > 00:44:22,234 ERROR [HtmlMessageRendererBase] Could not render Message.
> > Unable to find component 'name' (calling findComponent on component
> > '_id7').
> > If the provided id was correct, wrap the message and its component into an
> > h:panelGroup or h:panelGrid.
> > 00:44:22,250 INFO  [STDOUT] Aug 10, 2006 12:44:22 AM
> > com.sun.facelets.FaceletViewHandler handleRenderException
> > SEVERE: Error Rendering View[/pages/inputname.xhtml]
> > java.lang.IllegalStateException: No AdfRenderingContext
> >     at
> >
> > org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderer.encodeBegin
> > (
> > CoreRenderer.java:155)
> >     at
> >
> > org.apache.myfaces.trinidadinternal.renderkit.htmlBasic.HtmlFormRenderer.encodeBegin
> > (HtmlFormRenderer.java:54)
> >     at javax.faces.component.UIComponentBase.encodeBegin(
> > UIComponentBase.java:512)
> >     at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(
> > ComponentSupport.java:232)
> >     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
> > :384)
> >     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.catalina.core.ApplicationDispatcher.invoke(
> > ApplicationDispatcher.java:672)
> >     at org.apache.catalina.core.ApplicationDispatcher.processRequest(
> > ApplicationDispatcher.java:463)
> >     at org.apache.catalina.core.ApplicationDispatcher.doForward(
> > ApplicationDispatcher.java:398)
> >     at org.apache.catalina.core.ApplicationDispatcher.forward(
> > ApplicationDispatcher.java:301)
> >     at org.apache.jasper.runtime.PageContextImpl.doForward(
> > PageContextImpl.java:693)
> >     at org.apache.jasper.runtime.PageContextImpl.forward(
> > PageContextImpl.java:660)
> >     at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:46)
> >     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >     at org.apache.jasper.servlet.JspServletWrapper.service(
> > JspServletWrapper.java:322)
> >     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java
> > :314)
> >     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:252)
> >     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:173)
> >     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> > ReplyHeaderFilter.java:81)
> >     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.CustomPrincipalValve.invoke(
> > CustomPrincipalValve.java:39)
> >     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
> > SecurityAssociationValve.java:159)
> >     at org.jboss.web.tomcat.security.JaccContextValve.invoke(
> > JaccContextValve.java:59)
> >     at org.apache.catalina.core.StandardHostValve.invoke(
> > StandardHostValve.java:126)
> >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > ErrorReportValve.java:105)
> >     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
> > :856)
> >     at
> >
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> > (Http11Protocol.java:744)
> >     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:595)
> >
> >
> > On 8/10/06, Adam Winer <awiner@gmail.com> wrote:
> > >
> > > Could you give us a full stack trace, not the snipped section
> > > here?
> > >
> > > -- Adam Winer
> > >
> > >
> > > On 8/9/06, Mikhail Grushinskiy <mgrushinskiy@gmail.com> wrote:
> > > > Now I'm getting facelets exception
> > > >
> > > > No AdfRenderingContext
> > > >
> > > >
> > > > java.lang.IllegalStateException: No AdfRenderingContext
> > > >         at
> > >
> > org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderer.encodeBegin
> > > (CoreRenderer.java:155)
> > > >         at
> > >
> > org.apache.myfaces.trinidadinternal.renderkit.htmlBasic.HtmlFormRenderer.encodeBegin
> > > (HtmlFormRenderer.java:54)
> > > >         at javax.faces.component.UIComponentBase.encodeBegin(
> > > UIComponentBase.java:512)
> > > >         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(
> > > ComponentSupport.java:232)
> > > >         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(
> > > ComponentSupport.java:239)
> > > >
> > > >
> > > >
> > > > On 8/10/06, Mikhail Grushinskiy <mgrushinskiy@gmail.com> wrote:
> > > > >
> > > > > Ok, I've passed via this error by adding el-api.jar and el-ri.jarfrom
> > > > > facelets distro. Thanks
> > > > >
> > > > >
> > > > > On 8/10/06, Matthias Wessendorf < matzew@apache.org> wrote:
> > > > > >
> > > > > > do you have javax.el ?
> > > > > >
> > > > > > ava.lang.NoClassDefFoundError : javax/el/ELException
> > > > > >
> > > > > > when you are using maven, it's easy to add it.
> > > > > >
> > > > > >       <dependency>
> > > > > >         <groupId>javax.el</groupId>
> > > > > >         <artifactId>el-api</artifactId>
> > > > > >         <version> 1.0alpha</version>
> > > > > >       </dependency>
> > > > > >
> > > > > >       <dependency>
> > > > > >         <groupId>javax.el</groupId>
> > > > > >         <artifactId>el-ri</artifactId>
> > > > > >         <version>1.0alpha </version>
> > > > > >       </dependency>
> > > > > >
> > > > > >
> > > > > > On 8/9/06, Mikhail Grushinskiy <mgrushinskiy@gmail.com>
wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > I can't get this combination to work. Do you have any examples
> > of
> > > > > > working
> > > > > > > configuration with this combo?
> > > > > > > The exception I'm getting:
> > > > > > >
> > > > > > > 23:18:02,906 ERROR [[faces]] Servlet.service() for servlet
faces
> > > threw
> > > > > > > exception
> > > > > > > java.lang.NoClassDefFoundError: javax/el/ELException
> > > > > > >     at com.sun.facelets.tag.AbstractTagLibrary.addTagHandler(
> > > > > > > AbstractTagLibrary.java:469)
> > > > > > >     at
> > > > > > >
> > > > > >
> > > com.sun.facelets.compiler.TagLibraryConfig$TagLibraryImpl.putTagHandler(
> > > > > > > TagLibraryConfig.java :90)
> > > > > > >     at
> > > > > >
> > com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement
> > > (
> > > > > > > TagLibraryConfig.java:200)
> > > > > > >     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(SAXParser.java:375)
> > > > > > >     at javax.xml.parsers.SAXParser.parse(SAXParser.java
:176)
> > > > > > >     at com.sun.facelets.compiler.TagLibraryConfig.create(
> > > > > > > TagLibraryConfig.java:394)
> > > > > > >     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
> > > > > > > :539)
> > > > > > >     at com.sun.facelets.FaceletViewHandler.renderView(
> > > > > > > FaceletViewHandler.java :589)
> > > > > > >     at org.apache.myfaces.lifecycle.LifecycleImpl.render(
> > > > > > LifecycleImpl.java
> > > > > > > :384)
> > > > > > >     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:320)
> > > > > > >     at
> > > > > > >
> > > > > >
> > >
> > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl
> > > > > > (
> > > > > > > TrinidadFilterImpl.java:289)
> > > > > > >     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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
(
> > > > > > > ReplyHeaderFilter.java:81)
> > > > > > >     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.CustomPrincipalValve.invoke
> > (
> > > > > > > CustomPrincipalValve.java:39)
> > > > > > >     at
> > > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke (
> > > > > > > SecurityAssociationValve.java:159)
> > > > > > >     at org.jboss.web.tomcat.security.JaccContextValve.invoke(
> > > > > > > JaccContextValve.java:59)
> > > > > > >     at org.apache.catalina.core.StandardHostValve.invoke(
> > > > > > > StandardHostValve.java:126)
> > > > > > >     at org.apache.catalina.valves.ErrorReportValve.invoke(
> > > > > > > ErrorReportValve.java:105)
> > > > > > >     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
> > > > > > > :856)
> > > > > > >     at
> > > > > > >
> > > > > >
> > >
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> > > > > > > (Http11Protocol.java:744)
> > > > > > >     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:595)
> > > > > > >
> > > > > > > Thanks,
> > > > > > > --MG
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Matthias Wessendorf
> > > > > >
> > > > > > further stuff:
> > > > > > blog: http://jroller.com/page/mwessendorf
> > > > > > mail: mwessendorf-at-gmail-dot-com
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
>


-- 
Matthias Wessendorf

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

Mime
View raw message