Return-Path: Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 71581 invoked from network); 11 Oct 2000 09:02:27 -0000 Received: from ns.rainbownet.com (HELO mail.rainbownet.com) (212.141.58.2) by locus.apache.org with SMTP; 11 Oct 2000 09:02:27 -0000 Received: from trazom.stylo.it (IDENT:thiebaud@trazom.stylo.it [212.141.58.130]) by mail.rainbownet.com (8.9.1/8.9.1) with SMTP id LAA09264 for ; Wed, 11 Oct 2000 11:02:00 +0200 (CEST) (envelope-from cthiebaud@stylo.it) From: Christophe Thiebaud To: struts-user@jakarta.apache.org Subject: RE: error with parameters Date: Wed, 11 Oct 2000 10:49:56 +0200 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain References: In-Reply-To: MIME-Version: 1.0 Message-Id: <00101110522302.23430@trazom.stylo.it> Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Tue, 10 Oct 2000, you wrote: > I suggest to add a new function to add a new method to ErrorMessages: >=20 > =20 > public void addError(String key,Object[] args)=20 >=20 > =09 > the ErrorTag class needs then to be adjusted to query for the argument= s and > use the with the correct error key. >=20 > And in the Action class the saveErrors() method need to be adjusted to = store > the ErrorMessages object instead of the String[]. >=20 > This change to the code seems quite simple and it is as easy to use as = the > current mechanism. >=20 that looks good, doesn't it Craig ? It looks enough simple as I could even i,plement it and check it in if O= K Christophe