Scott Van Wart wrote:
> Can you give an example?  I'm still not completely positive I know
> what the problem is, and if you really need this kind of complexity.

I think he was asking if there was a way to declaratively define
validations based on runtime dynamics, like the user name.

This strikes me as a fantastically bad idea, since 'declaratively' and
'runtime dynamics' are kinda... diametrically opposed.

I think that either a) the problem needs to be re-stated to fit in to
the existing framework, or b) a different framework (possibly hanging
off of commons-validation or possibly even the Struts wrapping of same)
should be used.

That said, I'll be interested in hearing other opinions as this might be
a generally-useful tool (role-based validations would be useful to me
and I'd like to see how others might implement that as a bag on top of
the existing framework.)

Dave



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

Reply via email to