Update of /var/cvs/html/mmbase/validation In directory james.mmbase.org:/tmp/cvs-serv25947
Modified Files: Tag: MMBase-1_8 javascript.jspxf Log Message: made use of generic jquery include See also: http://cvs.mmbase.org/viewcvs/html/mmbase/validation Index: javascript.jspxf =================================================================== RCS file: /var/cvs/html/mmbase/validation/javascript.jspxf,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -b -r1.1.2.3 -r1.1.2.4 --- javascript.jspxf 28 Mar 2008 16:51:18 -0000 1.1.2.3 +++ javascript.jspxf 30 Jun 2008 10:02:28 -0000 1.1.2.4 @@ -2,10 +2,14 @@ version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0" > - <mm:link page="/mmbase/jquery/jquery-1.2.3.min.js"> - <script src="${_}"><!-- Help IE --></script> - </mm:link> + <jsp:directive.include file="/mmbase/jquery/jquery.jspx" /> + <mm:context> + <mm:import id="javascript" from="request" externid="org.mmbase.javascript" /> + <mm:notpresent referid="javascript"> <mm:link page="/mmbase/validation/validation.js.jsp"> <script src="${_}"><!-- Help IE --></script> </mm:link> + <mm:write session="org.mmbase.javasscript" value="yes" /> + </mm:notpresent> + </mm:context> </jsp:root> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs