Author: rfelden
Date: Fri Feb 15 17:51:58 2008
New Revision: 95
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D95&repname=3D=
corporate_portal_templates_v3
Log:
Action menus in GWT
Sitemap in GWT (draft)
Modified:
trunk/src/jsp/common/header.jspf
trunk/src/jsp/sitemap.jsp
Modified: trunk/src/jsp/common/header.jspf
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/src/jsp/common/=
header.jspf&rev=3D95&repname=3Dcorporate_portal_templates_v3
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/src/jsp/common/header.jspf (original)
+++ trunk/src/jsp/common/header.jspf Fri Feb 15 17:51:58 2008
@@ -22,7 +22,8 @@
--%>
<html xmlns=3D"http://www.w3.org/1999/xhtml">
<head>
- <content:JSTools/> =
+ <content:JSTools/>
+ <%@ include file=3D"/jsp/jahia/javascript/serverconfig_js.inc"%>
<%@ include file=3D"site_settings.jspf" %>
<title><jahia:currentPageTitle/><c:if test=3D"${!empty titlePrefix}"> =
- <c:out value=3D"${titlePrefix}"
=
escapeXml=3D"false"/></c:if></title>
@@ -49,6 +50,10 @@
<link href=3D"<content:contextURL/>/shared/css/editMode.css" rel=3D"st=
ylesheet" type=3D"text/css"/>
<%}%>
<%}%>
+ <!-- This is the init tag for GWT -->
+ <!-- ajax:gwt-init shoudl have been called already -->
+ <!-- This enables GWT action menus -->
+ <ajax:gwt-import
module=3D"org.jahia.ajax.gwt.actionmenus.ActionMenuMana=
ger" />
<!-- The tag will only output something, if the servlet path ends with=
"sitemap.jsp" -->
<ajax:zimbraInclude templateUsage=3D"true"/>
</head>
Modified: trunk/src/jsp/sitemap.jsp
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/src/jsp/sitemap=
.jsp&rev=3D95&repname=3Dcorporate_portal_templates_v3
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/src/jsp/sitemap.jsp (original)
+++ trunk/src/jsp/sitemap.jsp Fri Feb 15 17:51:58 2008
@@ -21,11 +21,7 @@
<div id=3D"column-left"> </div>
<div id=3D"column-main">
<div id=3D"content">
- <%
- final JahiaData jData =3D (JahiaData) request.getAttribute=
("org.jahia.data.JahiaData");
- final String entryPoint =3D jData.getProcessingContext().g=
etSite().getHomeContentPage().getObjectKey().toString(); %>
- <ajax:complexTreeInclude divID=3D"tree1" style=3D"<%=3DComplex=
TreeInclude.SITEMAP_STYLE%>" title=3D"Site Map"
- entryPointKey=3D"<%=3DentryPoint%>"/>
+ <jahia-components:sitemap ajax=3D"true" />
</div>
</div>
<div id=3D"main-bottom"></div>
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list