From 8161c343aa8393f0e052a520b62aeb3231709363 Mon Sep 17 00:00:00 2001 From: David RENE Date: Fri, 25 May 2007 15:13:04 +0000 Subject: [PATCH] add submit input type in actioner aspect --- calexium_lib/web/CXM_making_a_web_site.anubis | 13 +++++++++++++ 1 file changed, 13 insertions(+), 0 deletions(-) diff --git a/calexium_lib/web/CXM_making_a_web_site.anubis b/calexium_lib/web/CXM_making_a_web_site.anubis index 11df1c2..1cf3b4f 100644 --- a/calexium_lib/web/CXM_making_a_web_site.anubis +++ b/calexium_lib/web/CXM_making_a_web_site.anubis @@ -776,6 +776,7 @@ public type Actioner_Target: public type Actioner_Aspect: link (List(Text_Option),String text), // hypertext link push_button (List(CoreAttrs),String text), + submit (List(CoreAttrs),String text), button (String url_off, String url_on), // rollover button button (String url_off, String url_on, Int32 w, Int32 h), // idem with size immediate_selector (String name, Int32 size, List(String) choices). @@ -2802,6 +2803,17 @@ define Printable_tree [s,""] } ], + submit(options, text) then + [ + if action is + { + url(u) then ["", + text, "" + ], + javascript(s,h) then + [s,""] + } + ], button(url_off,url_on) then [ if action is @@ -2858,6 +2870,7 @@ define Printable_tree { link(opt,text) then [text], push_button(opt, text) then [text], + submit(opt, text) then [text], button(url_off,url_on) then [ "