Author: kcardineaud Date: 2011-07-01 16:34:00 +0200 (Fri, 01 Jul 2011) New Revision: 155 Url: http://nuiton.org/repositories/revision/scmwebeditor/155 Log: Change a bad name in Save.jsp Modified: trunk/src/main/java/org/nuiton/scmwebeditor/actions/SaveAction.java trunk/src/main/webapp/Save.jsp Modified: trunk/src/main/java/org/nuiton/scmwebeditor/actions/SaveAction.java =================================================================== --- trunk/src/main/java/org/nuiton/scmwebeditor/actions/SaveAction.java 2011-07-01 14:18:01 UTC (rev 154) +++ trunk/src/main/java/org/nuiton/scmwebeditor/actions/SaveAction.java 2011-07-01 14:34:00 UTC (rev 155) @@ -60,6 +60,11 @@ return Action.SUCCESS; } + + /** + * Use to display a beautiful date in jsp + * @return + */ public String getFormatDate() { return date.toString(); } Modified: trunk/src/main/webapp/Save.jsp =================================================================== --- trunk/src/main/webapp/Save.jsp 2011-07-01 14:18:01 UTC (rev 154) +++ trunk/src/main/webapp/Save.jsp 2011-07-01 14:34:00 UTC (rev 155) @@ -10,8 +10,8 @@ <h4> Can't save modification </h4> </s:elseif> <s:elseif test="result=='uselessSave'" > - <h4> It's useless to save the file, it is not modify</h4> + <h4> It's useless to save the file, file is not modify</h4> </s:elseif> <s:else> - <h4>Last change save <s:property value="getFormatDate" /> </h4> + <h4>Last change save <s:property value="formatDate" /> </h4> </s:else> \ No newline at end of file