[Yanel-commits] rev 48134 - public/yanel/trunk/src/resources/tinymce/htdocs

michi at wyona.com michi at wyona.com
Tue Mar 16 15:19:07 CET 2010


Author: michi
Date: 2010-03-16 15:19:07 +0100 (Tue, 16 Mar 2010)
New Revision: 48134

Modified:
   public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-fix.jelly
   public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-status.jelly
   public/yanel/trunk/src/resources/tinymce/htdocs/tinymce.jelly
Log:
error handling improved re length of message

Modified: public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-fix.jelly
===================================================================
--- public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-fix.jelly	2010-03-16 13:55:16 UTC (rev 48133)
+++ public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-fix.jelly	2010-03-16 14:19:07 UTC (rev 48134)
@@ -6,7 +6,7 @@
 
     </head>
     <body>
-      <j:if test="${resource.getErrorMessages() != null}">
+      <j:if test="${resource.getErrorMessages() != null &amp;&amp; resource.getErrorMessages().length() > 0}">
         <p class="yanel-usecase-error"><span style="color: red;">Exception:</span> ${resource.getErrorMessages()}</p>
       </j:if>
       <j:if test="${resource.getInfoMessages() != null &amp;&amp; resource.getInfoMessages().length() > 0}">

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:55:16 UTC (rev 48133)
+++ public/yanel/trunk/src/resources/tinymce/htdocs/tinymce-status.jelly	2010-03-16 14:19:07 UTC (rev 48134)
@@ -5,7 +5,7 @@
     <title>TinyMCE</title>
     </head>
     <body>
-      <j:if test="${resource.getErrorMessages() != null}">
+      <j:if test="${resource.getErrorMessages() != null &amp;&amp; resource.getErrorMessages().length() > 0}">
         <p class="yanel-usecase-error"><span style="color: red;">Exception:</span> ${resource.getErrorMessages()}</p>
       </j:if>
       <j:if test="${resource.getInfoMessages() != null &amp;&amp; resource.getInfoMessages().length() > 0}">

Modified: public/yanel/trunk/src/resources/tinymce/htdocs/tinymce.jelly
===================================================================
--- public/yanel/trunk/src/resources/tinymce/htdocs/tinymce.jelly	2010-03-16 13:55:16 UTC (rev 48133)
+++ public/yanel/trunk/src/resources/tinymce/htdocs/tinymce.jelly	2010-03-16 14:19:07 UTC (rev 48134)
@@ -14,7 +14,7 @@
       <j:if test="${resource.getInfoMessages() != null &amp;&amp; resource.getInfoMessages().length() > 0}">
         <p>Info: ${resource.getInfoMessages()}</p>
       </j:if>
-      <j:if test="${resource.getErrorMessages() != null}">
+      <j:if test="${resource.getErrorMessages() != null &amp;&amp; resource.getErrorMessages().length() > 0}">
         <p class="yanel-usecase-error"><span style="color: red;">Exception:</span> ${resource.getErrorMessages()}</p>
       </j:if>
       <j:choose>



More information about the Yanel-commits mailing list