From ea98a28a5dfc909db12faab3693ece8feab0ca22 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Tue, 24 Dec 2002 06:30:29 +0000 Subject: [PATCH] r3659: *** empty log message *** --- views.lisp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 "") (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 "") @@ -237,13 +239,13 @@ (if (esd-hyperlink slot) (string-append fmtstr "<[!CDATA[" namestr-lower "]]> <~~a>" value-fmt "") (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 "") (string-append fmtstr (concatenate 'string " <" namestr-lower ">" value-fmt ""))))) ) ;; let value-fmt - + (let ((func (if print-formatter `(,print-formatter (slot-value x (quote ,name))) `(slot-value x (quote ,name))))) -- 2.34.1