diff options
| -rw-r--r-- | src/main/resources/boot/SC/InstantiateItem.xml | 8 | ||||
| -rw-r--r-- | src/main/resources/boot/SC/LocalObjectDefCreator.xml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/resources/boot/SC/InstantiateItem.xml b/src/main/resources/boot/SC/InstantiateItem.xml index 1365d61..abfdba2 100644 --- a/src/main/resources/boot/SC/InstantiateItem.xml +++ b/src/main/resources/boot/SC/InstantiateItem.xml @@ -1,7 +1,7 @@ <cristalscript> <output name="errors" type="org.cristalise.kernel.scripting.ErrorInfo" /> <script language="javascript" name="InstantiateItem"><![CDATA[ - importClass(Packages.com.c2kernel.lookup.DomainPath); + importClass(Packages.org.cristalise.kernel.lookup.DomainPath); // Get parameters from outcome var name = job.getOutcome().getField("ObjectName"); @@ -21,9 +21,9 @@ } // If this script is running in the Cristal GUI, open the new item. - //try { - // Packages.com.c2kernel.gui.MainFrame.treeBrowser.push(new DomainPath(domPath+"/"+name)); - //} catch (e) { } + try { + Packages.org.cristalise.gui.MainFrame.treeBrowser.push(new DomainPath(domPath+"/"+name)); + } catch (e) { } ]]></script> </cristalscript>
\ No newline at end of file diff --git a/src/main/resources/boot/SC/LocalObjectDefCreator.xml b/src/main/resources/boot/SC/LocalObjectDefCreator.xml index 39f49e7..b30037b 100644 --- a/src/main/resources/boot/SC/LocalObjectDefCreator.xml +++ b/src/main/resources/boot/SC/LocalObjectDefCreator.xml @@ -29,7 +29,7 @@ // If this script is running in the Cristal GUI, open the new item.
try {
- var tree = Packages.com.c2kernel.gui.MainFrame.treeBrowser;
+ var tree = Packages.org.cristalise.gui.MainFrame.treeBrowser;
if (tree != null) // open new item in the gui
tree.push(new DomainPath(domPath+"/"+name));
} catch (e) { // hopefully catch any classloading errors on headless systems. hopefully.
|
