Hi once more,
seems like a struts day to me :)
Anyway, using struts 1.2.4 and XDoclet 1.2.3 is there a way to define an
error message for a form which includes an argument or something?
For example:
/**
* Set name.
*
* @param name the value to set.
*
* @struts.validator type="required,maxlength"
*
* @struts.validator-var name="maxlength" value="60"
*
* @struts.validator-args arg0resource="prompt.reg.orgname"
* @struts.validator-args arg1value="${var:maxlength}"
*/
public void setName(String name)
{
this.name = name;
}
if the organisation name is missing the message produced is:
Organisation Name is missing
What I'd like to produce is:
<a href="#Name">Organisation Name</a> is missing.
Is there a way to do it?
Regards
Dimitris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]