r3659: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 24 Dec 2002 06:30:29 +0000 (06:30 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 24 Dec 2002 06:30:29 +0000 (06:30 +0000)
views.lisp

index fadc3ba1736479d035975a40eab26c2bdbfb3593..f8b2649a76794daf026b73251610ca22ec8540c8 100644 (file)
@@ -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
 ;;;;
     )
   )
 
+
 (defun initialize-view-by-category (obj-cl view)
   "Initialize a view based upon a preset category"
   (let ((fmtstr nil)
     (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)
               (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>")
               (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
-         
+           
          (let ((func (if print-formatter
                  `(,print-formatter (slot-value x (quote ,name)))
                  `(slot-value x (quote ,name)))))