[jboss-dev-forums] [Design of JBoss jBPM] - Re: including graphical information in the process definitio
kukeltje
do-not-reply at jboss.com
Wed May 9 06:54:38 EDT 2007
I miss one thing: what is the advantage of one file with two sections over two files? (assuming we still want to merge the forms.xml into the processdefinition.xml)
And if there are some gpd namespaced elements that have no relation to any process construct (besides the processdefinition at the highest level) I see no problem puting them separately, but having the processconstruct related gpd elements in there would not be a problem imo. So something like
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.2"
| xmlns:gpd="urn:jbpm.org:jpdl-gpd-3.2"
| name="simple"
| gpd:width="469" gpd:height="439">
| <start-state name="start" gpd:x="150" gpd:y="25" gpd:width="140" gpd:height="40">
| <transition name="to_state" to="first">
| <gpd:bendpoint x="23" y="45"/>
| <gpd:bendpoint x="45" y="67"/>
| <gpd:bendpoint x="22" y="11"/>
| <action name="action" class="com.sample.action.MessageActionHandler">
| <message>Going to the first state!</message>
| </action>
| </transition>
| </start-state>
| <state name="first" gpd:x="150" gpd:y="125" gpd:width="140" gpd:height="40">
| <transition name="to_end" to="end">
| </state>
| <gpd:note>
| Just a not in a separate element, but no section
| </gpd:note>
| </process-definition>
|
Or do you mean colorinfo etc??? instead of notes? Still then, putting that in a separate element and refering to it is not a problem imo.
Or do I miss something?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044236#4044236
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044236
More information about the jboss-dev-forums
mailing list