Update of /var/cvs/speeltuin/ernst/vpro-wizards/tagfiles/list
In directory 
james.mmbase.org:/tmp/cvs-serv16441/applications/vpro-wizards/tagfiles/list

Modified Files:
        wizard.tag 
Log Message:
work in progress


See also: 
http://cvs.mmbase.org/viewcvs/speeltuin/ernst/vpro-wizards/tagfiles/list


Index: wizard.tag
===================================================================
RCS file: /var/cvs/speeltuin/ernst/vpro-wizards/tagfiles/list/wizard.tag,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- wizard.tag  9 Jun 2008 18:29:48 -0000       1.2
+++ wizard.tag  23 Jun 2008 16:05:05 -0000      1.3
@@ -7,34 +7,35 @@
 <%@ attribute name="noreferrer" type="java.lang.Boolean" description="by 
default a referer cookie is set to indicate the current page, and it is used by 
other pages to return to it. if you include an editor, you may not want to set 
this here"%>
 <%@ attribute name="header" fragment="true" description="include some stuff in 
the html header element"  %>
 
-<%-- add the parameters that must be passed on with every url in this 
wizard--%>
-<%--
---%>
-<c:if test="${not empty param.nodenr}">
+<mm:content expires="0" type="text/html"  encoding="utf-8" language="nl">
+    <mm:cloud jspvar="cloud" method="loginpage" 
loginpage="/mmbase/vpro-wizards/login.jsp">
+    <%-- add the parameters that must be passed on with every url in this 
wizard--%>
+    <c:if test="${not empty param.nodenr}">
     <util:addParam name="nodenr" parameter="nodenr"/>
-</c:if>
+    </c:if>
 
 
 
-<%-- set the current url in the referrer cookie--%>
-<c:if test="${empty noreferrer}">
+    <%-- set the current url in the referrer cookie--%>
+    <c:if test="${empty noreferrer}">
     <util:setreferrer/>
-</c:if>
+    </c:if>
 
-<%--if flushname is not set, perhaps there is a parameter--%>
-<util:flushname  value="${flushname}"/>
+    <%--if flushname is not set, perhaps there is a parameter--%>
+    <util:flushname  value="${flushname}"/>
 
-<%--TODO: depricated. is replaced by util:...params tags.--%>
-<c:if test="${not empty param.path_url}">
+    <%--TODO: depricated. is replaced by util:...params tags.--%>
+    <c:if test="${not empty param.path_url}">
     <c:set var="params" 
scope="request">&path_url=${param.path_url}&path_name=${param.path_name}</c:set>
-</c:if>
+    </c:if>
 
-<mm:content expires="0" type="text/html"  encoding="utf-8">
-    <mm:cloud jspvar="cloud" method="loginpage" 
loginpage="/mmbase/vpro-wizards/login.jsp">
     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd";>
         <html>
         <head>
             <title>${title}</title>
+            <script language="javascript">
+                var contextPath = '${pageContext.request.contextPath}';
+            </script>
             <link rel="stylesheet" type="text/css" 
href="${pageContext.request.contextPath}/mmbase/vpro-wizards/stylesheets/edit.css"/>
             <script type="text/javascript" 
src="${pageContext.request.contextPath}/mmbase/vpro-wizards/system/javascript/javascript.js"></script>
             <script type="text/javascript" 
src="${pageContext.request.contextPath}/mmbase/vpro-wizards/system/javascript/jquery/jquery.js"></script>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to