tokens in error messages
Dudley Butt <[email protected]> Tue, 15 Mar 2005 11:56:38 +0200
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Has anyone managed to get this working in CX.
What I need is an error msg to display like this
The firstname {firstname} cannot be verified
The {} is a error message token that needs to be substituted in the error msg.
I have the validate method returning the fieldName and I can associate
the field name with the error message in my resource bundles, but i
need to have some sort of error token that I need inside the error
msg.
Any ideas, will appreciate it...thx
Dudley
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click