How about <cringe/> an alternate DTD?

James Turner wrote:

At 07:31 PM 10/16/2002, Craig R. McClanahan wrote:

> One bug under Struts that should really be addressed in the base code is
> the question of specifying alternate resource bundles forms and fields (bug
> #10868). As I understand it, this will cause problems for Validator with
> sub-apps under Struts. Should I try to tackle it?
>

Please do!

Ok, but I can't think of a clean way to handle it.

Here's the issue:

The base Validator doesn't deal with resource bundles (or errors messages for that matter) at all. It's the validator Framework that does all that stuff. So putting bundle= support into the base Validator DTD for forms isn't very clean, since it required putting Struts-specific stuff into the Validator DTD (and adding a bundle property to the Field class)

Any thoughts on how we can implement this in a way that keeps Validator Struts-neutral?

James

--
Eddie Bush




--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to