ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | jawe List | Febuary 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [jawe] Using JaWe


Hi,
 
I think you should write:
 
Package pkg=jawe.openDocument(xmlFile,false,true);
 
before calling setNewPackage() method.
Also, you should call setNewPackage method with boolean parameter set to false if you want to hold previously loaded packages in memory.
 
Regards,
Sasa.
----- Original Message -----
From: John Smith
Sent: Saturday, February 07, 2004 3:44 AM
Subject: [jawe] Using JaWe

Hi Sasa,
I am trying to use JaWE to display a process  from the process definition in my application.I am using the following sequence of steps I noticed from Shark's UI. Please let me know if I am missing any step. Thanks for your response,
John.
 
String packageContent=getPackageContentFromXPDL("MyPackage"); file://MyPackage
XML.putPkgIdToFileContentMapping(packageId,packageContent);
JaWE.getInstance().getPackageEditor().setNewPackage(pkg,true);
 WorkflowProcess wp=wps.getWorkflowProcess(procDef.processId());
  currentGraph=(ProcessGraph)((org.webdocwf.util.jawe.graph.Process)
                   JaWE.getInstance().getPackageEditor().getProcessObject(wp)).
                   getImplementationEditor().getGraph();
  scrollPane.add(currentGraph);


Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.