|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
Could not find rendererHello, I'm pretty new to jsf and would like to make a small website. I try to make a tabbed menu with tr:navigationPane but I'm stuck with the following error:
WARNING: Could not find renderer for CoreNavigationPane[UIXFacesBeanImpl, id=j_id8] rendererType = org.apache.myfaces.trinidad.Pane my versions: tomahawk 1.1.3 jsf-facelets 1.1.11 softeu-rewriter 11 myfaces-api 1.2.4 myfaces-impl 1.2.4 jstl 1.1.2 trinidad-api 1.2.10 trinidad-impl 1.2.10 What I'm doing wrong? tnx Bast |
|
|
Re: Could not find rendererThat error is typically caused by myfaces or Trinidad not being
configured correctly. Did you follow the installation instructions for myfaces, facelets, and trinidad? Send your web.XML and faces- config.XML files R Sent from my iPhone On Oct 2, 2009, at 8:07 AM, baeschtu baeschtu <baeschtu@...> wrote: > Hello, I'm pretty new to jsf and would like to make a small website. > I try to make a tabbed menu with tr:navigationPane but I'm stuck > with the following error: > > WARNING: Could not find renderer for CoreNavigationPane > [UIXFacesBeanImpl, id=j_id8] rendererType = > org.apache.myfaces.trinidad.Pane > > my versions: > tomahawk 1.1.3 > jsf-facelets 1.1.11 > softeu-rewriter 11 > myfaces-api 1.2.4 > myfaces-impl 1.2.4 > jstl 1.1.2 > trinidad-api 1.2.10 > trinidad-impl 1.2.10 > > What I'm doing wrong? > > tnx > Bast |
|
|
Re: Could not find rendererYou should be using facelets 1.1.14 instead of 1.1.11
Sent from my iPhone On Oct 2, 2009, at 8:07 AM, baeschtu baeschtu <baeschtu@...> wrote: > Hello, I'm pretty new to jsf and would like to make a small website. > I try to make a tabbed menu with tr:navigationPane but I'm stuck > with the following error: > > WARNING: Could not find renderer for CoreNavigationPane > [UIXFacesBeanImpl, id=j_id8] rendererType = > org.apache.myfaces.trinidad.Pane > > my versions: > tomahawk 1.1.3 > jsf-facelets 1.1.11 > softeu-rewriter 11 > myfaces-api 1.2.4 > myfaces-impl 1.2.4 > jstl 1.1.2 > trinidad-api 1.2.10 > trinidad-impl 1.2.10 > > What I'm doing wrong? > > tnx > Bast |
|
|
Re: Could not find rendererRight, I did not following the installation instructions :-) Thanks for the help!
2009/10/2 Richard Yee <richard.k.yee@...> You should be using facelets 1.1.14 instead of 1.1.11 |
|
|
Re: Could not find rendererAfter I found some tutorials and updated my config I'm still stuck with the following Exception when I access the website.
Exception while calling encodeBegin on component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /index.xhtml][Class: javax.faces.component.html.HtmlForm,Id: j_id4]} web.xml and faces-config.xml are attached. my versions: tomahawk 1.1.3 jsf-facelets 1.1.14 softeu-rewriter 11 myfaces-api 1.2.4 myfaces-impl 1.2.4 jstl 1.1.2 trinidad-api 1.2.10 trinidad-impl 1.2.10 Any help would be appreciated Bast 2009/10/2 baeschtu baeschtu <baeschtu@...> Right, I did not following the installation instructions :-) Thanks for the help! <?xml version="1.0"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> <description>my-manager Web</description> <context-param> <description>Comma separated list of URIs of (additional) faces config files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2, 10.3.2 Attention: You do not need to put /WEB-INF/faces-config.xml in here. </description> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/my-config.xml</param-value> </context-param> <context-param> <description>State saving method: "client" or "server" (= default) See JSF Specification 2.5.3</description> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>client</param-value> </context-param> <context-param> <description>This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output. If javascript is allowed, command_link anchors will have javascript code that submits the corresponding form. If javascript is not allowed, the state saving info and nested parameters will be added as url parameters. Default: "true"</description> <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name> <param-value>false</param-value> </context-param> <context-param> <description>If true, rendered HTML code will be formatted, so that it is "human readable". i.e. additional line separators and whitespace will be written, that do not influence the HTML code. Default: "true"</description> <param-name>org.apache.myfaces.PRETTY_HTML</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.request.charset</param-name> <param-value>UTF-8</param-value> </context-param> <context-param> <description>Used for encrypting view state. Only relevant for client side state saving. See MyFaces wiki/web site documentation for instructions on how to configure an application for diffenent encryption strengths. </description> <param-name>org.apache.myfaces.SECRET</param-name> <param-value>NzY1NDMyMTA=</param-value> </context-param> <context-param> <description> Validate managed beans, navigation rules and ensure that forms are not nested. </description> <param-name>org.apache.myfaces.VALIDATE</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>true</param-value> </context-param> <!-- Extensions Filter --> <filter> <filter-name>extensionsFilter</filter-name> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class> <init-param> <description>Set the size limit for uploaded files. Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB</description> <param-name>uploadMaxFileSize</param-name> <param-value>100m</param-value> </init-param> <init-param> <description>Set the threshold size - files below this limit are stored in memory, files above this limit are stored on disk. Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB</description> <param-name>uploadThresholdSize</param-name> <param-value>100k</param-value> </init-param> </filter> <filter> <filter-name>RewriterFilter</filter-name> <filter-class>cz.softeu.rewriter.RewriterFilter</filter-class> </filter> <filter-mapping> <filter-name>RewriterFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>*.jsf</url-pattern> </filter-mapping> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>/faces/*</url-pattern> </filter-mapping> <!-- Listener, to allow serving MyFaces apps --> <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener> <!-- Faces Servlet --> <servlet> <servlet-name>faces</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!-- Faces Servlet Mapping --> <servlet-mapping> <servlet-name>faces</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <!-- Welcome files --> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> </welcome-file-list> <!-- Trinidad --> <filter> <filter-name>trinidad</filter-name> <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class> </filter> <filter-mapping> <filter-name>trinidad</filter-name> <!-- This assumes that the FacesServlet has been registered --> <!-- under the name "faces" --> <servlet-name>faces</servlet-name> </filter-mapping> <context-param> <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> <!-- TrinidadFaceletViewHander must be the alternate view handler if SessionChangeManager is used --> <param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value> </context-param> <context-param> <!-- Unfortunately, Facelets provides no hook for plugging the PageResolver into the logic handling "facelets.VIEW_MAPPINGS". You should leave "facelets.VIEW_MAPPINGS" unset and use "org.apache.myfaces.trinidad.FACELETS_VIEW_MAPPINGS" instead. --> <param-name>org.apache.myfaces.trinidad.FACELETS_VIEW_MAPPINGS</param-name> <param-value>*.xhtml</param-value> </context-param> </web-app> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" "http://java.sun.com/dtd/web-facesconfig_1_0.dtd"> <faces-config> <application> <view-handler>com.sun.facelets.FaceletViewHandler</view-handler> </application> <application> <default-render-kit-id> org.apache.myfaces.trinidad.core </default-render-kit-id> </application> </faces-config> |
|
|
Re: Could not find rendererRemove faceletviewhandler from faces-config.XML Read through the Trinidad Wiki on the myfaces site about facelet config w/ Trinidad Sent from my iPhone
|
|
|
Re: Could not find rendererThanks! removing faceletviewhandler and upgrading trinidad-api/-impl to 1.2.12 worked so far.
ClassNotFoundException: org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler
2009/10/3 Richard Yee <richard.k.yee@...>
|
|
|
Re: Could not find rendererYou need this context parameter in web.xml for facelets
<context-param> <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> <param-value>com.sun.facelets.FaceletViewHandler</param-value> </context-param> and these servlets and filters <filter> <filter-name>trinidad</filter-name> <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class> </filter> <filter-mapping> <filter-name>trinidad</filter-name> <servlet-name>faces</servlet-name> </filter-mapping> <servlet> <servlet-name>faces</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet> <servlet-name>resources</servlet-name> <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>faces</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>resources</servlet-name> <url-pattern>/adf/*</url-pattern> </servlet-mapping> -Richard On Sat, Oct 3, 2009 at 4:21 PM, baeschtu baeschtu <baeschtu@...> wrote: > Thanks! removing faceletviewhandler and upgrading trinidad-api/-impl to > 1.2.12 worked so far. > > > > ClassNotFoundException: > org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler > > > 2009/10/3 Richard Yee <richard.k.yee@...> >> >> Remove faceletviewhandler from faces-config.XML >> Read through the Trinidad Wiki on the myfaces site about facelet config w/ >> Trinidad >> >> Sent from my iPhone >> On Oct 3, 2009, at 4:44 AM, baeschtu baeschtu <baeschtu@...> wrote: >> >> After I found some tutorials and updated my config I'm still stuck with >> the following Exception when I access the website. >> >> Exception while calling encodeBegin on component : {Component-Path : >> [Class: javax.faces.component.UIViewRoot,ViewId: /index.xhtml][Class: >> javax.faces.component.html.HtmlForm,Id: j_id4]} >> >> web.xml and faces-config.xml are attached. >> >> my versions: >> tomahawk 1.1.3 >> jsf-facelets 1.1.14 >> softeu-rewriter 11 >> myfaces-api 1.2.4 >> myfaces-impl 1.2.4 >> jstl 1.1.2 >> trinidad-api 1.2.10 >> trinidad-impl 1.2.10 >> >> Any help would be appreciated >> Bast >> >> >> >> 2009/10/2 baeschtu baeschtu <baeschtu@...> >>> >>> Right, I did not following the installation instructions :-) Thanks for >>> the help! >>> >>> >>> 2009/10/2 Richard Yee <richard.k.yee@...> >>>> >>>> You should be using facelets 1.1.14 instead of 1.1.11 >>>> >>>> Sent from my iPhone >>>> >>>> On Oct 2, 2009, at 8:07 AM, baeschtu baeschtu <baeschtu@...> >>>> wrote: >>>> >>>>> Hello, I'm pretty new to jsf and would like to make a small website. I >>>>> try to make a tabbed menu with tr:navigationPane but I'm stuck with the >>>>> following error: >>>>> >>>>> WARNING: Could not find renderer for >>>>> CoreNavigationPane[UIXFacesBeanImpl, id=j_id8] rendererType = >>>>> org.apache.myfaces.trinidad.Pane >>>>> >>>>> my versions: >>>>> tomahawk 1.1.3 >>>>> jsf-facelets 1.1.11 >>>>> softeu-rewriter 11 >>>>> myfaces-api 1.2.4 >>>>> myfaces-impl 1.2.4 >>>>> jstl 1.1.2 >>>>> trinidad-api 1.2.10 >>>>> trinidad-impl 1.2.10 >>>>> >>>>> What I'm doing wrong? >>>>> >>>>> tnx >>>>> Bast >>> >> >> <web.xml> >> >> <faces-config.xml> > |
|
|
Re: Could not find rendererthanks, I applied this configs, now when I try to make a tabbed panel with the code I borrowed from trinidad-demo project, I got an
"Can't find bundle for base name com.sun.el.Messages, locale en_US" 2009/10/4 Richard Yee <richard.k.yee@...> You need this context parameter in web.xml for facelets |
|
|
Re: Could not find rendererTry getting a basic page with an tr:outputText tag working. R Sent from my iPhone
|
|
|
Re: Could not find renderertnx, works now! :-)
2009/10/5 Richard Yee <richard.k.yee@...>
|
|
|
Re: Could not find rendererBut when I try to fire an Action like this I still get an "Can't find bundle for base name com.sun.el.Messages, locale en_US" exception.
<tr:commandNavigationItem text="Login" shortDesc="Login" actionListener="#{NaviAction.login}" partialSubmit="true" selected="true"> </tr:commandNavigationItem> ERROR _ErrorPageWriter - An exception occurred java.lang.ExceptionInInitializerError at com.sun.el.util.ReflectionUtil.getMethod(ReflectionUtil.java:143) at com.sun.el.parser.AstValue.invoke(AstValue.java:154) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:49) at javax.faces.event.ActionEvent.processListener(ActionEvent.java:51) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:671) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179) at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:366) at javax.faces.component.UIViewRoot.process(UIViewRoot.java:261) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:151) at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32) at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:151) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041) at cz.softeu.rewriter.RewriterFilter.doFilter(RewriterFilter.java:144) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:269) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:701) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339) at org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Caused by: java.util.MissingResourceException: Can't find bundle for base name com.sun.el.Messages, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260) at java.util.ResourceBundle.getBundle(ResourceBundle.java:715) at com.sun.el.util.MessageFactory.<clinit>(MessageFactory.java:36) ... 40 more Rewrite: /index.jsf
2009/10/5 baeschtu baeschtu <baeschtu@...> tnx, works now! :-) |
|
|
Re: Could not find rendereradded an el-Messages file from http://j4fry.blogspot.com/2009/01/fehlendes-bundle-comsunelmessages.html
And now I see the error message. SEVERE: Could not find saved view state for token 16smoayywa ERROR _ErrorPageWriter - An exception occurred javax.faces.application.ViewExpiredException: /index.jsfNo saved view state could be found for the view identifier: /index.jsf 2009/10/5 baeschtu baeschtu <baeschtu@...> But when I try to fire an Action like this I still get an "Can't find bundle for base name com.sun.el.Messages, locale en_US" exception. |
|
|
Re: Could not find rendererIt seems like your aren't using Facelets. Facelet files end in .xhtml.
What URL are you using to access your page? _Richard On Mon, Oct 5, 2009 at 3:17 AM, baeschtu baeschtu <baeschtu@...> wrote: > added an el-Messages file from > http://j4fry.blogspot.com/2009/01/fehlendes-bundle-comsunelmessages.html > And now I see the error message. > > SEVERE: Could not find saved view state for token 16smoayywa > ERROR _ErrorPageWriter - An exception occurred > javax.faces.application.ViewExpiredException: /index.jsfNo saved view state > could be found for the view identifier: /index.jsf > > > > > > 2009/10/5 baeschtu baeschtu <baeschtu@...> >> >> But when I try to fire an Action like this I still get an "Can't find >> bundle for base name com.sun.el.Messages, locale en_US" exception. >> >> <tr:commandNavigationItem >> text="Login" >> shortDesc="Login" >> actionListener="#{NaviAction.login}" >> partialSubmit="true" >> selected="true"> >> </tr:commandNavigationItem> >> >> ERROR _ErrorPageWriter - An exception occurred >> java.lang.ExceptionInInitializerError >> at com.sun.el.util.ReflectionUtil.getMethod(ReflectionUtil.java:143) >> at com.sun.el.parser.AstValue.invoke(AstValue.java:154) >> at >> com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) >> at >> com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) >> at >> javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:49) >> at javax.faces.event.ActionEvent.processListener(ActionEvent.java:51) >> at >> org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:671) >> at >> org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179) >> at >> org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147) >> at >> javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:366) >> at javax.faces.component.UIViewRoot.process(UIViewRoot.java:261) >> at >> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:151) >> at >> org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32) >> at >> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103) >> at >> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76) >> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:151) >> at >> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445) >> at >> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050) >> at >> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) >> at >> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) >> at >> org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) >> at >> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041) >> at >> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301) >> at >> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041) >> at cz.softeu.rewriter.RewriterFilter.doFilter(RewriterFilter.java:144) >> at >> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041) >> at >> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354) >> at >> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226) >> at >> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627) >> at >> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149) >> at >> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123) >> at >> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) >> at org.mortbay.jetty.Server.handle(Server.java:269) >> at >> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430) >> at >> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:701) >> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617) >> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199) >> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339) >> at >> org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270) >> at >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) >> Caused by: java.util.MissingResourceException: Can't find bundle for base >> name com.sun.el.Messages, locale en_US >> at >> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521) >> at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260) >> at java.util.ResourceBundle.getBundle(ResourceBundle.java:715) >> at com.sun.el.util.MessageFactory.<clinit>(MessageFactory.java:36) >> ... 40 more >> Rewrite: /index.jsf >> >> >> >> 2009/10/5 baeschtu baeschtu <baeschtu@...> >>> >>> tnx, works now! :-) >>> >>> 2009/10/5 Richard Yee <richard.k.yee@...> >>>> >>>> Try getting a basic page with an tr:outputText tag working. >>>> R >>>> >>>> Sent from my iPhone >>>> On Oct 4, 2009, at 9:49 AM, baeschtu baeschtu <baeschtu@...> >>>> wrote: >>>> >>>> thanks, I applied this configs, now when I try to make a tabbed panel >>>> with the code I borrowed from trinidad-demo project, I got an >>>> "Can't find bundle for base name com.sun.el.Messages, locale en_US" >>>> >>>> >>>> >>>> >>>> >>>> >>>> 2009/10/4 Richard Yee <richard.k.yee@...> >>>>> >>>>> You need this context parameter in web.xml for facelets >>>>> <context-param> >>>>> >>>>> <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> >>>>> <param-value>com.sun.facelets.FaceletViewHandler</param-value> >>>>> </context-param> >>>>> and these servlets and filters >>>>> <filter> >>>>> <filter-name>trinidad</filter-name> >>>>> >>>>> <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class> >>>>> </filter> >>>>> <filter-mapping> >>>>> <filter-name>trinidad</filter-name> >>>>> <servlet-name>faces</servlet-name> >>>>> </filter-mapping> >>>>> <servlet> >>>>> <servlet-name>faces</servlet-name> >>>>> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> >>>>> <load-on-startup>1</load-on-startup> >>>>> </servlet> >>>>> <servlet> >>>>> <servlet-name>resources</servlet-name> >>>>> >>>>> <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class> >>>>> </servlet> >>>>> <servlet-mapping> >>>>> <servlet-name>faces</servlet-name> >>>>> <url-pattern>/faces/*</url-pattern> >>>>> </servlet-mapping> >>>>> <servlet-mapping> >>>>> <servlet-name>resources</servlet-name> >>>>> <url-pattern>/adf/*</url-pattern> >>>>> </servlet-mapping> >>>>> >>>>> -Richard >>>>> >>>>> On Sat, Oct 3, 2009 at 4:21 PM, baeschtu baeschtu <baeschtu@...> >>>>> wrote: >>>>> > Thanks! removing faceletviewhandler and upgrading trinidad-api/-impl >>>>> > to >>>>> > 1.2.12 worked so far. >>>>> > >>>>> > >>>>> > >>>>> > ClassNotFoundException: >>>>> > >>>>> > org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler >>>>> > >>>>> > >>>>> > 2009/10/3 Richard Yee <richard.k.yee@...> >>>>> >> >>>>> >> Remove faceletviewhandler from faces-config.XML >>>>> >> Read through the Trinidad Wiki on the myfaces site about facelet >>>>> >> config w/ >>>>> >> Trinidad >>>>> >> >>>>> >> Sent from my iPhone >>>>> >> On Oct 3, 2009, at 4:44 AM, baeschtu baeschtu <baeschtu@...> >>>>> >> wrote: >>>>> >> >>>>> >> After I found some tutorials and updated my config I'm still stuck >>>>> >> with >>>>> >> the following Exception when I access the website. >>>>> >> >>>>> >> Exception while calling encodeBegin on component : {Component-Path : >>>>> >> [Class: javax.faces.component.UIViewRoot,ViewId: >>>>> >> /index.xhtml][Class: >>>>> >> javax.faces.component.html.HtmlForm,Id: j_id4]} >>>>> >> >>>>> >> web.xml and faces-config.xml are attached. >>>>> >> >>>>> >> my versions: >>>>> >> tomahawk 1.1.3 >>>>> >> jsf-facelets 1.1.14 >>>>> >> softeu-rewriter 11 >>>>> >> myfaces-api 1.2.4 >>>>> >> myfaces-impl 1.2.4 >>>>> >> jstl 1.1.2 >>>>> >> trinidad-api 1.2.10 >>>>> >> trinidad-impl 1.2.10 >>>>> >> >>>>> >> Any help would be appreciated >>>>> >> Bast >>>>> >> >>>>> >> >>>>> >> >>>>> >> 2009/10/2 baeschtu baeschtu <baeschtu@...> >>>>> >>> >>>>> >>> Right, I did not following the installation instructions :-) Thanks >>>>> >>> for >>>>> >>> the help! >>>>> >>> >>>>> >>> >>>>> >>> 2009/10/2 Richard Yee <richard.k.yee@...> >>>>> >>>> >>>>> >>>> You should be using facelets 1.1.14 instead of 1.1.11 >>>>> >>>> >>>>> >>>> Sent from my iPhone >>>>> >>>> >>>>> >>>> On Oct 2, 2009, at 8:07 AM, baeschtu baeschtu <baeschtu@...> >>>>> >>>> wrote: >>>>> >>>> >>>>> >>>>> Hello, I'm pretty new to jsf and would like to make a small >>>>> >>>>> website. I >>>>> >>>>> try to make a tabbed menu with tr:navigationPane but I'm stuck >>>>> >>>>> with the >>>>> >>>>> following error: >>>>> >>>>> >>>>> >>>>> WARNING: Could not find renderer for >>>>> >>>>> CoreNavigationPane[UIXFacesBeanImpl, id=j_id8] rendererType = >>>>> >>>>> org.apache.myfaces.trinidad.Pane >>>>> >>>>> >>>>> >>>>> my versions: >>>>> >>>>> tomahawk 1.1.3 >>>>> >>>>> jsf-facelets 1.1.11 >>>>> >>>>> softeu-rewriter 11 >>>>> >>>>> myfaces-api 1.2.4 >>>>> >>>>> myfaces-impl 1.2.4 >>>>> >>>>> jstl 1.1.2 >>>>> >>>>> trinidad-api 1.2.10 >>>>> >>>>> trinidad-impl 1.2.10 >>>>> >>>>> >>>>> >>>>> What I'm doing wrong? >>>>> >>>>> >>>>> >>>>> tnx >>>>> >>>>> Bast >>>>> >>> >>>>> >> >>>>> >> <web.xml> >>>>> >> >>>>> >> <faces-config.xml> >>>>> > >>>> >>> >> > > |
|
|
Re: Could not find rendererI was desperately using http://localhost:8080/my-manager/index.jsf instead of http://localhost:8080/my-manager/faces/index.jspx :-)
thanks a lot 2009/10/5 Richard Yee <richard.k.yee@...> It seems like your aren't using Facelets. Facelet files end in .xhtml. |
| Free embeddable forum powered by Nabble | Forum Help |