X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/blobdiff_plain/60a24293adb9a76f8530175efb05e24a7f953e42..91f2ab7b92b3a1c3c7e419ce15843e1126755e99:/src/relational-attributes.lisp?ds=sidebyside 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)) + ; + (