mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Script specific Node class renamed to ScriptNode.
SVN rename command used to ensure file history is kept. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -71,7 +71,7 @@ public class ValueConverter
|
||||
{
|
||||
// NodeRef object properties are converted to new Node objects
|
||||
// so they can be used as objects within a template
|
||||
value = new Node(((NodeRef)value), services, scope);
|
||||
value = new ScriptNode(((NodeRef)value), services, scope);
|
||||
}
|
||||
else if (value instanceof QName || value instanceof StoreRef)
|
||||
{
|
||||
@@ -128,10 +128,10 @@ public class ValueConverter
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else if (value instanceof Node)
|
||||
else if (value instanceof ScriptNode)
|
||||
{
|
||||
// convert back to NodeRef
|
||||
value = ((Node)value).getNodeRef();
|
||||
value = ((ScriptNode)value).getNodeRef();
|
||||
}
|
||||
else if (value instanceof ChildAssociation)
|
||||
{
|
||||
|
Reference in New Issue
Block a user