/**
* Sets a String representation of surname.
*
* @struts.validator type="required" msgkey="errors.required"
* @struts.validator-args arg0value="jsp.person.surname.label" arg0resource="true"
*
* @param A String value.
*/
public void setSurname(String surname) {
this.surname = surname;
}
And this gives the output of:
<formset> <form name="PersonForm"> <field property="surname" depends="required"> <msg name="required" key="errors.required"/>
<arg0 key="jsp.person.surname.label" resource="false" /> <arg0 key="true" /> </field> </form> </formset>
As you can see, the arg0 value is generated strangely. Any clues as to this appreciated (full xdoclet output below)
While this may seem odd, it is as designed. You should not use arg0resource and arg0value together, use one or the other. They are mutually exclusive.
What is your desired effect? Start with what you want and work backwards.
Erik
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
