X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=views.lisp;h=f8b2649a76794daf026b73251610ca22ec8540c8;hb=ea98a28a5dfc909db12faab3693ece8feab0ca22;hp=fadc3ba1736479d035975a40eab26c2bdbfb3593;hpb=5a20b2bd0d0859d58da60fd22ab37658673ef291;p=hyperobject.git
diff --git a/views.lisp b/views.lisp
index fadc3ba..f8b2649 100644
--- a/views.lisp
+++ b/views.lisp
@@ -7,7 +7,7 @@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: views.lisp,v 1.16 2002/12/13 12:23:17 kevin Exp $
+;;;; $Id: views.lisp,v 1.17 2002/12/24 06:30:29 kevin Exp $
;;;;
;;;; 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)
@@ -173,7 +174,8 @@
(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)
@@ -222,7 +224,7 @@
(if (esd-hyperlink slot)
(string-append fmtstr "<~~a>" value-fmt "~~a>")
(string-append fmtstr (concatenate 'string "" value-fmt ""))))
- (:xml-link
+ ((or :xml-link :ie-xml-link)
(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 "<[!CDATA[" namestr-lower "]]> <~~a>" value-fmt "~~a>")
(string-append fmtstr (concatenate 'string " " value-fmt ""))))
- (:xml-link-labels
+ ((or :xml-link-labels :ie-xml-link-labels)
(push name links)
(if (esd-hyperlink slot)
(string-append fmtstr " <~~a>" value-fmt "~~a>")
(string-append fmtstr (concatenate 'string " <" 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)))))