diff --git a/web/load_content.anubis b/web/load_content.anubis new file mode 100644 index 0000000..4a930c8 --- /dev/null +++ b/web/load_content.anubis @@ -0,0 +1,62 @@ +/* + * Created by PyramIDE. + * User: フランスのトトロ aka (David RENÉ) + * Date: 09/09/2018 + * Time: 19:22 + * © David RENÉ + */ + +read system/convert.anubis +read calexium_lib/web/CXM_making_a_web_site.anubis + +public define String + load_content + ( + String target, + WEB_Action_Name web_action, + List((String,String)) extra_args, + Bool replace + )= + + "CalexiumToolBox.ajax_load_content('"+target+"', '"+format_web_action_name(web_action, extra_args)+"', "+to_String(replace)+");" +. + +public define String + load_content + ( + String target, + WEB_Action_Name web_action, + List((String,String)) extra_args + )= + load_content(target, web_action, extra_args, true) +. + +public define String + load_content + ( + String target, + WEB_Action_Name web_action, + (String, String) extra_arg + )= + load_content(target, web_action, [extra_arg], true) +. + +public define String + load_content + ( + String target, + WEB_Action_Name web_action + )= + load_content(target, web_action, [], true) +. + + +public define String + load_content + ( + String target, + WEB_Action_Name web_action, + Bool replace + )= + load_content(target, web_action, [], replace) +. -- libgit2 0.21.4