Fixed wizard generated code with new router design

This commit is contained in:
Jocelyn Fiat
2012-09-27 16:10:50 +02:00
parent e01c5bec57
commit 80c1cc1c0d

View File

@@ -27,7 +27,7 @@ feature {NONE} -- Initialization
setup_router
do
-- Set the router here
router.map_agent ("/hello/{user}", agent execute_hello)
map_uri_template_agent ("/hello/{user}", agent execute_hello)
end
feature -- Execution
@@ -43,7 +43,7 @@ feature -- Execution
res.redirect_now_with_content (l_url, "Redirection to " + l_url, "text/html")
end
execute_hello (ctx: WSF_URI_TEMPLATE_HANDLER_CONTEXT; req: WSF_REQUEST; res: WSF_RESPONSE)
execute_hello (req: WSF_REQUEST; res: WSF_RESPONSE)
-- Computed response message.
local
mesg: WSF_HTML_PAGE_RESPONSE