X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/blobdiff_plain/d2882889dc2234eef5882eeaa79e83e4e0d638a3..91f2ab7b92b3a1c3c7e419ce15843e1126755e99:/src/relational-attributes.lisp diff --git a/src/relational-attributes.lisp b/src/relational-attributes.lisp index 5485515..d9ba761 100644 --- a/src/relational-attributes.lisp +++ b/src/relational-attributes.lisp @@ -1,4 +1,25 @@ -(in-package :lol) +(in-package :lisp-on-lines) + +;;;; * Relational Attributes + +;;;; ** Has-Many attribute + +(defattribute has-many () + () + (:default-properties + :add-new-label "Add New" + :sort-arguments (list #'< :key #'(lambda (x) (funcall (car (list-keys x)) x))))) + + +(defdisplay (:description (attribute has-many)) + ; + (