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

@@ -10,9 +10,9 @@ class
inherit
BASE_PAGE
redefine
initialize_controls
end
redefine
initialize_controls
end
create
make
@@ -22,16 +22,16 @@ feature
initialize_controls
do
Precursor
control.add_control (create {WSF_BASIC_CONTROL}.make_with_body("h1","","Grid Demo"))
control.add_control (create {WSF_BASIC_CONTROL}.make_with_body ("h1", "", "Grid Demo"))
create datasource.make_news
create search_query.make_autocomplete ("query", create {GOOGLE_AUTOCOMPLETION}.make)
search_query.add_class ("form-control")
search_query.set_change_event (agent change_query)
control.add_control (search_query)
control.add_control (create {WSF_BASIC_CONTROL}.make_with_body("h2","","Results"))
create grid.make_grid ("mygrid", <<create {WSF_GRID_COLUMN}.make ("Title", "title"),
create {WSF_GRID_COLUMN}.make ("Content", "content")>>, datasource)
control.add_control (create {WSF_BASIC_CONTROL}.make_with_body ("h2", "", "Results"))
create grid.make_grid ("mygrid", <<create {WSF_GRID_COLUMN}.make ("Title", "title"), create {WSF_GRID_COLUMN}.make ("Content", "content")>>, datasource)
control.add_control (grid)
navbar.set_active (2)
end
change_query