[Q] validation and "sticky invalid values"
[Q] validation and "sticky invalid values"
- Subject: [Q] validation and "sticky invalid values"
- From: Andrew Lindesay <email@hidden>
- Date: Fri, 27 Jun 2003 08:21:10 +1200
Hello;
A company I'm working with really wants to have the fields in a
component stick around in the case that a validation error occurs. So,
for example, some user enters some invalid values into a form that is
tied to an EO. Next they submit the values and those fields are
correctly validated as being broken. The EO does not actually take up
the values (as expected) and hence the unmodified values appear in the
response's outputted form again. Is there a "right" way to get those
values to get inserted into the EO regardless of their validity or
should I find some way to intercept the KVC mechanism at the component
level to achieve this? Of course I still need the validation mechanism
to run normally to avoid the EC from attempting to persist invalid EO's.
Any advice appreciated.
cheers.
___
Andrew Lindesay
http://www.lindesay.co.nz/
+64 21 47 0929
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.