You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by scarter <sc...@tsys.com> on 2003/02/28 16:58:22 UTC
Declarative Exception Handling Options
I'm using struts declarative exception handling mechanism, however, I
need to associate a custom exception type with a specific field on the
page so that they can be handled similar to exceptions that occur as a
result of the validator. For example, we have built a custom extension
that highlights a particular field on the screen when an exception
related to that field occurs. This works great for validations defined
in the validation.xml file, however, every now and then, a business
validation that is associated with a specific field exists within a
business component and because we don't allow presentation component
references to exist within our business tier, we can't associate a
specific field to the message. It would be great if the declarative
exception handling mechanism in struts allowed us to make this
relationship. Any ideas?
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org