mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
. 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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user