[seam-commits] Seam SVN: r8614 - trunk/src/mail/org/jboss/seam/mail/ui.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Aug 6 13:47:50 EDT 2008


Author: norman.richards at jboss.com
Date: 2008-08-06 13:47:50 -0400 (Wed, 06 Aug 2008)
New Revision: 8614

Modified:
   trunk/src/mail/org/jboss/seam/mail/ui/UIAttachment.java
Log:
JBSEAM-3220

Modified: trunk/src/mail/org/jboss/seam/mail/ui/UIAttachment.java
===================================================================
--- trunk/src/mail/org/jboss/seam/mail/ui/UIAttachment.java	2008-08-06 17:42:13 UTC (rev 8613)
+++ trunk/src/mail/org/jboss/seam/mail/ui/UIAttachment.java	2008-08-06 17:47:50 UTC (rev 8614)
@@ -126,7 +126,7 @@
             InputStream is = (InputStream) getValue();
             ds = new ByteArrayDataSource(is, getContentType());
          }
-         else if (Reflections.isInstanceOf(getValue().getClass(), "org.jboss.seam.pdf.DocumentData"))
+         else if (Reflections.isInstanceOf(getValue().getClass(), "org.jboss.seam.document.DocumentData"))
          {
             Method dataGetter = Reflections.getGetterMethod(getValue().getClass(), "data");
             Method docTypeGetter = Reflections.getGetterMethod(getValue().getClass(), "documentType");




More information about the seam-commits mailing list