Hi,

I've this text field in my jsp

<s:textfield key="label.name" name="user.name" maxlength="35" required="true"/>

and this property in the resource bundle

error.required = ${getText(fieldName)} is required.
label.name = Name


When there is validation error, it looking for user.name property, it is fine 
because I'm using fieldName, so my question is there anyway I can get key name? 
So that I can use the label.name property.


Regards
LV

Reply via email to