Author: bpapez
Date: Tue Sep 25 17:36:08 2007
New Revision: 15

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D15&repname=3D=
doc_templates
Log:
Fix some HTTP and Javascript errors

Added:
    trunk/src/jsp/common/img/arrow.gif   (with props)
    trunk/src/jsp/common/img/arrow2.gif   (with props)
    trunk/src/jsp/common/img/arrow2_left.gif   (with props)
    trunk/src/jsp/common/img/arrow3.gif   (with props)
    trunk/src/jsp/common/img/arrow3_left.gif   (with props)
    trunk/src/jsp/common/img/arrow4.gif   (with props)
    trunk/src/jsp/common/img/arrow5.gif   (with props)
    trunk/src/jsp/common/img/arrow6.gif   (with props)
    trunk/src/jsp/common/img/arrow7.gif   (with props)
    trunk/src/jsp/common/img/arrow_left.gif   (with props)
    trunk/src/jsp/common/img/nav.gif   (with props)
    trunk/src/jsp/common/img/nav_bottom.gif   (with props)
    trunk/src/jsp/common/img/nav_top.gif   (with props)
Modified:
    trunk/src/jsp/chapter1/el-jstl/declarations_el-jstl.inc
    trunk/src/jsp/chapter1/scriptlet/declarations_scriptlet.inc
    trunk/src/jsp/chapter1/taglib/declarations.inc

Modified: trunk/src/jsp/chapter1/el-jstl/declarations_el-jstl.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/src/jsp/chapter=
1/el-jstl/declarations_el-jstl.inc&rev=3D15&repname=3Ddoc_templates
=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/chapter1/el-jstl/declarations_el-jstl.inc (original)
+++ trunk/src/jsp/chapter1/el-jstl/declarations_el-jstl.inc Tue Sep 25 17:3=
6:08 2007
@@ -2,6 +2,7 @@
 <%@ page import=3D"java.lang.*"%>
 <%@ page import=3D"java.util.*" %>
 <%@ page import=3D"org.apache.log4j.Logger"%>
+<%@ page import=3D"org.jahia.bin.Jahia"%>
 <%@ page import=3D"org.jahia.content.*" %>
 <%@ page import=3D"org.jahia.data.*" %>
 <%@ page import=3D"org.jahia.data.beans.*" %>
@@ -22,6 +23,24 @@
 <%@ taglib uri=3D"jahiaHtmlLib" prefix=3D"jahiaHtml" %>
 <%@ taglib uri=3D"contentLib" prefix=3D"content" %>
 =

+<script language=3D"javascript1.2" type=3D"text/javascript">
+<!--
+function readCookie(name)
+{
+       var nameEQ =3D name + "=3D";
+       var ca =3D document.cookie.split(';');
+       for(var i=3D0;i < ca.length;i++)
+       {
+               var c =3D ca[i];
+               while (c.charAt(0)=3D=3D' ') c =3D c.substring(1,c.length);
+               if (c.indexOf(nameEQ) =3D=3D 0) return 
c.substring(nameEQ.length,c.lengt=
h);
+       }
+       //alert('A cookie was not set. '+name+'. Please ensure that your 
browser =
accepts cookies.');
+       return "Username";
+}
+ -->
+</script>
+
 <fmt:setBundle basename=3D"jahiatemplates.Doc_templates"/>
 =

 <%
@@ -43,4 +62,6 @@
 resBundleDef.append(" resbundle=3Djahiatemplates.Doc_templates>");
 ServicesRegistry.getInstance().getResourceBundleService()
   .declareResourceBundleDefinition(resBundleID,"jahiatemplates.Doc_templat=
es");
+
+String jahiaReleaseId =3D Jahia.getSettings().getPropertiesFile().getPrope=
rty("release");
 %>

Modified: trunk/src/jsp/chapter1/scriptlet/declarations_scriptlet.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/src/jsp/chapter=
1/scriptlet/declarations_scriptlet.inc&rev=3D15&repname=3Ddoc_templates
=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/chapter1/scriptlet/declarations_scriptlet.inc (original)
+++ trunk/src/jsp/chapter1/scriptlet/declarations_scriptlet.inc Tue Sep 25 =
17:36:08 2007
@@ -2,6 +2,7 @@
 <%@ page import=3D"java.lang.*"%>
 <%@ page import=3D"java.util.*" %>
 <%@ page import=3D"org.apache.log4j.Logger"%>
+<%@ page import=3D"org.jahia.bin.Jahia"%>
 <%@ page import=3D"org.jahia.content.*" %>
 <%@ page import=3D"org.jahia.data.*" %>
 <%@ page import=3D"org.jahia.data.beans.*" %>
@@ -16,6 +17,24 @@
 <%@ page import=3D"org.jahia.services.usermanager.*" %>
 <%@ page import=3D"org.jahia.services.version.*" %>
 =

+<script language=3D"javascript1.2" type=3D"text/javascript">
+<!--
+function readCookie(name)
+{
+       var nameEQ =3D name + "=3D";
+       var ca =3D document.cookie.split(';');
+       for(var i=3D0;i < ca.length;i++)
+       {
+               var c =3D ca[i];
+               while (c.charAt(0)=3D=3D' ') c =3D c.substring(1,c.length);
+               if (c.indexOf(nameEQ) =3D=3D 0) return 
c.substring(nameEQ.length,c.lengt=
h);
+       }
+       //alert('A cookie was not set. '+name+'. Please ensure that your 
browser =
accepts cookies.');
+       return "Username";
+}
+ -->
+</script>
+
 <%
 Logger logger =3D Logger.getLogger(getClass());
 JahiaData jData =3D (JahiaData) request.getAttribute( "org.jahia.data.Jahi=
aData" );
@@ -36,4 +55,6 @@
 resBundleDef.append(" resbundle=3Djahiatemplates.Doc_templates>");
 ServicesRegistry.getInstance().getResourceBundleService()
   .declareResourceBundleDefinition(resBundleID,"jahiatemplates.Doc_templat=
es");
+
+String jahiaReleaseId =3D Jahia.getSettings().getPropertiesFile().getPrope=
rty("release");
 %>
\ No newline at end of file

Modified: trunk/src/jsp/chapter1/taglib/declarations.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/src/jsp/chapter=
1/taglib/declarations.inc&rev=3D15&repname=3Ddoc_templates
=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/chapter1/taglib/declarations.inc (original)
+++ trunk/src/jsp/chapter1/taglib/declarations.inc Tue Sep 25 17:36:08 2007
@@ -2,6 +2,7 @@
 <%@ page import=3D"java.lang.*"%>
 <%@ page import=3D"java.util.*" %>
 <%@ page import=3D"org.apache.log4j.Logger"%>
+<%@ page import=3D"org.jahia.bin.Jahia"%>
 <%@ page import=3D"org.jahia.content.*" %>
 <%@ page import=3D"org.jahia.data.*" %>
 <%@ page import=3D"org.jahia.data.beans.*" %>
@@ -25,6 +26,24 @@
 =

 <fmt:setBundle basename=3D"jahiatemplates.Doc_templates"/>
 =

+<script language=3D"javascript1.2" type=3D"text/javascript">
+<!--
+function readCookie(name)
+{
+       var nameEQ =3D name + "=3D";
+       var ca =3D document.cookie.split(';');
+       for(var i=3D0;i < ca.length;i++)
+       {
+               var c =3D ca[i];
+               while (c.charAt(0)=3D=3D' ') c =3D c.substring(1,c.length);
+               if (c.indexOf(nameEQ) =3D=3D 0) return 
c.substring(nameEQ.length,c.lengt=
h);
+       }
+       //alert('A cookie was not set. '+name+'. Please ensure that your 
browser =
accepts cookies.');
+       return "Username";
+}
+ -->
+</script>
+
 <%
 Logger logger =3D Logger.getLogger(getClass());
 JahiaData jData =3D (JahiaData) request.getAttribute( "org.jahia.data.Jahi=
aData" );
@@ -44,4 +63,6 @@
 resBundleDef.append(" resbundle=3Djahiatemplates.Doc_templates>");
 ServicesRegistry.getInstance().getResourceBundleService()
   .declareResourceBundleDefinition(resBundleID,"jahiatemplates.Doc_templat=
es");
-%>
+
+String jahiaReleaseId =3D Jahia.getSettings().getPropertiesFile().getPrope=
rty("release");
+%>
\ No newline at end of file

Added: trunk/src/jsp/common/img/arrow.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/arrow2.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow2.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/arrow2_left.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow2_left.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/arrow3.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow3.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/arrow3_left.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow3_left.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/arrow4.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow4.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/arrow5.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow5.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/arrow6.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow6.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/arrow7.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow7.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/arrow_left.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/arrow_left.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/nav.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/nav.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/nav_bottom.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/nav_bottom.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

Added: trunk/src/jsp/common/img/nav_top.gif
URL: https://svndev.jahia.net/websvn/filedetails.php?path=3D/trunk/src/jsp/=
common/img/nav_top.gif&rev=3D15&repname=3Ddoc_templates
=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
Binary file - no diff available.

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to