mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
each custom control project own category
This commit is contained in:
parent
57fb538591
commit
d36f1a5426
3 changed files with 10 additions and 10 deletions
|
|
@ -2,7 +2,13 @@
|
||||||
|
|
||||||
(progn
|
(progn
|
||||||
(clog-tools:add-supported-controls
|
(clog-tools:add-supported-controls
|
||||||
(list `(;; unique name to control used to identify it the .clog xml
|
(list '(:name "group"
|
||||||
|
:description "<%= (@ sys-name) %> Controls"
|
||||||
|
:create nil
|
||||||
|
:create-type nil
|
||||||
|
:events nil
|
||||||
|
:properties nil)
|
||||||
|
`(;; unique name to control used to identify it the .clog xml
|
||||||
:name "<%= (@ sys-name) %>"
|
:name "<%= (@ sys-name) %>"
|
||||||
;; how control appears in builder control list
|
;; how control appears in builder control list
|
||||||
:description "<%= (@ sys-name) %>"
|
:description "<%= (@ sys-name) %>"
|
||||||
|
|
|
||||||
|
|
@ -1693,14 +1693,7 @@
|
||||||
:attr "data-clog-one-row-limit")
|
:attr "data-clog-one-row-limit")
|
||||||
(:name "join to slot-name (optional)"
|
(:name "join to slot-name (optional)"
|
||||||
:attr "data-clog-one-row-master")
|
:attr "data-clog-one-row-master")
|
||||||
,@*props-form-element*))
|
,@*props-form-element*))))
|
||||||
'(:name "group"
|
|
||||||
:description "Custom Controls"
|
|
||||||
:create nil
|
|
||||||
:create-type nil
|
|
||||||
:events nil
|
|
||||||
:properties nil)))
|
|
||||||
|
|
||||||
|
|
||||||
(defparameter *supported-templates*
|
(defparameter *supported-templates*
|
||||||
(list
|
(list
|
||||||
|
|
|
||||||
|
|
@ -260,7 +260,8 @@ replaced."
|
||||||
(dolist (r control-records)
|
(dolist (r control-records)
|
||||||
(setf *supported-controls*
|
(setf *supported-controls*
|
||||||
(append (remove-if (lambda (x)
|
(append (remove-if (lambda (x)
|
||||||
(equal (getf x :name) (getf r :name)))
|
(unless (equalp (getf x :name) "group")
|
||||||
|
(equal (getf x :name) (getf r :name))))
|
||||||
*supported-controls*)
|
*supported-controls*)
|
||||||
(list r)))))
|
(list r)))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue