. Rhino JavaScript integration checkpoint:

- Added APIs to allow updating and addition of node properties
  - Added APIs for content manipulation
  - Added APIs to allow creation of files and folders

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-05-03 21:34:42 +00:00
parent 737f4fa8de
commit d8acd3d80a
2 changed files with 6 additions and 3 deletions

View File

@@ -827,7 +827,9 @@ public abstract class BaseActionWizard extends BaseWizardBean
}
/**
* Build the param map for the current Action instance
* Build the param map for the current Action instance.
* <p>
* Based on the params set by the UI, build the params needed to create the action.
*
* @return param map
*/
@@ -1063,6 +1065,7 @@ public abstract class BaseActionWizard extends BaseWizardBean
String id = (String)this.currentActionProperties.get(PROP_SCRIPT);
NodeRef scriptRef = new NodeRef(Repository.getStoreRef(), id);
actionParams.put(ScriptActionExecutor.PARAM_SCRIPTREF, scriptRef);
actionParams.put(ScriptActionExecutor.PARAM_SPACEREF, this.navigator.getCurrentNode().getNodeRef());
}
return actionParams;