Author: bdaw
Date: 2011-09-29 20:36:24 -0400 (Thu, 29 Sep 2011)
New Revision: 7569
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl
Log:
JBEPP-1194 Typo in UIPortalNavigation.gtmpl
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 2011-09-30
00:34:17 UTC (rev 7568)
+++
epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/portal/webui/component/UIPortalNavigation.gtmpl 2011-09-30
00:36:24 UTC (rev 7569)
@@ -1,4 +1,4 @@
-<%
+<%
import org.exoplatform.portal.mop.user.UserNode;
import org.exoplatform.web.application.JavascriptManager;
import org.exoplatform.portal.webui.util.Util;
@@ -6,10 +6,10 @@
import javax.portlet.MimeResponse;
import org.exoplatform.portal.application.PortalRequestContext;
import org.exoplatform.web.url.PortalURL;
- import org.exoplatform.web.url.navigation.NavigationResource;
-
- def rcontext = _ctx.getRequestContext();
- JavascriptManager jsmanager = rcontext.getJavascriptManager();
+ import org.exoplatform.web.url.navigation.NavigationResource;
+
+ def rcontext = _ctx.getRequestContext();
+ JavascriptManager jsmanager = rcontext.getJavascriptManager();
jsmanager.importJavascript('eXo.webui.UIHorizontalTabs');
jsmanager.importJavascript('eXo.portal.UIPortalNavigation');
jsmanager.addOnLoadJavascript('eXo.portal.UIPortalNavigation.onLoad');
@@ -20,14 +20,14 @@
PortalURL nodeURL = nodeurl();
public void renderChildrenContainer(UserNode node, PortalURL nodeURL) {
- print """
+ print """
<ul class="MenuItemContainer " style="display: none;">
""";
for(child in node.getChildren()) {
renderChildNode(child, nodeURL);
}
- print """
- </ul>
+ print """
+ </ul>
""";
}
@@ -63,8 +63,8 @@
nodeURL.setAjax(uicomponent.isUseAjax());
actionLink = nodeURL.toString();
}
- print """
- <li class="MenuItem $tabStyleNavigation $arrowIcon"
title="$title" $getNodeURL>
+ print """
+ <li class="MenuItem $tabStyleNavigation $arrowIcon"
title="$title" $getNodeURL>
<a class="ItemIcon $icon"
href="$actionLink">$label</a>
""";
@@ -83,7 +83,7 @@
if(rootNodes != null) {
for(nav in rootNodes) {
def childs = nav.getChildren();
- for(Node node in childs) {
+ for(UserNode node in childs) {
String tabStyleNavigation = "NormalNavigationTab";
if(selectedNode != null && node.getId() == selectedNode.getId()) {
tabStyleNavigation = "SelectedNavigationTab";
@@ -92,10 +92,10 @@
if (node.getChildrenCount() > 0) {
javax.portlet.ResourceURL resourceURL = res.createResourceURL();
resourceURL.setResourceID(res.encodeURL(node.getURI()));
- %>
+ %>
<li class="UITab $tabStyleNavigation"
exo:getNodeURL="<%=resourceURL.toString() %>">
<% } else { %>
- <li class="UITab $tabStyleNavigation">
+ <li class="UITab $tabStyleNavigation">
<% }
String arrowIcon = "";
if (node.getChildrenCount() > 0) {
@@ -130,8 +130,8 @@
}
}
%>
- <li class="ScrollButtons">
- <a title="<%= _ctx.appRes("UIPortalNavigation.Label.Previous")
%>" class="ScrollLeftButton"></a>
- <a title="<%= _ctx.appRes("UIPortalNavigation.Label.Next")
%>" class="ScrollRightButton"></a>
- </li>
+ <li class="ScrollButtons">
+ <a title="<%= _ctx.appRes("UIPortalNavigation.Label.Previous")
%>" class="ScrollLeftButton"></a>
+ <a title="<%= _ctx.appRes("UIPortalNavigation.Label.Next")
%>" class="ScrollRightButton"></a>
+ </li>
</ul>
Show replies by date