From 81038b0aa25a79bbd313a51124ded9a8f1ed7b0b Mon Sep 17 00:00:00 2001 From: Steve MARECHAL Date: Tue, 2 Sep 2008 17:27:16 +0000 Subject: [PATCH] dojo checkbox added --- calexium_lib/web/CXM_dojo.anubis | 14 ++++++++++++++ calexium_lib/web/CXM_mime.anubis | 1 + 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/calexium_lib/web/CXM_dojo.anubis b/calexium_lib/web/CXM_dojo.anubis index bcbb911..f877dae 100644 --- a/calexium_lib/web/CXM_dojo.anubis +++ b/calexium_lib/web/CXM_dojo.anubis @@ -20,6 +20,7 @@ read mailfountain_constants.anubis read mailfountain_types.anubis read common/language_management.anubis +read common/generic_page.anubis read tools/mf_loggers.anubis read system/logger.anubis @@ -407,3 +408,16 @@ public define HTML_In_Form success(tip) then "" + tip + "" }). + +public define MF_FormField + dojo_checkbox + ( + List(InputAttrs) attributes, + WebArgName name, + HtmlId id, + String label, + WebArgValue val, + Bool checked, + Mandatory mandatory, + )= + checkboxr([attr("dojoType", "dijit.form.CheckBox") . attributes] , label, id, name, val, checked, mandatory). diff --git a/calexium_lib/web/CXM_mime.anubis b/calexium_lib/web/CXM_mime.anubis index d322802..d077ccf 100644 --- a/calexium_lib/web/CXM_mime.anubis +++ b/calexium_lib/web/CXM_mime.anubis @@ -65,3 +65,4 @@ public define String )= with text2 = "=?"+charset+"?B?"+to_string(base64_encode(to_byte_array(text)))+"?=", find_and_replace(text2, implode([13,10]), implode([13,10,32])). + -- libgit2 0.21.4