Last change
on this file since 932 was
811,
checked in by gav, 14 years ago
|
Domain change, adjust constraints on MaintenanceAction.
|
File size:
1.9 KB
|
Line | |
---|
1 | |
---|
2 | <tr id="maintenanceActionLazyList${i}" class="ma-div" <g:if test="${ma?.toBeDeleted}">style="display:none;"</g:if>> |
---|
3 | |
---|
4 | <td valign="top" class="${hasErrors(bean:ma,field:procedureStepNumber,'errors')}"> |
---|
5 | <g:hiddenField name="maintenanceActionLazyList[${i}].toBeDeleted" value="${ma?.toBeDeleted}"/> |
---|
6 | <g:hiddenField name='maintenanceActionLazyList[${i}].isNew' value="${ma?.id == null?'true':'false'}"/> |
---|
7 | <g:textField name="maintenanceActionLazyList[${i}].procedureStepNumber" |
---|
8 | value="${ma?.procedureStepNumber}" |
---|
9 | style="width:3em;"/> |
---|
10 | </td> |
---|
11 | |
---|
12 | <td valign="top" class="${hasErrors(bean:ma,field:'assetSubItem','errors')}"> |
---|
13 | <g:select optionKey="id" |
---|
14 | from="${assemblies}" |
---|
15 | name="maintenanceActionLazyList[${i}].assetSubItem.id" |
---|
16 | value="${ma?.assetSubItem?.id}" |
---|
17 | noSelection="['null':/${g.message(code:'default.please.select.text')}/]"> |
---|
18 | </g:select> |
---|
19 | </td> |
---|
20 | |
---|
21 | <td valign="top" class="${hasErrors(bean:ma,field:'description','errors')}"> |
---|
22 | <g:textArea name="maintenanceActionLazyList[${i}].description" |
---|
23 | value="${ma?.description}" |
---|
24 | style="width:280px;height:auto;"/> |
---|
25 | </td> |
---|
26 | |
---|
27 | <td valign="top" class="${hasErrors(bean:ma,field:'pageRef','errors')}"> |
---|
28 | <g:textArea name="maintenanceActionLazyList[${i}].pageRef" |
---|
29 | value="${ma?.pageRef}" |
---|
30 | style="width:100px;height:auto;"/> |
---|
31 | </td> |
---|
32 | |
---|
33 | <td> |
---|
34 | <span class="del-ma"> |
---|
35 | <img src="${resource(dir:'images/skin', file:'database_delete.png')}" /> |
---|
36 | </span> |
---|
37 | </td> |
---|
38 | </tr> |
---|
Note: See
TracBrowser
for help on using the repository browser.