Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 44108 invoked from network); 11 Jan 2009 19:05:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2009 19:05:57 -0000 Received: (qmail 54097 invoked by uid 500); 11 Jan 2009 19:05:56 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 54082 invoked by uid 500); 11 Jan 2009 19:05:56 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 54069 invoked by uid 99); 11 Jan 2009 19:05:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jan 2009 11:05:56 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harry.metske@gmail.com designates 209.85.132.244 as permitted sender) Received: from [209.85.132.244] (HELO an-out-0708.google.com) (209.85.132.244) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jan 2009 19:05:50 +0000 Received: by an-out-0708.google.com with SMTP id d14so3073658and.0 for ; Sun, 11 Jan 2009 11:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=boeYzeAzmPBJpCcogpgTIA+H4X/RdbT1maNrQebKmLE=; b=m/U2iXfRqwbPD03InYYUbzBdvnCsQJXkm7DLj2vk9+cgaaM5x9hlGVvttB+sAA6l+u YDGUUiL0OdR8buzi7vpetXSON1opCv9ZAi4qjneKyPAEKvaEhO/sgtnIuMUmNO4ae4aA q/mqXsBHNGU91+ul7G3QNh3Z0xM1n9Pkiwh4s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=K7qhWVhiQAvhTdnIjsYsJXwTI1Xh9TClkIlyEbltvb3/XiEOI5aumujpexytIjY2Vn icqw9oEFv9cNfoivhwHhyybhb/Z8xcN0uPAP6EGlCMMg3lsIJe7RrgOPj9/zmDYauuFF w3PnLemNdr/a9HMOItL3c8ddiijeRTNhTbn4M= Received: by 10.100.32.6 with SMTP id f6mr14783852anf.90.1231700729392; Sun, 11 Jan 2009 11:05:29 -0800 (PST) Received: by 10.100.254.6 with HTTP; Sun, 11 Jan 2009 11:05:29 -0800 (PST) Message-ID: <3a6c97f00901111105naae8139j87120009cc4ff2e8@mail.gmail.com> Date: Sun, 11 Jan 2009 20:05:29 +0100 From: "Harry Metske" To: jspwiki-dev@incubator.apache.org Subject: LocalizationBundleFactory.ErrorMessageBundle MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_246946_6589071.1231700729382" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_246946_6589071.1231700729382 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline The current web.xml has the following defined for searching localizable messages (Stripes) : LocalizationBundleFactory.ErrorMessageBundle CoreResources Now, I found the following error during some initial testing : Jan 11, 2009 3:18:01 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet org.apache.jspwiki.jsp.templates.default_.ProfileTab_jsp threw exception java.util.MissingResourceException: Could not find an error message with key: profile.nameCollision at net.sourceforge.stripes.validation.LocalizableError.getMessageTemplate(LocalizableError.java:109) at net.sourceforge.stripes.action.SimpleMessage.getMessage(SimpleMessage.java:91) at net.sourceforge.stripes.validation.SimpleError.getMessage(SimpleError.java:102) at net.sourceforge.stripes.tag.ErrorsTag.doEndTag(ErrorsTag.java:349) at org.apache.jspwiki.jsp.templates.default_.ProfileTab_jsp._jspService(Unknown Source) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) Adding to CoreResource.properties the following key: profile.nameCollision=The {0} is already taken. solves the problem, but this key is already present in templates/default.properties. Is this the intended solution, or should the default.properties be added to LocalizationBundleFactory.ErrorMessageBundle, or something else ? regards, Harry ------=_Part_246946_6589071.1231700729382--