Commit 81038b0aa25a79bbd313a51124ded9a8f1ed7b0b
1 parent
b423bdc9
dojo checkbox added
Showing
2 changed files
with
15 additions
and
0 deletions
Show diff stats
calexium_lib/web/CXM_dojo.anubis
| ... | ... | @@ -20,6 +20,7 @@ read mailfountain_constants.anubis |
| 20 | 20 | read mailfountain_types.anubis |
| 21 | 21 | read common/language_management.anubis |
| 22 | 22 | |
| 23 | +read common/generic_page.anubis | |
| 23 | 24 | read tools/mf_loggers.anubis |
| 24 | 25 | read system/logger.anubis |
| 25 | 26 | |
| ... | ... | @@ -407,3 +408,16 @@ public define HTML_In_Form |
| 407 | 408 | success(tip) then |
| 408 | 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