Manfred Geiler wrote:
This is more than just a nice feature - it's architecturally very
important that web applications always have client-side
validation as a subset of server-side validation (maybe equals,
but never ever more);  so it's dangerous to let people get in
the habit of separately adding client-side validation in case they
start thinking "hey, I already validated on the client, I can
save time and not re-validate on the server".

Yes, client-side validation in a webapp is always no more than a
feature and business logic must never rely on it.

I agree with this too. MyFaces should *not* include components that do *only* client-side validation; that's not safe.

In general, the standard JSF validators are fine; we just need to add the ability for them to generate client-side validation script in addition to the server-side stuff they already do. I thought that was what the recent client-side-validation proposals were about...


Regards,

Simon

Reply via email to