Hello.
I have a wicket:id(statistics) in which children are wicket:id(
"statistics2", "statistics3").
Attention to the question how to display the more ListView in ListView in
html wicket:id( "statistics2", "statistics3")???
This source code.
ListView<StatisticsAvgTimeServiceWaitingOperatorPeriodDTO>
statisticsListView = new
ListView<StatisticsAvgTimeServiceWaitingOperatorPeriodDTO>("statistics",
countClientDTOs) {
@Override
protected void
populateItem(ListItem<StatisticsAvgTimeServiceWaitingOperatorPeriodDTO>
item) {
StatisticsAvgTimeServiceWaitingOperatorPeriodDTO
timeServiceWaitingOperatorDTO = item.getModelObject();
..............................................
..............................................
item.add(new ListView<String>("statistics2",
timeServiceWaitingOperatorDTO.getStatisticsAvgTimeDTO().getTimeWaiting()) {
@Override
protected void populateItem(ListItem<String>
itemCountServiceByDate) {
String statisticsAvgTimeDTO =
itemCountServiceByDate.getModelObject();
itemCountServiceByDate.add(new Label("waitingTime",
statisticsAvgTimeDTO));
}
});
item.add(new ListView<String>("statistics3",
timeServiceWaitingOperatorDTO.getStatisticsAvgTimeDTO().getTimeService()) {
@Override
protected void populateItem(ListItem<String>
itemCountServiceByDate) {
String statisticsAvgTimeDTO =
itemCountServiceByDate.getModelObject();
itemCountServiceByDate.add(new Label("serviceTime",
statisticsAvgTimeDTO));
}
});
This source code html
<wicket:message
key="statistics.avg.time.service.waiting.operator.period.waiting"/>
<wicket:child wicket:id="statistics">
<label wicket:id="statistics2">
</label>
</wicket:child>
<wicket:message
key="statistics.avg.time.service.waiting.operator.period.service"/>
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-display-the-more-ListView-in-ListView-in-html-wicket-id-tp4673283.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]