[seam-commits] Seam SVN: r8590 - in trunk/examples/itext: src/org/jboss/seam/example/pdf/test and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Aug 5 15:07:34 EDT 2008
Author: norman.richards at jboss.com
Date: 2008-08-05 15:07:33 -0400 (Tue, 05 Aug 2008)
New Revision: 8590
Modified:
trunk/examples/itext/resources/WEB-INF/components.xml
trunk/examples/itext/resources/WEB-INF/web.xml
trunk/examples/itext/src/org/jboss/seam/example/pdf/test/DocumentTests.java
Log:
JBSEAM-3220
Modified: trunk/examples/itext/resources/WEB-INF/components.xml
===================================================================
--- trunk/examples/itext/resources/WEB-INF/components.xml 2008-08-05 19:05:20 UTC (rev 8589)
+++ trunk/examples/itext/resources/WEB-INF/components.xml 2008-08-05 19:07:33 UTC (rev 8590)
@@ -8,7 +8,10 @@
http://jboss.com/products/seam/pdf http://jboss.com/products/seam/pdf-2.1.xsd
http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.1.xsd">
- <pdf:document-store use-extensions="true" error-page="/pdfMissing.seam" />
+ <component name="org.jboss.seam.document.documentStore">
+ <property name="useExtensions">true</property>
+ <property name="errorPage">/pdfMissing.seam</property>
+ </component>
<pdf:key-store-config key-store="pdf.keystore"
key-store-password="storepass"
Modified: trunk/examples/itext/resources/WEB-INF/web.xml
===================================================================
--- trunk/examples/itext/resources/WEB-INF/web.xml 2008-08-05 19:05:20 UTC (rev 8589)
+++ trunk/examples/itext/resources/WEB-INF/web.xml 2008-08-05 19:07:33 UTC (rev 8590)
@@ -72,7 +72,7 @@
<servlet>
<servlet-name>Document Store Servlet</servlet-name>
- <servlet-class>org.jboss.seam.pdf.DocumentStoreServlet</servlet-class>
+ <servlet-class>org.jboss.seam.document.DocumentStoreServlet</servlet-class>
</servlet>
<servlet-mapping>
Modified: trunk/examples/itext/src/org/jboss/seam/example/pdf/test/DocumentTests.java
===================================================================
--- trunk/examples/itext/src/org/jboss/seam/example/pdf/test/DocumentTests.java 2008-08-05 19:05:20 UTC (rev 8589)
+++ trunk/examples/itext/src/org/jboss/seam/example/pdf/test/DocumentTests.java 2008-08-05 19:07:33 UTC (rev 8590)
@@ -3,8 +3,8 @@
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.core.Conversation;
import org.jboss.seam.mock.SeamTest;
-import org.jboss.seam.pdf.DocumentData;
-import org.jboss.seam.pdf.DocumentStore;
+import org.jboss.seam.document.DocumentData;
+import org.jboss.seam.document.DocumentStore;
import org.jboss.seam.pdf.ui.UIDocument;
import org.testng.annotations.Test;
@@ -26,7 +26,7 @@
protected void invokeApplication() throws Exception {
Conversation.instance().begin();
- DocumentStore store = (DocumentStore) getValue("#{org.jboss.seam.pdf.documentStore}");
+ DocumentStore store = (DocumentStore) getValue("#{org.jboss.seam.document.documentStore}");
String docId = store.newId();
Contexts.getSessionContext().set("docId", docId);
More information about the seam-commits
mailing list