Commit 81038b0aa25a79bbd313a51124ded9a8f1ed7b0b

Authored by Steve MARECHAL
1 parent b423bdc9

dojo checkbox added

calexium_lib/web/CXM_dojo.anubis
@@ -20,6 +20,7 @@ read mailfountain_constants.anubis @@ -20,6 +20,7 @@ read mailfountain_constants.anubis
20 read mailfountain_types.anubis 20 read mailfountain_types.anubis
21 read common/language_management.anubis 21 read common/language_management.anubis
22 22
  23 +read common/generic_page.anubis
23 read tools/mf_loggers.anubis 24 read tools/mf_loggers.anubis
24 read system/logger.anubis 25 read system/logger.anubis
25 26
@@ -407,3 +408,16 @@ public define HTML_In_Form @@ -407,3 +408,16 @@ public define HTML_In_Form
407 success(tip) then 408 success(tip) then
408 "<span dojoType=\"dijit.Tooltip\" connectId=\"" + html_id.id + "\">" + tip + "</span>" 409 "<span dojoType=\"dijit.Tooltip\" connectId=\"" + html_id.id + "\">" + tip + "</span>"
409 }). 410 }).
  411 +
  412 +public define MF_FormField
  413 + dojo_checkbox
  414 + (
  415 + List(InputAttrs) attributes,
  416 + WebArgName name,
  417 + HtmlId id,
  418 + String label,
  419 + WebArgValue val,
  420 + Bool checked,
  421 + Mandatory mandatory,
  422 + )=
  423 + checkboxr([attr("dojoType", "dijit.form.CheckBox") . attributes] , label, id, name, val, checked, mandatory).
calexium_lib/web/CXM_mime.anubis
@@ -65,3 +65,4 @@ public define String @@ -65,3 +65,4 @@ public define String
65 )= 65 )=
66 with text2 = "=?"+charset+"?B?"+to_string(base64_encode(to_byte_array(text)))+"?=", 66 with text2 = "=?"+charset+"?B?"+to_string(base64_encode(to_byte_array(text)))+"?=",
67 find_and_replace(text2, implode([13,10]), implode([13,10,32])). 67 find_and_replace(text2, implode([13,10]), implode([13,10,32])).
  68 +