HCoop
/
clinton
/
lisp-on-lines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7733a77
)
Added note about depreciation of the old LoL interface.
author
Drew Crampsie
<drewc@tech.coop>
Thu, 12 Jan 2006 01:49:48 +0000
(17:49 -0800)
committer
Drew Crampsie
<drewc@tech.coop>
Thu, 12 Jan 2006 01:49:48 +0000
(17:49 -0800)
darcs-hash:
20060112014948
-5417e-
13a4284c3d8c07ca1aa628df8d024f0ab59289ba
.gz
src/lisp-on-lines.lisp
patch
|
blob
|
blame
|
history
diff --git
a/src/lisp-on-lines.lisp
b/src/lisp-on-lines.lisp
index
8652e10
..
617b124
100644
(file)
--- a/
src/lisp-on-lines.lisp
+++ b/
src/lisp-on-lines.lisp
@@
-64,18
+64,24
@@
This involves creating a meta-model, a clsql view-class, and the setting up the
"expands to init-i-f-t using the listing of tables provided by meta-model"
`(define-view-for-table ,@(meta-model::list-tables)))
"expands to init-i-f-t using the listing of tables provided by meta-model"
`(define-view-for-table ,@(meta-model::list-tables)))
+
+
+;;;; These are some macros over the old presentation system.
+;;;; Considered depreciated, they will eventually be implemented in terms of the new
+;;;; display system, and delegated to backwards-compat-0.2.lisp
+
(eval-when (:compile-toplevel :load-toplevel :execute)
(defun %make-view (object type attributes args)
(eval-when (:compile-toplevel :load-toplevel :execute)
(defun %make-view (object type attributes args)
-
(when attributes
-
(setf args
-
(cons `(:attributes ,attributes) args)))
-
`(mewa::make-presentation
-
,object
-
:type ,type
-
,@(when args
-
`(:initargs
-
'(,@ (mapcan #'identity args)))))))
+ (when attributes
+ (setf args
+ (cons `(:attributes ,attributes) args)))
+ `(mewa::make-presentation
+ ,object
+ :type ,type
+ ,@(when args
+ `(:initargs
+ '(,@ (mapcan #'identity args)))))))
(defmethod make-view (object &rest args &key (type :viewer)
&allow-other-keys )
(defmethod make-view (object &rest args &key (type :viewer)
&allow-other-keys )