|
@@ -15,12 +15,7 @@ public class ScriptWhileComponent extends NodeWhileComponent implements ScriptCo
|
|
|
|
|
|
@Override
|
|
|
public boolean processWhile() throws Exception {
|
|
|
- ScriptExecuteWrap wrap = new ScriptExecuteWrap();
|
|
|
- wrap.setCurrChainId(this.getCurrChainId());
|
|
|
- wrap.setNodeId(this.getNodeId());
|
|
|
- wrap.setSlotIndex(this.getSlotIndex());
|
|
|
- wrap.setTag(this.getTag());
|
|
|
- wrap.setCmpData(this.getCmpData(Map.class));
|
|
|
+ ScriptExecuteWrap wrap = this.buildWrap(this);
|
|
|
return (boolean) ScriptExecutorFactory.loadInstance()
|
|
|
.getScriptExecutor(this.getRefNode().getLanguage())
|
|
|
.execute(wrap);
|