From 853e7a2c58b3ee50bc214a4df53f3a5b11ee1491 Mon Sep 17 00:00:00 2001 From: Cedric RICARD Date: Thu, 10 Jul 2008 09:15:23 +0000 Subject: [PATCH] Renaming 'tooltip' attribute to 'title' to make it more 'HTML compliant' Fix HTML code generated by CXM_dojo.anubis to be more W3C compliant. --- calexium_lib/web/CXM_dojo.anubis | 47 ++++++++++++++++++++++++++++------------------- calexium_lib/web/CXM_making_a_web_site.anubis | 35 +++++++++++++++++++++++++++-------- 2 files changed, 55 insertions(+), 27 deletions(-) diff --git a/calexium_lib/web/CXM_dojo.anubis b/calexium_lib/web/CXM_dojo.anubis index 3677b12..8e869e3 100644 --- a/calexium_lib/web/CXM_dojo.anubis +++ b/calexium_lib/web/CXM_dojo.anubis @@ -40,26 +40,35 @@ public define HTML_Off_Form dojo_dialog ( String name, - String id, + String dialog_id, String execute, ) = sequence[ - dojo_button(name,"dijit.byId('"+id+"').show()", "dialog_id"), - literal(" -
- - - - - - - - -
-
-

") + dojo_button(name,"dijit.byId('"+dialog_id+"').show()", "dialog_id"), + div([attr("dojoType", "dijit.Dialog"), id(dialog_id), title(name), attr("execute", execute)], + table([], + empty, + [ + row([], [cell([], literal(""))]), + row([], [cell([columns(2), h_center], literal(""))]), + ], + empty)), + literal("
"), +// literal(" +//
+// +// +// +// +// +// +// +// +//
+//
+//

") ] . @@ -74,7 +83,7 @@ public define HTML_Off_Form Bool can_edit ) = - literal("