Fixed WSF_MULTI_CONTROL (wrong order of subcontrols), completed navbar, improved slider

This commit is contained in:
severin
2013-10-29 15:32:57 +01:00
parent 26e6a62e6b
commit 61f032a819
9 changed files with 84 additions and 48 deletions

View File

@@ -19,13 +19,16 @@ inherit
feature {NONE} -- Initialization
make_repeater (n: STRING; a_datasource: WSF_DATASOURCE [G])
local
p: WSF_PAGINATION_CONTROL [G]
do
make_multi_control (n)
datasource := a_datasource
datasource.set_on_update_agent (agent update)
if attached {WSF_PAGABLE_DATASOURCE [G]} a_datasource as ds then
create pagination_control.make_paging (n + "_paging", ds)
add_control (pagination_control)
create p.make_paging (n + "_paging", ds)
add_control (p)
pagination_control := p
end
end
@@ -53,7 +56,6 @@ feature {WSF_PAGE_CONTROL, WSF_CONTROL} -- State management
Result.put (datasource.state, "datasource")
end
feature -- Rendering
render_item (item: G): STRING