Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 67431 invoked from network); 4 Jun 2004 14:54:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jun 2004 14:54:11 -0000 Received: (qmail 10409 invoked by uid 500); 4 Jun 2004 14:53:56 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 10340 invoked by uid 500); 4 Jun 2004 14:53:55 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 10319 invoked by uid 99); 4 Jun 2004 14:53:55 -0000 Received: from [203.126.130.55] (HELO titan.ncs.com.sg) (203.126.130.55) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 04 Jun 2004 07:53:55 -0700 Received: from titan.ncs.com.sg (shiva.ncs.com.sg [203.126.130.56]) by titan.ncs.com.sg (8.12.8/8.12.8) with ESMTP id i54EpKPT018299 for ; Fri, 4 Jun 2004 22:51:21 +0800 Received: from galileo.ncs.corp.int-ads (firewall.ncs.com.sg [203.126.130.66]) by titan.ncs.com.sg (8.12.8/8.12.8) with ESMTP id i54EpKW0018296 for ; Fri, 4 Jun 2004 22:51:20 +0800 Received: by galileo.ncs.corp.int-ads with Internet Mail Service (5.5.2657.72) id ; Fri, 4 Jun 2004 22:53:39 +0800 Message-ID: <5B59FCAE29C0184F9377287B85398DED16BB3C@ncsmailsg02.ncs.corp.int-ads> From: Ng Chong Hin NCS To: "'user@struts.apache.org'" Subject: [struts-faces] tag with module Date: Fri, 4 Jun 2004 22:53:34 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi! Currently, I am in the midst of converting a working Struts application (JSP/Tiles/Modules) to one that uses JSF, using the struts-faces integration library. Having problems retrieving the messages from the "message-module1.properties" resource (defined in the struts-config-module1.xml). When attempting to use the message key like , an exception is reported: ----- Root Cause ----- java.lang.NullPointerException at org.apache.jasper.runtime.BodyContentImpl.write(BodyContentImpl.java:195) at javax.faces.webapp.UIComponentTag$1.write(UIComponentTag.java:946) at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.write(HtmlResponseWrit er.java:519) at org.apache.struts.faces.renderer.WriteRenderer.encodeEnd(Unknown Source) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:713) at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:606) at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:529) at org.apache.jsp.Messages_jsp._jspx_meth_s_message_0(Messages_jsp.java:264) at org.apache.jsp.Messages_jsp._jspx_meth_c_if_0(Messages_jsp.java:230) at org.apache.jsp.Messages_jsp._jspService(Messages_jsp.java:88) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 10) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher. java:684) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch er.java:575) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher .java:498) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:8 22) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:398) at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137) at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177) at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756) Some notes: (1) I am running using Tomcat 4.1.20, J2SE 1.4.2_04, Struts 1.1, JSF RI 1.1 and struts-faces 0.5 (2) Have already defined (3) It is working if I use the tag instead Any help or pointers would be appreciated. Thanks! CH --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org