[Bese-devel] small patch for XHTML strict

Friedrich Dominicus frido at q-software-solutions.de
Tue Jul 26 10:10:40 UTC 2005


It seems to validate the generated code as XHTML1.1 strict one has to
add a <p> around the input fields. 

Here's a small diff you may want to apply (or forget)

--- ucw-tags.lisp	2005-07-26 12:03:06.000000000 +0200
+++ ucw-tags.lisp.old	2005-07-26 12:07:32.000000000 +0200
@@ -52,9 +52,8 @@
                                                           (lambda () ,action)))))
        (<:form :action (print-uri-to-string-sans-query ,url)
                , at others
-        (<:p :class "hidden-fields"
          (dolist (,query (uri.query ,url))
-           (<:input :type "hidden" :name (car ,query) :value (cdr ,query))))
+           (<:input :type "hidden" :name (car ,query) :value (cdr ,query)))
          , at body))))
 
 (deftag-macro <ucw::%select (&attribute multiple writer accessor (test '#'eql) (key '#'identity) on-change


Another thing I've changed is extending the window-component to be
even more paremetrized. If anyone is intersted, just drop me a note.

Regards
Friedrich




More information about the bese-devel mailing list