Thanks Wes,
Thanks for your help. The snippet you wrote is valid code, however I was
hoping for a similar solution where I only need to use the
Normally in Struts 1.x, I'll write and in my
validation.xml, I would define the field to validate and the key to add
to be replaced for the {0} v
I could be wrong, but if you are using the s:text tag, you can specify
an s:param that will be used. I could be wrong, and hopefully someone
will correct me if I am but -
Mr. Smith
package.properties -
message.key=Hello {0}
The docs aren't real specific on it, but there is some information
2 matches
Mail list logo