From 9ebdcfa0925b83d799e63881c67de766c06024ff Mon Sep 17 00:00:00 2001 From: Steve MARECHAL Date: Fri, 24 Oct 2008 12:45:26 +0000 Subject: [PATCH] dojo editor is now HTML_Off_Form --- calexium_lib/web/CXM_dojo.anubis | 62 +++++++++++++++++++++----------------------------------------- 1 file changed, 21 insertions(+), 41 deletions(-) diff --git a/calexium_lib/web/CXM_dojo.anubis b/calexium_lib/web/CXM_dojo.anubis index 9acae86..451ada7 100644 --- a/calexium_lib/web/CXM_dojo.anubis +++ b/calexium_lib/web/CXM_dojo.anubis @@ -429,24 +429,14 @@ public define HTML_Off_Form dojo_button ( HtmlId html_id, - Maybe(String) class, +// Maybe(String) class, String name, - Maybe(String) iconclass, + String iconclass, Maybe(String) tip_msg, String execute, )= literal(" - " + - if tip_msg is - { - failure then "", - success(tip) then - "" + tip + "" - }). + literal(" + " + + if tip_msg is + { + failure then "", + success(tip) then + "" + tip + "" + }). public define HTML_Off_Form @@ -515,13 +495,13 @@ public define HTML_In_Form div([attr("dojoType", "dijit.Declaration"), attr("widgetClass", name) . attributes ], content). -public define HTML_In_Form +public define HTML_Off_Form dojo_editor ( List(CoreAttrs) attributes, HtmlId html_id, WebArgName input_name, - HTML_In_Form text, + HTML_Off_Form text, )= div([id(html_id.id), attr("name", input_name.name), attr("dojoType", "dijit.Editor") ,attr("extraPlugins", "['|', 'foreColor','hiliteColor',{name:'dojox.editor.plugins.FontChoice', command:'fontName', generic:true},'fontSize','formatBlock','|','createLink','insertImage']") -- libgit2 0.21.4