Hi Darrell,

On Tue, Dec 9, 2008 at 6:22 PM, Darrell Pittman
<[EMAIL PROTECTED]> wrote:
> ...I see what I have to do, thanks.  Is there any plan to
> incorporate some kind of validation functionality in the future?...

I don't think we have a concrete plan to do that, but a validation
framework would IMHO be a nice thing to have in Sling.

A request filter that validates request parameters, combined with a
utility that makes it easy for scripts to use request parameters
values and validation errors to fill form fields instead of using the
current node's values, is probably all that's needed. I would make the
filter generic and use OSGi services and/or server-side scripts to
define specific validations.

As usual, contributions are welcome - I don't think any of the current
committers is working on that at the moment, but if you want to
propose a solution we can certainly help with design and review.

-Bertrand

Reply via email to