[Yanel-commits] rev 48130 -
public/yanel/trunk/src/resources/tinymce/htdocs
michi at wyona.com
michi at wyona.com
Tue Mar 16 14:43:57 CET 2010
Author: michi
Date: 2010-03-16 14:43:57 +0100 (Tue, 16 Mar 2010)
New Revision: 48130
Modified:
public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-status.jelly
Log:
error and info handling improved
Modified: public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-status.jelly
===================================================================
--- public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-status.jelly 2010-03-16 13:38:15 UTC (rev 48129)
+++ public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-status.jelly 2010-03-16 13:43:57 UTC (rev 48130)
@@ -5,11 +5,15 @@
<title>TinyMCE</title>
</head>
<body>
- <p class="yanel-usecase-error">${resource.getErrorMessages()}</p>
- <p>${resource.getInfoMessages()}</p>
+ <j:if test="${resource.getErrorMessages() != null}">
+ <p class="yanel-usecase-error"><span style="color: red;">Exception:</span> ${resource.getErrorMessages()}</p>
+ </j:if>
+ <j:if test="${resource.getInfoMessages() != null && resource.getInfoMessages().length() > 0}">
+ <p>Info: ${resource.getInfoMessages()}</p>
+ </j:if>
<form action="">
<input type="button" name="finish" value="Finish" onclick="window.location.href='${resource.getParameterAsString('continue-path')}'"/>
</form>
</body>
</html>
-</j:jelly>
\ No newline at end of file
+</j:jelly>
More information about the Yanel-commits
mailing list