Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-674

ROP client side validation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0M1, 3.0
    • Core Library
    • None

    Description

      It should be possible to do validation on the client side before comitting and without roundtrips to the server.

      maxLength and mandatory are currently stored in DbAttribute that are not sent to the client. Andrus: "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."

      http://mail-archives.apache.org/mod_mbox/incubator-cayenne-dev/200609.mbox/%3c352E8534-E20F-4428-B51B-58D41A353337@objectstyle.org%3e

      Attachments

        1. CAY-674.patch
          2 kB
          Tore Halset
        2. CAY-674-try2.patch
          3 kB
          Tore Halset

        Activity

          People

            halset Tore Halset
            halset Tore Halset
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: