Hi, I have a struts application which used the validator framework for input validation. The validations are defined in the validation.xml file and gets the fieldname as parameter. The fieldnames are defined in a resource bundle and contains a parameter like ' this an {0} input field' . My question is, how can I replace this parameter when an error message by the validator framework is generated ? In my JSP's where I use the same fieldnames I wrote a custom tag which replaces the parameter during runtime based on certain conditions.
Example -- validator.xml <form name="registration1Form"> <field property="name" depends="required"> <arg0 key="page.registration.headline1"/> </field> ... -- HTMLDisplayText.xml page.registration.headline1 = Registration of a new {0} Customer ... Thanks, Lothar ______________________________________________________________________ XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]