[jboss-dev-forums] [Design of JBoss jBPM] - Re: status of merge, non persisted script on fork, and n-out

kukeltje do-not-reply at jboss.com
Wed Oct 25 07:11:02 EDT 2006


Persisting it seems as simple as implementing Fork::read() as 


  |   public void read(Element forkElement, JpdlXmlReader jpdlReader) {    
  |     action = jpdlReader.readSingleAction(forkElement);
  |     script = (Script) action;
  |     log.debug("read()" + script.getName());
  |   }
  | 

If the fork is loaded the action is read back but as an action, not as a script, so casting it fails. This probably needs a small change in the fork.hbm.xml but I have no expertise in that. HEEEEEEEELLLLLPPPPPP ;-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980661#3980661

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980661



More information about the jboss-dev-forums mailing list