ItEr49S18AdaptacionServiciosREST: Added the field 'code' to criterion type list and edion interfaces.

This commit is contained in:
Jacobo Aragunde Pérez 2010-03-05 21:11:42 +01:00 committed by Javier Moran Rua
parent 6da7f3113a
commit b76fffab37
2 changed files with 6 additions and 0 deletions

View file

@ -60,6 +60,10 @@
<label value="${i18n:_('Description')}" />
<textbox value="@{controller.criterionType.description}" rows="3" width="390px"/>
</row>
<row>
<label value="${i18n:_('Code')}" />
<label value="@{controller.criterionType.code}"/>
</row>
</rows>
</grid>
<separator bar="false" spacing="40px" orient="vertical"/>

View file

@ -22,12 +22,14 @@
<newdatasortablegrid model="@{controller.criterionTypes}" fixedLayout="true">
<columns>
<newdatasortablecolumn label="${i18n:_('Name')}" sort="auto(name)"/>
<newdatasortablecolumn label="${i18n:_('Code')}"/>
<newdatasortablecolumn width="60px" label="${i18n:_('Enabled')}"/>
<newdatasortablecolumn width="200px" label="${i18n:_('Operations')}"/>
</columns>
<rows>
<row self="@{each='criterionType'}" value="@{criterionType}">
<label value="@{criterionType.name}"/>
<label value="@{criterionType.code}"/>
<checkbox disabled="true" checked="@{criterionType.enabled}"/>
<hbox>
<button sclass="icono" image="/common/img/ico_editar1.png"