Hallo
Ich habe ein problem mit jsf und portlets und zwar mit tomahawk wenn ich bein inputDate den popupCalendar auf true stelle spuckt er mir den fehler aus das er die ressourcen nicht finden kann (javascript und css) und verweist auf eine externe seite. Das problem diese lösung gild nicht bei Portlets (Hier in einen BenutzerPortal von novell)
Hat jemand das gleiche Problem oder dieses schonmal gelöst. Ich arbeite mit MyFaces und Facelets
Auf der seiter wird das angezeigt
Die anleitung auf dieser seite funktioniert allerdings nicht, da dies nicht für portlets gilt.
Der Fehler
Ich habe ein problem mit jsf und portlets und zwar mit tomahawk wenn ich bein inputDate den popupCalendar auf true stelle spuckt er mir den fehler aus das er die ressourcen nicht finden kann (javascript und css) und verweist auf eine externe seite. Das problem diese lösung gild nicht bei Portlets (Hier in einen BenutzerPortal von novell)
Hat jemand das gleiche Problem oder dieses schonmal gelöst. Ich arbeite mit MyFaces und Facelets
Code:
<t:inputDate id="#{name}" disabled="#{editable}" value="#{attributetype.date}" popupCalendar="true" rendered="#{visible}">
</t:inputDate>
Auf der seiter wird das angezeigt
Code:
ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: [url]http://myfaces.apache.org/tomahawk/extensionsFilter.html[/url]
Die anleitung auf dieser seite funktioniert allerdings nicht, da dies nicht für portlets gilt.
Der Fehler
Code:
SCHWERWIEGEND: Error Rendering View[/goestern/UserInPortlet/editor.jsp]
java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: [url]http://myfaces.apache.org/tomahawk/extensionsFilter.html[/url]
at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:358)
at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:318)
at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:273)
at org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.addScriptAndCSSResources(HtmlCalendarRenderer.java:294)
at org.apache.myfaces.custom.date.HtmlDateRenderer.encodePopupCalendarButton(HtmlDateRenderer.java:281)
at org.apache.myfaces.custom.date.HtmlDateRenderer.encodeEnd(HtmlDateRenderer.java:101)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:442)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:75)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:442)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:216)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:98)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:565)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:395)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
at javax.portlet.GenericPortlet.doDispatch(Unknown Source)
at javax.portlet.GenericPortlet.render(Unknown Source)
at com.novell.afw.portlet.core.EboPortletContainer.processOperation(EboPortletContainer.java:686)
at com.novell.afw.portlet.core.EboPortletContainer.processOperation(EboPortletContainer.java:548)
at com.novell.afw.portlet.core.EboPortletContainer.getMarkup(EboPortletContainer.java:239)
at com.novell.afw.portlet.consumer.core.EboPortletConsumerContainer.processOperation(EboPortletConsumerContainer.java:292)
at com.novell.afw.portlet.consumer.core.EboPortletConsumerContainer.getMarkup(EboPortletConsumerContainer.java:181)
at com.novell.afw.portal.proxy.EboPortletContainerProxy.getMarkup(EboPortletContainerProxy.java:217)
at com.novell.afw.portal.aggregation.EboPortletProxyHelper.renderPortlet(EboPortletProxyHelper.java:311)
at com.novell.afw.portal.aggregation.EboPortalAggregationHelper.runPortletsInTheMainThread(EboPortalAggregationHelper.java:1608)
at com.novell.afw.portal.aggregation.EboPortalAggregationHelper.renderSynchPortlets(EboPortalAggregationHelper.java:1579)
at com.novell.afw.portal.aggregation.EboPortalAggregationHelper.callRender(EboPortalAggregationHelper.java:1804)
at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.initiateRendering(EboPortalAggregationControllerImpl.java:1686)
at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.initiateRendering(EboPortalAggregationControllerImpl.java:1501)
at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.renderPortalResponse(EboPortalAggregationControllerImpl.java:790)
at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.handlePortalContainerRequest(EboPortalAggregationServlet.java:755)
at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.callService(EboPortalAggregationServlet.java:353)
at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.doGet(EboPortalAggregationServlet.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
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 com.novell.afw.portal.l18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:145)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.novell.afw.portal.xforms.EboXFormClientDetectionFilter.doFilter(EboXFormClientDetectionFilter.java:101)
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.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(Unknown Source)
08:37:58,187 ERROR [PortletContextImpl] ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: [url]http://myfaces.apache.org/tomahawk/extensionsFilter.html[/url]
08:37:58,187 ERROR [PortletContextImpl] ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: [url]http://myfaces.apache.org/tomahawk/extensionsFilter.html[/url]
java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: [url]http://myfaces.apache.org/tomahawk/extensionsFilter.html[/url]
at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:358)
at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:318)
at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:273)
at org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.addScriptAndCSSResources(HtmlCalendarRenderer.java:294)
at org.apache.myfaces.custom.date.HtmlDateRenderer.encodePopupCalendarButton(HtmlDateRenderer.java:281)
at org.apache.myfaces.custom.date.HtmlDateRenderer.encodeEnd(HtmlDateRenderer.java:101)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:442)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:75)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:442)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:216)
at org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:98)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:565)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:395)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
at javax.portlet.GenericPortlet.doDispatch(Unknown Source)
at javax.portlet.GenericPortlet.render(Unknown Source)
at com.novell.afw.portlet.core.EboPortletContainer.processOperation(EboPortletContainer.java:686)
at com.novell.afw.portlet.core.EboPortletContainer.processOperation(EboPortletContainer.java:548)
at com.novell.afw.portlet.core.EboPortletContainer.getMarkup(EboPortletContainer.java:239)
at com.novell.afw.portlet.consumer.core.EboPortletConsumerContainer.processOperation(EboPortletConsumerContainer.java:292)
at com.novell.afw.portlet.consumer.core.EboPortletConsumerContainer.getMarkup(EboPortletConsumerContainer.java:181)
at com.novell.afw.portal.proxy.EboPortletContainerProxy.getMarkup(EboPortletContainerProxy.java:217)
at com.novell.afw.portal.aggregation.EboPortletProxyHelper.renderPortlet(EboPortletProxyHelper.java:311)
at com.novell.afw.portal.aggregation.EboPortalAggregationHelper.runPortletsInTheMainThread(EboPortalAggregationHelper.java:1608)
at com.novell.afw.portal.aggregation.EboPortalAggregationHelper.renderSynchPortlets(EboPortalAggregationHelper.java:1579)
at com.novell.afw.portal.aggregation.EboPortalAggregationHelper.callRender(EboPortalAggregationHelper.java:1804)
at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.initiateRendering(EboPortalAggregationControllerImpl.java:1686)
at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.initiateRendering(EboPortalAggregationControllerImpl.java:1501)
at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.renderPortalResponse(EboPortalAggregationControllerImpl.java:790)
at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.handlePortalContainerRequest(EboPortalAggregationServlet.java:755)
at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.callService(EboPortalAggregationServlet.java:353)
at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.doGet(EboPortalAggregationServlet.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
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 com.novell.afw.portal.l18n.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:145)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.novell.afw.portal.xforms.EboXFormClientDetectionFilter.doFilter(EboXFormClientDetectionFilter.java:101)
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.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(Unknown Source)
08:37:58,187 ERROR [EboPortalAggregationHelper] ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: [url]http://myfaces.apache.org/tomahawk/extensionsFilter.html[/url]
Code: