cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: ROP: how to do client side validation
Date Sat, 30 Sep 2006 01:53:17 GMT
Probably need to make those a part of ObjAttribute/ObjRelationship.  
On the server this will be resolved by reading the underlying  
DbAttribute. On the client this can simply be an Obj* ivar.

Andrus


On Sep 29, 2006, at 6:27 PM, Tore Halset wrote:

> Hello.
>
> I want to do client side validation before commit. My plan was to  
> use DbEntity/DbAttribute to find "maxSize" and "mandatory", but  
> DbEntity/DbAttribute are not sent to the client. I understand why  
> those objects are not sent to the client, but "maxSize" and  
> "mandatory" should perhaps be availiable to the client?
>
> Any idea how to solve this? Do I need a roundtrip to the server?
>
> The reason for doing this is that I want to try key-value- 
> validation in CocoaCayenne.
>
>  - Tore.
>


Mime
View raw message