Moved more components from CMS to wsf_html.

This includes WSF_PAGER, and feature in WSF_THEME .. including WSF_API_OPTIONS
used to compute url and link.
This commit is contained in:
Jocelyn Fiat
2013-03-26 14:17:10 +01:00
parent 2eb9abeb37
commit a23871ff5b
18 changed files with 593 additions and 438 deletions

View File

@@ -0,0 +1,40 @@
note
description: "[
WF_THEME associated with a request
]"
date: "$Date$"
revision: "$Revision$"
class
WSF_REQUEST_THEME
inherit
WSF_THEME
create
make_with_request
feature {NONE} -- Initialization
make_with_request (req: WSF_REQUEST)
do
request := req
end
request: WSF_REQUEST
-- Associated request
feature -- Core
site_url: READABLE_STRING_8
do
Result := request.absolute_script_url ("")
end
base_url: detachable READABLE_STRING_8
-- Base url if any.
do
Result := request.script_url ("")
end
end