From 69e1e2bb4e261d994e47270f2e91a9c107ce2b57 Mon Sep 17 00:00:00 2001 From: Cedric RICARD Date: Wed, 26 Mar 2008 23:32:10 +0000 Subject: [PATCH] Added: Web arguments are passed to the 'compute_page' function, allowing to fill forms with previously entered values. --- calexium_lib/web/CXM_making_a_web_site.anubis | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calexium_lib/web/CXM_making_a_web_site.anubis b/calexium_lib/web/CXM_making_a_web_site.anubis index fe9ac1f..28a4b1a 100644 --- a/calexium_lib/web/CXM_making_a_web_site.anubis +++ b/calexium_lib/web/CXM_making_a_web_site.anubis @@ -438,7 +438,7 @@ public define Web_Site List(Web_arg), Bool is_https) -> (Maybe($SessionTicket), Maybe($State), List(HTTP_header)) ticket_lost_state, List(Web_Action($SessionTicket, $State)) actions, - (Maybe($SessionTicket), Maybe($State)) -> HTML_Page compute_page, + (Maybe($SessionTicket), Maybe($State), List(Web_arg) lwa) -> HTML_Page compute_page, Int32 timeout, // seconds (todo: minutes) List(Redirection) redirections, String charset, @@ -2204,7 +2204,7 @@ public define Web_Site List(Web_arg), Bool is_https) -> (Maybe($SessionTicket), Maybe($State), List(HTTP_header)) ticket_lost_state, List(Web_Action($SessionTicket, $State)) actions, - (Maybe($SessionTicket), Maybe($State)) -> HTML_Page compute_page, + (Maybe($SessionTicket), Maybe($State), List(Web_arg) lwa) -> HTML_Page compute_page, Int32 timeout, Redirections redirections, String charset, @@ -2280,7 +2280,7 @@ public define Web_Site (headers, format(info(host_name, http_port, https_port, site_directory, secret), state_name, - compute_page(session_ticket, mb_new_state), + compute_page(session_ticket, mb_new_state, operands), is_https, charset)) }), -- libgit2 0.21.4