Hi

 

I’m using the Struts 2 validation framework and using message properties
like this:

 

message.requiredfield = The field "${getText(fieldName)}" is required

 

Now I need to do some extra javascript validations where I need to get the
message from the property files but I can’t get:

 

<s:text name="message.requiredfield"><s:param name="fieldName"
value="projectDocument"/></s:text>

 

to work. I don’t know if this is possible. Do I have to create another
message key for this?

 

Regards,

 

Néstor Boscán

Reply via email to