Agenda Budovy
- zprovozněno třídění - zprovozněny filtry - textboxy filtrů se nyní roztahují - css styly se načítají přes zk.xmlmultitenant
parent
bb1da67ac5
commit
12b814360c
@ -1,21 +1,23 @@
|
|||||||
package info.bukova.isspst.ui;
|
package info.bukova.isspst.ui;
|
||||||
|
|
||||||
import info.bukova.isspst.data.Building;
|
import info.bukova.isspst.data.Building;
|
||||||
|
import info.bukova.isspst.filters.BuildingFilter;
|
||||||
import info.bukova.isspst.services.buildings.BuildingService;
|
import info.bukova.isspst.services.buildings.BuildingService;
|
||||||
|
|
||||||
import org.zkoss.bind.annotation.Init;
|
import org.zkoss.bind.annotation.Init;
|
||||||
import org.zkoss.zk.ui.select.annotation.WireVariable;
|
import org.zkoss.zk.ui.select.annotation.WireVariable;
|
||||||
|
|
||||||
public class BuildingList extends ListViewModel<Building> {
|
public class BuildingList extends ListViewModel<Building> {
|
||||||
|
|
||||||
@WireVariable
|
@WireVariable
|
||||||
private BuildingService buildingService;
|
private BuildingService buildingService;
|
||||||
|
|
||||||
@Init
|
@Init
|
||||||
public void init() {
|
public void init() {
|
||||||
service = buildingService;
|
service = buildingService;
|
||||||
dataClass = Building.class;
|
dataClass = Building.class;
|
||||||
formZul = "buildingForm.zul";
|
formZul = "buildingForm.zul";
|
||||||
|
dataFilter = new BuildingFilter(getFilterTemplate());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
.find-grid-cell {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.find-grid-img {
|
||||||
|
display: table-cell;
|
||||||
|
width: 20px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.find-grid-divtextbox {
|
||||||
|
display: table-cell;
|
||||||
|
}
|
||||||
|
|
||||||
|
.find-grid-textbox {
|
||||||
|
width: 100%;
|
||||||
|
}
|
Loading…
Reference in New Issue