Re: ROP: how to do client side validation

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Sep 29 2006 - 21:53:17 EDT

  • Next message: Andrus Adamchik: "How to build the Modeler [DONE: Modeler assemblies and maven modules renaming]"

    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.
    >



    This archive was generated by hypermail 2.0.0 : Fri Sep 29 2006 - 21:53:23 EDT