[seam-commits] Seam SVN: r8631 - trunk/src/excel/org/jboss/seam/excel/jxl.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Aug 8 04:28:16 EDT 2008
Author: nickarls
Date: 2008-08-08 04:28:15 -0400 (Fri, 08 Aug 2008)
New Revision: 8631
Modified:
trunk/src/excel/org/jboss/seam/excel/jxl/JXLTemplates.java
Log:
JBSEAM-3235 : Remove missing template WARN when using datatable exporter. log level stays same but only warns when in xhtml-mode usage.
Modified: trunk/src/excel/org/jboss/seam/excel/jxl/JXLTemplates.java
===================================================================
--- trunk/src/excel/org/jboss/seam/excel/jxl/JXLTemplates.java 2008-08-08 08:12:12 UTC (rev 8630)
+++ trunk/src/excel/org/jboss/seam/excel/jxl/JXLTemplates.java 2008-08-08 08:28:15 UTC (rev 8631)
@@ -207,7 +207,9 @@
if (cellTemplate == null)
{
String validNames = getValidTemplateNames(cellTemplates.keySet());
- log.trace(Interpolator.instance().interpolate("Could not find cell template {0}, try {1}", templateName, validNames));
+ if (!"".equals(validNames)) {
+ log.warn(Interpolator.instance().interpolate("Could not find cell template {0}, try {1}", templateName, validNames));
+ }
}
else
{
More information about the seam-commits
mailing list