Is there any type of error messaging or validation in Sling? I want to
be able to give my users information about whether they entered their
data correctly, and intercept it before it's saved if they have not.
It would also be nice to simply be able to add messages to some sort
of stack so that the resulting page they end up on can display
information about the last content edit.
I tried simply adding the message as a hidden field and then getting
the parameter in the request, but if I use the :redirect parameter,
predictably I get a full redirect, which loses any of these additional
params.
I saw a few messages in the mailing list about Validation, but I can't
find anything specific in the docs or examples on how to implement it.
-Josh