mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Association and Category Pickers (experimental)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14132 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -262,22 +262,22 @@ public class NodeHandler extends AbstractHandler
|
||||
else
|
||||
{
|
||||
// look for association defined for the type
|
||||
AssociationDefinition assocDef = assocDefs.get(fullQName);
|
||||
if (assocDef != null)
|
||||
ChildAssociationDefinition childAssocDef = childAssocDefs.get(fullQName);
|
||||
if (childAssocDef != null)
|
||||
{
|
||||
// generate the association field
|
||||
generateAssociationField(assocDef,
|
||||
this.nodeService.getTargetAssocs(nodeRef, fullQName), form);
|
||||
// TODO: see if we can get just the specific child assoc data
|
||||
generateAssociationField(childAssocDef,
|
||||
this.nodeService.getChildAssocs(nodeRef), form);
|
||||
}
|
||||
else
|
||||
{
|
||||
ChildAssociationDefinition childAssocDef = childAssocDefs.get(fullQName);
|
||||
if (childAssocDef != null)
|
||||
AssociationDefinition assocDef = assocDefs.get(fullQName);
|
||||
if (assocDef != null)
|
||||
{
|
||||
// generate the association field
|
||||
// TODO: see if we can get just the specific child assoc data
|
||||
generateAssociationField(childAssocDef,
|
||||
this.nodeService.getChildAssocs(nodeRef), form);
|
||||
generateAssociationField(assocDef,
|
||||
this.nodeService.getTargetAssocs(nodeRef, fullQName), form);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user