[JBoss Seam] - pdf/DocumentStore documentation
by eric_bmx
I believe http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/itext.htm may be somewhat out of date.
In section 16.8.1 the web.xml entries do not work for me in 2.0 GA.
anonymous wrote :
|
| <filter-name>Seam Servlet Filter</filter-name>
| <filter-class>org.jboss.seam.servlet.SeamServletFilter</filter-class>
|
|
| <filter-mapping>
| <filter-name>Seam Servlet Filter</filter-name>
| <url-pattern>*.pdf</url-pattern>
| </filter-mapping>
|
|
| <servlet-name>Document Store Servlet</servlet-name>
| <servlet-class>org.jboss.seam.pdf.DocumentStoreServlet</servlet-class>
|
|
| <servlet-mapping>
| <servlet-name>Document Store Servlet</servlet-name>
| <url-pattern>*.pdf</url-pattern>
| </servlet-mapping>
|
should perhaps be replaced with
anonymous wrote :
|
| <servlet-name>Document Store Servlet</servlet-name>
| <servlet-class>org.jboss.seam.pdf.DocumentStoreServlet</servlet-class>
|
|
| <servlet-mapping>
| <servlet-name>Document Store Servlet</servlet-name>
| <url-pattern>*.pdf</url-pattern>
| </servlet-mapping>
|
The itext example project was updated, but it seems the documentation was missed.
Also, it may be helpful to indicate in section 16.1 that jcommon.jar and jfreechart.jar also seem to be necessary for itext.
Should this kind of thing be entered in JIRA?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112318#4112318
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112318
18 years, 4 months
[JBoss jBPM] - Process Deployment Issue
by ebsjwj
I get a stack trace trying to deploy. I am not using the All_in_One Jboss Jbpm server, just a normal 4.20 JBoss server. The main error is:
org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1494)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1428)
at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)
with a nested exception of:
Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1484)
Does anybody have any ideas ? Any and all ideas are appreciated.
Thanks,
Jim
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112307#4112307
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112307
18 years, 4 months
[JBoss Seam] - Duplicate calls to functions
by german.castro
I have al tree:
| <rich:tree switchType="ajax"
| ajaxSubmitSelection="true"
| preserveModel="request"
| style="width:300px" value="#{bean.tree}" var="item"
| nodeFace="#{item.type}">
| <rich:treeNode type="client" icon="img/clientIcon.png" iconLeaf="img/clientIcon.png">
| <h:outputText value="#{item.client.name}"/>
| </rich:treeNode>
| <rich:treeNode type="local" icon="img/localIcon.png" iconLeaf="img/localIcon.png" >
| <s:link value="#{item.local.name}" view="/areaSelect.xhtml" target="selectFrame"/>
| </rich:treeNode>
| <rich:treeNode type="area" icon="img/areaIcon.png" iconLeaf="img/areaIcon.png">
| <s:link value="#{item.area.name}" view="/indSelect.xhtml" target="selectFrame"/>
| </rich:treeNode>
| </rich:tree>
|
The bean.tree function always return the whole tree.
When i see the tree page and when i open a tree node, seam calls more than one time the function bean.tree
Some times the this do 2 calls, and other times do MANY calls, depends of tree attributes. But always the function is called more than one time.
Somebody can explain me why?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112299#4112299
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112299
18 years, 4 months