On 11/23/2004 05:44 PM Daniel Perry wrote:
I've just noticed in the html taglib documentation that various fields:
errorKey, errorStyle, etc have appeared.  Can anyone point me to any
documentation on how these work?

ie.  errorStyle  "CSS styles to be applied to this HTML element if an error
exists for it. "

But how do i specify that the error is for it, and not for a different
element on the same form?

when you create the error message object, add it to the ActionErrors collection with the param specifying which property it's for. Check the javadoc for Struts.


Adam


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to