Author: ndkhoiits
Date: 2010-12-02 03:08:59 -0500 (Thu, 02 Dec 2010)
New Revision: 5443
Modified:
portal/branches/branch-GTNPORTAL-1700/web/portal/src/main/webapp/groovy/portal/webui/container/UITableColumnContainer.gtmpl
Log:
GTNPORTAL-1715 Dont set width value for column if it haven't been setted
Modified:
portal/branches/branch-GTNPORTAL-1700/web/portal/src/main/webapp/groovy/portal/webui/container/UITableColumnContainer.gtmpl
===================================================================
---
portal/branches/branch-GTNPORTAL-1700/web/portal/src/main/webapp/groovy/portal/webui/container/UITableColumnContainer.gtmpl 2010-12-02
07:58:35 UTC (rev 5442)
+++
portal/branches/branch-GTNPORTAL-1700/web/portal/src/main/webapp/groovy/portal/webui/container/UITableColumnContainer.gtmpl 2010-12-02
08:08:59 UTC (rev 5443)
@@ -42,7 +42,7 @@
<table class="UITableColumn" style="table-layout: fixed; margin:
0px auto; $style">
<tr class="TRContainer">
<% for(uiChild in uicomponent.getChildren()) {%>
- <td class="${uiChild.id}TDContainer TDContainer" width="<%=
uiChild.getWidth(); %>"><% uicomponent.renderUIComponent(uiChild)
%></td>
+ <td class="${uiChild.id}TDContainer" <% if(uiChild.getWidth()) {
%> width="<%= uiChild.getWidth(); %>" <% } %>><%
uicomponent.renderUIComponent(uiChild) %></td>
<% } %>
</tr>
</table>