im not sure what you are referring too david. But either way...the second option was a no go as the validator does not except params that are not defined in that type of validator. so i was not able to create a custom "label" param.
as for my first solution if your referring to the fact I define a string form.requestDate.label = Request Date
and then call that string like this
then i suppose it could be defining it twice since i might as well just explicitly say "Request Date" in the <message>, but the fact is that there are many instances in the app where the same field is used throughout many different forms. so defining it once makes it reusable no matter what form or page and its easy just to update the label field once in case i need too instead of searching through multiple validation files to update that field.
yea that was my bad, i know that its struts1 you could arbitrarily define any params you want and i assumed you could do the same in struts2 so i suggested #2 w/out even testing it. wont make that mistake again!! ill edit my post to clarify it doesn't work!!
This allowed me some flexibility for the scenarios where I use the same label multiple times throughout my app then its standardized and defined in one location and all i have to do is just reference the label string. And if i want to change how "Request Date" is displayed i only have to change it in one location instead of several.