ItEr33S08ValidacionEProbasFuncionaisItEr32S09: [Bug #87] Fixing exception on managing criterions.
On managing criterions screen it was not possible to set the resource over which the criteriontype might be applied. The problem was an incorrect bind in listbox component.
This commit is contained in:
parent
19fb6961dc
commit
eb4f7aafcd
1 changed files with 2 additions and 5 deletions
|
|
@ -38,11 +38,8 @@
|
|||
</row>
|
||||
<row>
|
||||
<label value="${i18n:_('Type')}" />
|
||||
<listbox id="lbResource" mold="select" selectedItem="@{controller.criterionType.resource}">
|
||||
<listitem label="${i18n:_('Generic')}" value="RESOURCE" />
|
||||
<listitem label="${i18n:_('Worker')}" value="WORKER" />
|
||||
<listitem label="${i18n:_('Machine')}" value="MACHINE" />
|
||||
</listbox>
|
||||
<zscript>Object[] resourceTypes = org.navalplanner.business.resources.entities.ResourceEnum.values();</zscript>
|
||||
<listbox id="lbResource" mold="select" model="@{resourceTypes}" selectedItem="@{controller.criterionType.resource}"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${i18n:_('Multiple values per resource')}"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue