[JBoss jBPM] - Re: How hard to create visual representation of the relation
by alex.guizar@jboss.com
I'd go for (3). The API you are looking for is org.jbpm.jpdl.xml.JpdlXmlWriter. The problem is, this class is deprecated because there is no real need for it. You might as well build a DOM tree instead of a process definition object.
Here is a first attempt at the algorithm for your program:
For each process definition p:
Look for a node n in the target document whose name matches the name of p
If n does not exist, create it
For each subprocess sp in p:
Look for a node sn in the target document whose name matches the name of sp
If sn does not exist, create it
Create a transition from n to sn
No need for recursion, because you are iterating over all process definitions. If you know the "root" processes beforehand, you can develop a version of this algorithm that probably performs better.
Hope this helps.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110066#4110066
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110066
18 years, 4 months
[JBoss jBPM] - Re: error in deployment
by pedroluppi
007-12-03 23:31:27,568 ERROR [STDERR] 03/12/2007 23:31:27 com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container.
2007-12-03 23:31:27,609 DEBUG [org.jbpm.webapp.listener.JbpmPhaseListener] after phase RESTORE_VIEW 1
2007-12-03 23:31:27,893 ERROR [STDERR] 03/12/2007 23:31:27 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss/server/default/tmp/deploy/tmp47901jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
2007-12-03 23:31:27,919 ERROR [STDERR] 03/12/2007 23:31:27 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss/server/default/tmp/deploy/tmp47901jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
2007-12-03 23:31:27,926 ERROR [STDERR] 03/12/2007 23:31:27 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss/server/default/tmp/deploy/tmp47901jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
2007-12-03 23:31:27,950 ERROR [STDERR] 03/12/2007 23:31:27 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss/server/default/tmp/deploy/tmp47901jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
2007-12-03 23:31:27,967 ERROR [STDERR] 03/12/2007 23:31:27 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/C:/jboss/server/default/tmp/deploy/tmp47901jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110064#4110064
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110064
18 years, 4 months