Hi,
I would like to know how to pass parameter to a message stored in resource
bundle in @RequiredStringValidator annotation
Example
@RequiredStringValidator(key="userkey")
public String getUsername() {
return username;
}
and in resource bundle it is like something
userkey = {0} {1} some message
problem here is that @RequiredStringValidator takes only "key" that lookup
in resorce bundle, but there is no provision to make key with some
placeholder like {0}
Please reply if anyone came across this scenario.
Thanks.
--
View this message in context:
http://struts.1045723.n5.nabble.com/RequiredStringValidator-annotation-key-tp4499592p4499592.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]