[jboss-user] [jBPM] - Re: [Jbpm5]how to get the image showing the current status of a workflow

sariner marry do-not-reply at jboss.com
Thu Oct 25 21:45:34 EDT 2012


sariner marry [https://community.jboss.org/people/mimi_2012] created the discussion

"Re: [Jbpm5]how to get the image showing the current status of  a workflow"

To view the discussion, visit: https://community.jboss.org/message/772485#772485

--------------------------------------------------------------
hi  https://community.jboss.org/people/aronjiao jeffery jeffery
can you tell me how to  *https://community.jboss.org/message/638499#638499 get the image showing the current status of  a workflow*? in this following codes:
String s =
                "<div style='width:1024px; height:768px; background-color:#ffffff;'>" +
                        "<div id=\"imageContainer\" style=\"position:relative;top:-1;left:-1;\">" +
                        "<img src=\""+imageUrl+"\" style=\"position:absolute;top:0;left:0\" />";
        for (ActiveNodeInfo activeNodeInfo: activeNodeInfos) {

            s+=     "<div class=\"bpm-graphView-activityImage\" style=\"position:absolute;top:"+ (activeNodeInfo.getActiveNode().getY()-8) +"px;left:"+(activeNodeInfo.getActiveNode().getX()-8)+"px;width:50px;height:50px; z-index:1000;background-image: url(images/icons/play_red_big.png);background-repeat:no-repeat;\"></div>";
        }
        s+=     "</div>" +
                "</div>";

I don't know how to get ActiveNodeInfo which is defined in jbpm-console.var ,how to call it?  thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/772485#772485]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121025/e77bf6e4/attachment.html 


More information about the jboss-user mailing list