projects
/
hyperobject.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5a20b2b
)
r3659: *** empty log message ***
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Tue, 24 Dec 2002 06:30:29 +0000
(06:30 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Tue, 24 Dec 2002 06:30:29 +0000
(06:30 +0000)
views.lisp
patch
|
blob
|
history
diff --git
a/views.lisp
b/views.lisp
index fadc3ba1736479d035975a40eab26c2bdbfb3593..f8b2649a76794daf026b73251610ca22ec8540c8 100644
(file)
--- a/
views.lisp
+++ b/
views.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: views.lisp,v 1.1
6 2002/12/13 12:23:17
kevin Exp $
+;;;; $Id: views.lisp,v 1.1
7 2002/12/24 06:30:29
kevin Exp $
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
;;;;
@@
-162,6
+162,7
@@
)
)
)
)
+
(defun initialize-view-by-category (obj-cl view)
"Initialize a view based upon a preset category"
(let ((fmtstr nil)
(defun initialize-view-by-category (obj-cl view)
"Initialize a view based upon a preset category"
(let ((fmtstr nil)
@@
-173,7
+174,8
@@
(unless (in category :compact-text :compact-text-labels
:html :html-labels :html-link-labels
:xhtml :xhtml-labels :xhtml-link-labels
(unless (in category :compact-text :compact-text-labels
:html :html-labels :html-link-labels
:xhtml :xhtml-labels :xhtml-link-labels
- :xml :xml-labels :xml-link-labels)
+ :xml :xml-labels :xml-link :ie-xml-link
+ :xml-link-labels :ie-xml-link-labels)
(error "Unknown view category ~A" category))
(unless (slots view)
(error "Unknown view category ~A" category))
(unless (slots view)
@@
-222,7
+224,7
@@
(if (esd-hyperlink slot)
(string-append fmtstr "<~~a>" value-fmt "</~~a>")
(string-append fmtstr (concatenate 'string "<span class=\"" namestr-lower "\">" value-fmt "</span>"))))
(if (esd-hyperlink slot)
(string-append fmtstr "<~~a>" value-fmt "</~~a>")
(string-append fmtstr (concatenate 'string "<span class=\"" namestr-lower "\">" value-fmt "</span>"))))
- (
:xml-link
+ (
(or :xml-link :ie-xml-link)
(push name links)
(if (esd-hyperlink slot)
(string-append fmtstr "<~~a>" value-fmt "</~~a>")
(push name links)
(if (esd-hyperlink slot)
(string-append fmtstr "<~~a>" value-fmt "</~~a>")
@@
-237,13
+239,13
@@
(if (esd-hyperlink slot)
(string-append fmtstr "<span class=\"label\"><[!CDATA[" namestr-lower "]]></span> <~~a>" value-fmt "</~~a>")
(string-append fmtstr (concatenate 'string "<span class=\"label\"><![CDATA[" namestr-lower "]]></span> <span class=\"" namestr-lower "\">" value-fmt "</span>"))))
(if (esd-hyperlink slot)
(string-append fmtstr "<span class=\"label\"><[!CDATA[" namestr-lower "]]></span> <~~a>" value-fmt "</~~a>")
(string-append fmtstr (concatenate 'string "<span class=\"label\"><![CDATA[" namestr-lower "]]></span> <span class=\"" namestr-lower "\">" value-fmt "</span>"))))
- (
:xml-link-labels
+ (
(or :xml-link-labels :ie-xml-link-labels)
(push name links)
(if (esd-hyperlink slot)
(string-append fmtstr "<label><[![CDATA[" namestr-lower "]]></label> <~~a>" value-fmt "</~~a>")
(string-append fmtstr (concatenate 'string "<label><![CDATA[" namestr-lower "]]></label> <" namestr-lower ">" value-fmt "</" namestr-lower ">")))))
) ;; let value-fmt
(push name links)
(if (esd-hyperlink slot)
(string-append fmtstr "<label><[![CDATA[" namestr-lower "]]></label> <~~a>" value-fmt "</~~a>")
(string-append fmtstr (concatenate 'string "<label><![CDATA[" namestr-lower "]]></label> <" namestr-lower ">" value-fmt "</" namestr-lower ">")))))
) ;; let value-fmt
-
+
(let ((func (if print-formatter
`(,print-formatter (slot-value x (quote ,name)))
`(slot-value x (quote ,name)))))
(let ((func (if print-formatter
`(,print-formatter (slot-value x (quote ,name)))
`(slot-value x (quote ,name)))))