From bb62e2a6959f5889e2a6a40452db18d3b55eaaa7 Mon Sep 17 00:00:00 2001 From: Steve MARECHAL Date: Fri, 26 Sep 2008 14:23:52 +0000 Subject: [PATCH] dojo dialog without button added --- calexium_lib/web/CXM_dojo.anubis | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/calexium_lib/web/CXM_dojo.anubis b/calexium_lib/web/CXM_dojo.anubis index ad3b57f..a4528cc 100644 --- a/calexium_lib/web/CXM_dojo.anubis +++ b/calexium_lib/web/CXM_dojo.anubis @@ -68,16 +68,16 @@ public define HTML_Off_Form . public define HTML_Off_Form - dojo_dialog + dijit_dialog ( String name, String dialog_id, String execute, - Bool file + Bool file, + String ok_label ) = sequence[ - dojo_button(name,"dijit.byId('"+dialog_id+"').show()", dialog_id + "_button"), div([attr("dojoType", "dijit.Dialog"), id(dialog_id), title(name), attr("execute", execute)], table([], empty, @@ -90,13 +90,32 @@ public define HTML_Off_Form + " name=\"name\" id=\"name_"+dialog_id+"\" />") )]), - row([], [cell([columns(2), h_center], literal(""))]), + row([], [cell([columns(2), h_center], literal(""))]), ], empty)), literal("
"), ] . +public define HTML_Off_Form + dojo_dialog + ( + String name, + String dialog_id, + String execute, + Bool file, + String ok_label + ) + = + sequence[ + dojo_button(name,"dijit.byId('"+dialog_id+"').show()", dialog_id + "_button"), + dijit_dialog(name, dialog_id, execute, file, ok_label) + ] +. + + + + public type DojoGridEditor: inputEditor, boolEditor, -- libgit2 0.21.4