Ed Cohen wrote:
<bean name="..." class="org.apache.tapestry.valid.StringValidator">How do I replace the StringValidator's messages with ones in my own .property file?
<set-property name="minimumLengthMessage" expression="myMinimumLengthMessage"/>
</bean>
Implement getMyMinimumLengthMessage() accordingly.
Also, a quick ognl question. In a .page file, is there a way to get to the page's getMessage("xyz") method?
Instead of an ognl expression, use the message binding: http://jakarta.apache.org/tapestry/doc/TapestryUsersGuide/spec.message-binding.html
Thanks for the help.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]