Return-Path: Delivered-To: apmail-tiles-users-archive@locus.apache.org Received: (qmail 39166 invoked from network); 30 Aug 2007 08:04:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2007 08:04:42 -0000 Received: (qmail 45746 invoked by uid 500); 30 Aug 2007 08:04:37 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 45716 invoked by uid 500); 30 Aug 2007 08:04:37 -0000 Mailing-List: contact users-help@tiles.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tiles.apache.org Delivered-To: mailing list users@tiles.apache.org Received: (qmail 45707 invoked by uid 99); 30 Aug 2007 08:04:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 01:04:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of florian_reiser@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Aug 2007 08:04:32 +0000 Received: (qmail 8891 invoked by uid 0); 30 Aug 2007 08:04:10 -0000 Received: from 88.66.97.168 by www034.gmx.net with HTTP; Thu, 30 Aug 2007 10:04:10 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" Date: Thu, 30 Aug 2007 10:04:10 +0200 From: "Florian Reiser" Message-ID: <20070830080410.313410@gmx.net> MIME-Version: 1.0 Subject: Using Tiles2 with jsf To: users@tiles.apache.org X-Authenticated: #3771590 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX19NoY09of1NzQPKihSookwUT5YLKTCVuFNSTOSKL0 iJjel4IK9dGksBRvfBld45sZb467CwkF1FbQ== Content-Transfer-Encoding: 7bit X-GMX-UID: y0vwbkTdLi50Mu6oU2tpy4xrZml1ZNhq X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have an trinidad-jsf-file containing the following tags: I want to split the layout section of the page from the actual content with the help of tiles. I create the following tiles: template.jsp: myPage.jsp: When I execute call myPage.jsp from my web browser, I get the following errors: 09:58:31,025 WARN [taglib] Can't leverage base class java.lang.IllegalStateException at com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:258) [snip] 09:58:31,025 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException at com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:258) [snip] 09:58:31,041 WARN [taglib] Can't leverage base class java.lang.IllegalStateException at com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:258) [snip] 09:58:31,057 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException at com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:258) [snip] 09:58:31,057 ERROR [RenderTagSupport] Error during rendering javax.servlet.jsp.JspException: ServletException while including page. at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102) [snip] Caused by: org.apache.jasper.JasperException: An exception occurred processing JSP page /templates/default.jsp at line 7 4: uri="http://java.sun.com/jsf/html" prefix="h"%><%@taglib 5: uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%> 6: 7: 8: 9: 10: Stacktrace: at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:518) [snip] Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.IllegalStateException at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:851) [snip] Caused by: java.lang.IllegalStateException at com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:258) [snip] 09:58:31,103 WARN [lifecycle] executePhase(RENDER_RESPONSE 6,org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit@de643a) threw exception java.lang.NullPointerException at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer.addOnSubmitConverterValidators(EditableValueRenderer.java:206) [snip] 09:58:31,103 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception java.lang.NullPointerException at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.EditableValueRenderer.addOnSubmitConverterValidators(EditableValueRenderer.java:206) [snip] What do I have to do to get tiles2 working with my jsf-pages? With kind regards Florian Reiser -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail