r201 - in trunk/chorem-webmotion/src/main: resources webapp/WEB-INF/jsp
Author: ymartel Date: 2012-07-02 12:03:29 +0200 (Mon, 02 Jul 2012) New Revision: 201 Url: http://chorem.org/repositories/revision/chorem/201 Log: add a hack for the form encoding :/ should be removed as soon as possible Modified: trunk/chorem-webmotion/src/main/resources/log4j.properties trunk/chorem-webmotion/src/main/webapp/WEB-INF/jsp/decorator.jsp trunk/chorem-webmotion/src/main/webapp/WEB-INF/jsp/edit.jsp Modified: trunk/chorem-webmotion/src/main/resources/log4j.properties =================================================================== --- trunk/chorem-webmotion/src/main/resources/log4j.properties 2012-07-01 13:38:56 UTC (rev 200) +++ trunk/chorem-webmotion/src/main/resources/log4j.properties 2012-07-02 10:03:29 UTC (rev 201) @@ -1,3 +1,25 @@ +### +# #%L +# Chorem webmotion +# $Id:$ +# $HeadURL:$ +# %% +# Copyright (C) 2011 - 2012 CodeLutin +# %% +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# #L% +### # Global logging configuration log4j.rootLogger=INFO, stdout, file Modified: trunk/chorem-webmotion/src/main/webapp/WEB-INF/jsp/decorator.jsp =================================================================== --- trunk/chorem-webmotion/src/main/webapp/WEB-INF/jsp/decorator.jsp 2012-07-01 13:38:56 UTC (rev 200) +++ trunk/chorem-webmotion/src/main/webapp/WEB-INF/jsp/decorator.jsp 2012-07-02 10:03:29 UTC (rev 201) @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #L% --%> -<%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <!DOCTYPE html> @@ -28,7 +28,7 @@ <html> <head> <title>Chorem</title> - <meta charset="utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <%-- JQuery --%> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> Modified: trunk/chorem-webmotion/src/main/webapp/WEB-INF/jsp/edit.jsp =================================================================== --- trunk/chorem-webmotion/src/main/webapp/WEB-INF/jsp/edit.jsp 2012-07-01 13:38:56 UTC (rev 200) +++ trunk/chorem-webmotion/src/main/webapp/WEB-INF/jsp/edit.jsp 2012-07-02 10:03:29 UTC (rev 201) @@ -25,7 +25,8 @@ <%@ taglib uri="/WEB-INF/wikitty.tld" prefix="w"%> <c:if test="${not empty wikitty}"> - <form class="form-inline" method="post" action="<c:url value="/wikitty/save"/>" enctype="multipart/form-data"> + <%//FIXME ymartel 2012/07/02 fix the need of iso accept charset ? %> + <form class="form-inline" method="post" accept-charset="ISO-8859-15" action="<c:url value="/wikitty/save"/>" enctype="multipart/form-data"> <input type="hidden" name="id" value="${wikitty.id}"/> <p> <button class="btn btn-success" type="submit"><i class="icon-ok icon-white"></i> Save</button>
participants (1)
-
ymartel@users.chorem.org