Author: liem_nguyen
Date: 2010-02-25 23:41:53 -0500 (Thu, 25 Feb 2010)
New Revision: 1872
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIForm.gtmpl
Log:
GTNPORTAL-608 Display fail in Access permission form of category in Application registry
Modified: portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIForm.gtmpl
===================================================================
--- portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIForm.gtmpl 2010-02-26
00:57:47 UTC (rev 1871)
+++ portal/trunk/web/portal/src/main/webapp/groovy/webui/form/UIForm.gtmpl 2010-02-26
04:41:53 UTC (rev 1872)
@@ -8,20 +8,8 @@
for(field in uiform.getChildren()) {
if(field.isRendered()) {
%>
- <tr>
- <%fieldName = uicomponent.getLabel(field.getName());%>
- <%
- if(fieldName != null && fieldName.length() > 0 &&
!fieldName.equals(uicomponent.getId()) && !fieldName.equals(field.getName())) {
- %>
- <td class="FieldLabel">
- <%/*if(fieldName != null && fieldName.length() > 0) {*/%>
- <%=uicomponent.getLabel(field.getName()) %>
- <%/*}*/%>
- </td>
+ <tr>
<td class="FieldComponent"><% uiform.renderField(field)
%></td>
- <%} else {%>
- <td class="FieldComponent" colspan="2"><%
uiform.renderField(field) %></td>
- <%}%>
</tr>
<%
}