struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Thiebaud <cthieb...@stylo.it>
Subject RE: error with parameters
Date Wed, 11 Oct 2000 08:49:56 GMT
On Tue, 10 Oct 2000, you wrote:
> I suggest to add a new function to add a new method to ErrorMessages:
> 
>  
>   public void addError(String key,Object[] args) 
> 
> 	
>  the ErrorTag class needs then to be adjusted to query for the arguments and
> use the with the correct error key.
> 
> And in the Action class the saveErrors() method need to be adjusted to store
> the ErrorMessages object instead of the String[].
> 
> This change to the code seems quite simple and it is as easy to use as the
> current mechanism.
> 

that looks good, doesn't it Craig ?

It looks enough simple as I could even i,plement  it and check it in if OK

Christophe

Mime
View raw message