Author: theute
Date: 2012-03-19 10:02:19 -0400 (Mon, 19 Mar 2012)
New Revision: 8617
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl
Log:
Bug 804648 - Failure when a node has a long name
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl 2012-03-19
11:42:41 UTC (rev 8616)
+++
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl 2012-03-19
14:02:19 UTC (rev 8617)
@@ -108,7 +108,7 @@
<span class="$arrowIcon">
<%
String label = node.getEncodedResolvedLabel();
- if(node.getResolvedLabel().length() > 30) label =
EntityEncoder.encode(node.getResolvedLavel().substring(0,27) + "...");
+ if(node.getResolvedLabel().length() > 30) label =
EntityEncoder.encode(node.getResolvedLabel().substring(0,27) + "...");
if(node.getPageRef() != null) {
nodeURL.setNode(node);
nodeURL.setAjax(uicomponent.isUseAjax());