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

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


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


Index: view.tag
===================================================================
RCS file: /var/cvs/speeltuin/ernst/vpro-wizards/tagfiles/form/view.tag,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- view.tag    9 Jun 2008 18:29:49 -0000       1.2
+++ view.tag    23 Jun 2008 16:05:06 -0000      1.3
@@ -254,7 +254,7 @@
                                 <c:choose>
                                     <c:when test="${nodetype eq 'images'}">
                                         <util:image urlvar = "url" 
nodenr="${_nodenr}"/>
-                                        <util:image urlvar = "previewurl" 
nodenr="${_nodenr}" template="+s(40)+part(0x0x40x40)+s(!40x!40)"/>
+                                        <util:image urlvar = "previewurl" 
nodenr="${_nodenr}" template="s(50)"/>
                                         <a target="image" href="${url}">
                                             <img alt="gerelateerde afbeelding" 
src="${previewurl}" class="image" border="0" />
                                         </a>


Index: wizard.tag
===================================================================
RCS file: /var/cvs/speeltuin/ernst/vpro-wizards/tagfiles/form/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:49 -0000       1.2
+++ wizard.tag  23 Jun 2008 16:05:06 -0000      1.3
@@ -10,42 +10,46 @@
 <%@ 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"  %>
 
-<%--
+<mm:cloud jspvar="cloud" method="loginpage" 
loginpage="/mmbase/vpro-wizards/login.jsp" >
+    <mm:content expires="0" type="text/html" encoding="utf-8" language="nl" >
+    <%--
     Deze tag vormt de root van het hoofdformulier. De huidige pagina url wordt 
in een cookie gezet.
     De flush parameters worden in de request gezet
     De css en javascript wordt geinclude
 
 
---%>
+    --%>
 
-<%-- 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>
 
-<c:set var="name" scope="request">${name}</c:set>
-<c:set var="wizardfile" scope="request">${wizardfile}</c:set>
-<c:set var="nodenr" scope="request">
+    <c:set var="name" scope="request">${name}</c:set>
+    <c:set var="wizardfile" scope="request">${wizardfile}</c:set>
+    <c:set var="nodenr" scope="request">
     <c:choose>
         <c:when test="${not empty param.nodenr}">${param.nodenr}</c:when>
         <c:otherwise>${nodenr}</c:otherwise>
     </c:choose>
-</c:set>
+    </c:set>
 
-<%--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}"/>
 
-<c:if test="${not empty param.path_url}">
+    <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>
 
 
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd";>
-<mm:cloud jspvar="cloud" method="loginpage" 
loginpage="/mmbase/vpro-wizards/login.jsp" >
-    <mm:content expires="0" type="text/html" encoding="utf-8" >
+    <!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"/>
                 <link rel="stylesheet" type="text/css" 
href="${pageContext.request.contextPath}/mmbase/vpro-wizards/system/javascript/calendar/calendar.css">
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to