Fixed wizard generated code with new router design
This commit is contained in:
@@ -27,7 +27,7 @@ feature {NONE} -- Initialization
|
|||||||
setup_router
|
setup_router
|
||||||
do
|
do
|
||||||
-- Set the router here
|
-- Set the router here
|
||||||
router.map_agent ("/hello/{user}", agent execute_hello)
|
map_uri_template_agent ("/hello/{user}", agent execute_hello)
|
||||||
end
|
end
|
||||||
|
|
||||||
feature -- Execution
|
feature -- Execution
|
||||||
@@ -43,7 +43,7 @@ feature -- Execution
|
|||||||
res.redirect_now_with_content (l_url, "Redirection to " + l_url, "text/html")
|
res.redirect_now_with_content (l_url, "Redirection to " + l_url, "text/html")
|
||||||
end
|
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.
|
-- Computed response message.
|
||||||
local
|
local
|
||||||
mesg: WSF_HTML_PAGE_RESPONSE
|
mesg: WSF_HTML_PAGE_RESPONSE
|
||||||
|
|||||||
Reference in New Issue
Block a user