Yes.

That's the other thing I'd like to have - automatic client-side
validation happening with the server side validation in place. It
would be good to have something like a hook in the extended validators
- with this hook, they are asked to render out their client-side
validation javascript.

Using this, separate validators wouldn't be necessary.

Still, I think that the rendering question is very important. In the
current state when working with ADF, I wished I could disable client
side validation in ADF faces alltogether (I'm sure there is a way to
do so, didn't look deeper into it so far). The popup box is just not
context sensitive enough.

regards,

Martin

On 4/18/06, Adam Winer <[EMAIL PROTECTED]> wrote:
> > On 4/17/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > > What I like about ADF faces is that it uses existing validators for
> > > the client side validation. What I don't like is that it notifies the
> > > user with a popup box - not very interactive IMHO.
>
> I agree too - I'd like to feed that it into better schemes,
> which I think is doable given the current APIs, esp.
> popups floating by existing components.
>
> But to me, the really important issues aren't so much how it gets
> rendered (which can be massaged down the line), but the
> basic architectural ones, most particularly, how do you attach
> client-side validation?  For that, the only really clean answer
> is that it should happen implicitly as a result of adding a
> server-side validation, so that client-side validation is always
> a strict subset of server-side validation.  Any client-side validation
> scheme that doesn't follow this pattern is a security risk.
>
> -- Adam
>
>
>
>
> > > How do you tell the users that validation failed?
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to