I think the original design of s:validate let you specify the property name. It doesn't seem to be there now. I wonder why it was removed.
If all we have is the attribute value, there is no way to figure out the class of the owning object, and what validations should be applied.
Would you accept/consider a patch to allow
<s:validate property="model.field" />
where property could be a static value or EL that evaluated to a String. The property attribute version would need to take precedence over the value attribute for working out model.field.
Or should I maintain myself?
In case anyone else finds it useful I've put my solution here:
I did a fairly simple modification to the Seam code and added a handler to accomodate EL expressions for the property attribute
Have you the latest version of this component?