[Bug #707] Fixed bug, setting explicitly the selected element.
FEA: ItEr63S03BugFixing
This commit is contained in:
parent
50c44d24c1
commit
fbe6b45d22
4 changed files with 6 additions and 2 deletions
|
|
@ -43,6 +43,7 @@ resourcesLoadPanel = self;
|
|||
${i18n:_('Filter')}:
|
||||
<listbox id="listFilters" mold="select" rows="1" width="100px"
|
||||
model="${resourcesLoadPanel.filters}"
|
||||
selectedIndex="0"
|
||||
onSelect="resourcesLoadPanel.setFilter(self.selectedItem.value);">
|
||||
</listbox>
|
||||
<separator/>
|
||||
|
|
|
|||
|
|
@ -513,6 +513,7 @@ public class AdvancedAllocationController extends GenericForwardComposer {
|
|||
advancedAllocationHorizontalPagination
|
||||
.setDisabled(advancedAllocationHorizontalPagination
|
||||
.getItems().size() < 2);
|
||||
advancedAllocationHorizontalPagination.setSelectedIndex(0);
|
||||
}
|
||||
|
||||
public void goToHorizontalPage(int interval) {
|
||||
|
|
@ -864,6 +865,7 @@ public class AdvancedAllocationController extends GenericForwardComposer {
|
|||
advancedAllocationVerticalPagination.appendChild(item);
|
||||
verticalPaginationIndexes.add(new Integer(i));
|
||||
}
|
||||
advancedAllocationVerticalPagination.setSelectedIndex(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -169,6 +169,7 @@ public class WorkReportCRUDController extends GenericForwardComposer implements
|
|||
.getRedirectorFor(IWorkReportCRUDControllerEntryPoints.class);
|
||||
handler.registerListener(this, page);
|
||||
initCurrentList();
|
||||
listType.setSelectedIndex(0);
|
||||
}
|
||||
|
||||
private void initCurrentList() {
|
||||
|
|
|
|||
|
|
@ -61,14 +61,14 @@
|
|||
<vbox>
|
||||
<label value="${i18n:_('Year')}" />
|
||||
<listbox id="lbYears" rows="1" mold="select">
|
||||
<listitem label="${i18n:_('2010')}" value="2010" />
|
||||
<listitem label="${i18n:_('2010')}" value="2010" selected="true" />
|
||||
<listitem label="${i18n:_('2011')}" value="2011" />
|
||||
</listbox>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<label value="${i18n:_('Month')}" />
|
||||
<listbox id="lbMonths" rows="1" mold="select">
|
||||
<listitem label="${i18n:_('January')}" value="1" />
|
||||
<listitem label="${i18n:_('January')}" value="1" selected="true" />
|
||||
<listitem label="${i18n:_('February')}" value="2" />
|
||||
<listitem label="${i18n:_('March')}" value="3" />
|
||||
<listitem label="${i18n:_('April')}" value="4" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue