Hi all,

I put the message on the right hand side of the tag with writing my own
theme. (Thanks for all)

But i cannot put the <div> tag on the message.

struts.properties
errorage=<div name="ageerror"><img src="images/mistake.jpg" /></div>

myAction-validation.xml
<field name="age">
       <field-validator type="int" >
           <param name="min">13</param>
           <param name="max">19</param>
           <message key="errorage"/>
       </field-validator>
   </field>

It writes "errorage" on the page not the div element.
Am I doing something wrong?

Reply via email to