From 93d0a28fef7c4ab863c831a7ecd3db80079090f2 Mon Sep 17 00:00:00 2001 From: Steve MARECHAL Date: Thu, 6 Nov 2008 17:59:51 +0000 Subject: [PATCH] input may be password type --- calexium_lib/web/CXM_dojo.anubis | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/calexium_lib/web/CXM_dojo.anubis b/calexium_lib/web/CXM_dojo.anubis index cc675b5..22a967c 100644 --- a/calexium_lib/web/CXM_dojo.anubis +++ b/calexium_lib/web/CXM_dojo.anubis @@ -67,23 +67,30 @@ public define HTML_Off_Form ") . +public type Input_Type: + file, + text, + password. + public type InputDial: - input_dial(String id, Bool file, String label). + input_dial(String id, Input_Type input_type, String label). define HTML_Row(HTML_Off_Form) input_in_dialog ( InputDial input_data )= - if input_data is input_dial(id, file, label) then + if input_data is input_dial(id, input, label) then row([], [cell([], sequence([ literal(""), literal("") + if input is + { + file then "type=\"file\"", + text then "type=\"text\"", + password then "type=\"password\"" + } + + " name=\""+id+"\" id=\""+id+"\" />") ]))]). define List(HTML_Row(HTML_Off_Form)) -- libgit2 0.21.4