[JBoss jBPM] - about the user forum
by masipu
Ok. I know that this is propably the wrong place to talk about the forum itself. But I couldn't find a place to talk about it elsewere :S
So, I've been testing Jbpm 3.2.1 for a while and noticed that the documentation is not up to date. I've been using this forum to get help but tips are usually for older versions. So my request is that there should be some kind of versioning here in forum. So that I can search topics for newest version. It's really annoying to read user forum for the product that I'm using but the tips I'm reading doesn't work for my version. Frustrating.
I hate when documentation says something that has been already changed.
..and if you suggest that I use the version number in my search term, you are missing my point..
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071155#4071155
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071155
18Â years, 8Â months
[JBoss jBPM] - showing image of current process stage
by yairfr
hi ,
i develped a small program that reads the gpd.xml and the processdefinition.xml of the process and show the map of the process with a red rectangle arround the current task of the process .
sometimes the rectange is not sorrounding the Node but is in other location , i suspect it is because of changes that was done to the diagram
that changed or not changed the XML .
anyway the code the determine the X,Y of the Rectange is :
| public int[] extractBoxConstraint(Element root, Token currentToken) {
| int[] result = new int[4];
| String nodeName = currentToken.getNode().getName();
| XPath xPath = new DefaultXPath("//node[@name='" + nodeName + "']");
| Element node = (Element) xPath.selectSingleNode(root);
| result[0] = Integer.valueOf(node.attribute("x").getValue()).intValue();
| result[1] = Integer.valueOf(node.attribute("y").getValue()).intValue();
| result[2] = Integer.valueOf(node.attribute("width").getValue()).intValue();
| result[3] = Integer.valueOf(node.attribute("height").getValue()).intValue();
| return result;
| }
|
thanks in Advance .
Yair
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071153#4071153
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071153
18Â years, 8Â months