- Summary information for a staging area based on the AVMStoreDescriptor
 - More work on the Modified Files list
 - Framework and components for actions against AVM content and folders

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3855 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-09-19 21:42:08 +00:00
parent d6f9673913
commit 27f88a31c2
14 changed files with 409 additions and 96 deletions

View File

@@ -33,7 +33,6 @@ import org.alfresco.config.Config;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.web.app.Application;
import org.alfresco.web.bean.repository.Node;
import org.alfresco.web.config.ActionsConfigElement;
import org.alfresco.web.config.ActionsConfigElement.ActionDefinition;
import org.alfresco.web.config.ActionsConfigElement.ActionGroup;
@@ -503,27 +502,27 @@ public class UIActions extends SelfRenderingComponent
}
/**
* Get the Node that forms the context object for this group of actions
* Get the object that forms the context for this group of actions
*
* @return the context
*/
public Node getContext()
public Object getContext()
{
ValueBinding vb = getValueBinding("context");
if (vb != null)
{
this.context = (Node)vb.getValue(getFacesContext());
this.context = vb.getValue(getFacesContext());
}
return this.context;
}
/**
* Set the the Node that forms the context object for this group of actions
* Set the the object that forms the context for this group of actions
*
* @param context the context
*/
public void setContext(Node context)
public void setContext(Object context)
{
this.context = context;
}
@@ -609,8 +608,8 @@ public class UIActions extends SelfRenderingComponent
/** For this component the value is the ID of an Action Group config block */
private String value = null;
/** The context Node for the action group */
private Node context = null;
/** The context object for the action group */
private Object context = null;
/** Vertical layout spacing */
private Integer verticalSpacing = null;