Author: mwringe
Date: 2010-03-09 10:25:56 -0500 (Tue, 09 Mar 2010)
New Revision: 2060
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UITabContainer.gtmpl
Log:
GTNPORTAL-807: we need to use collection.size() instead of collection.size because of a
Groovy issue with the IBM jdk (see GROOVY-4094). Without the change it will try and find
the properly size on the contents of the collection and not of the collection object
itself.
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UITabContainer.gtmpl
===================================================================
---
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UITabContainer.gtmpl 2010-03-09
15:24:23 UTC (rev 2059)
+++
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/container/UITabContainer.gtmpl 2010-03-09
15:25:56 UTC (rev 2060)
@@ -14,7 +14,7 @@
ArrayList children = uicomponent.getChildren();
- if(children != null && children.size > 0){
+ if(children != null && children.size() > 0){
boolean hasRenderedChild = false;
for(uiChild in children) {
if(uiChild.isRendered()) {
@@ -35,7 +35,7 @@
String id = uicomponent.getId();
%>
-<% if(children != null && children.size > 0) { %>
+<% if(children != null && children.size() > 0) { %>
<div class="UITabContainer">
<div class="UIHorizontalTabs">
<div class="LeftHorizontalTabs">
Show replies by date