Author: agilliland
Date: Tue May 15 14:38:10 2007
New Revision: 538330
URL: http://svn.apache.org/viewvc?view=rev&rev=538330
Log:
adding our scriptaculous libs and autocomplete scripts to ajax header so that
they can be put in the head section of the document.
Modified:
roller/trunk/web/WEB-INF/jsps/tiles/struts2/head-ajax.jsp
Modified: roller/trunk/web/WEB-INF/jsps/tiles/struts2/head-ajax.jsp
URL:
http://svn.apache.org/viewvc/roller/trunk/web/WEB-INF/jsps/tiles/struts2/head-ajax.jsp?view=diff&rev=538330&r1=538329&r2=538330
==============================================================================
--- roller/trunk/web/WEB-INF/jsps/tiles/struts2/head-ajax.jsp (original)
+++ roller/trunk/web/WEB-INF/jsps/tiles/struts2/head-ajax.jsp Tue May 15
14:38:10 2007
@@ -17,7 +17,7 @@
href="<%= request.getContextPath() %>/roller-ui/theme/<s:property
value="getProp('editor.theme')"/>/colors.css" />
<script type="text/javascript"
- src="<%= request.getContextPath() %>/theme/scripts/roller.js"></script>
+ src="<s:url value="/theme/scripts/roller.js"/>"></script>
<script type="text/javascript"
src='<s:url value="/roller-ui/scripts/calendar.js"/>'></script>
<script type="text/javascript"
@@ -25,4 +25,7 @@
<!-- overLIB (c) Erik Bosrup -->
</script>
-<s:head theme="ajax"/>
\ No newline at end of file
+<s:head theme="ajax"/>
+<script type="text/javascript" src="<s:url
value="/roller-ui/scripts/scriptaculous/prototype.js"/>" ></script>
+<script type="text/javascript" src="<s:url
value="/roller-ui/scripts/scriptaculous/scriptaculous.js"/>" ></script>
+<script type="text/javascript" src="<s:url
value="/roller-ui/scripts/roller-autocomplete.js"/>" ></script>
\ No newline at end of file