Author: bpoussin Date: 2011-05-30 12:58:46 +0200 (Mon, 30 May 2011) New Revision: 72 Url: http://chorem.org/repositories/revision/vradi/72 Log: suppression de l'include d'un script jquery completement incompatible avec le plugin struts-jquery (le plugin ne fonctionne plus) Et surtout quelle est l'interet de cet include alors qu'on a le plugin ? Modified: trunk/vradi-web/src/main/webapp/WEB-INF/jsp/decorators/main.jsp Modified: trunk/vradi-web/src/main/webapp/WEB-INF/jsp/decorators/main.jsp =================================================================== --- trunk/vradi-web/src/main/webapp/WEB-INF/jsp/decorators/main.jsp 2011-05-30 10:49:57 UTC (rev 71) +++ trunk/vradi-web/src/main/webapp/WEB-INF/jsp/decorators/main.jsp 2011-05-30 10:58:46 UTC (rev 72) @@ -1,7 +1,11 @@ <%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> + <%@taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %> <%@taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page" %> + <%@taglib prefix="s" uri="/struts-tags" %> +<%@taglib prefix="sj" uri="/struts-jquery-tags"%> + <html xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" xmlns:jsp="http://java.sun.com/JSP/Page" @@ -9,11 +13,20 @@ <head> <title>Vradi web : <decorator:title default="Vradi web" /></title> <decorator:head /> +<%-- + XXX poussin 20110530 met-on ces entete dans le template ou sur chaque page ? + <s:head/> + <sj:head jquerytheme="sunny"/> +--%> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <s:url var="globalCSS" value="/css/global.css" /> <link href="${globalCSS}" rel="stylesheet" type="text/css" media="all" /> +<%-- + XXX poussin 20110530 qu'elle est l'interet de ce script ??? Surtout qu'il fait planter le plugin jquery :( + <s:url var="jqueryJS" value="/js/jquery-1.6.1.js" /> <script type="text/javascript" src="${jqueryJS}"></script> +--%> </head> <body id="page-home"> <div id="wrap">