. Checkpoint of the Submit dialog for user sandbox assets

- first pass of JSP layout
 - multiple items or all items available for selection
 - calculation of available workflows, from those assigned to form assets and assigned to the website
 - creation of AVM workflow package
 - starting of workflow containing AVM package (appears in users task todo dashlet!)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-12-05 17:19:23 +00:00
parent 5c312a7ece
commit ae4d6a0fd2
15 changed files with 753 additions and 7 deletions

View File

@@ -116,6 +116,7 @@ public class AVMBrowseBean implements IContextListener
private String sandboxTitle = null;
private String currentPath = null;
private AVMNode currentPathNode = null;
private boolean submitAll = false;
/* component references */
private UIRichList foldersRichList;
@@ -686,6 +687,21 @@ public class AVMBrowseBean implements IContextListener
}
}
/**
* Return the list of selected items for the current user sandbox view
*
* @return List of AVMNodeDescriptor objects representing selected items
*/
public List<AVMNodeDescriptor> getSelectedSandboxItems()
{
return this.userSandboxes.getSelectedNodes(this.username);
}
public boolean getSubmitAll()
{
return this.submitAll;
}
// ------------------------------------------------------------------------------
// Action event handlers
@@ -740,6 +756,14 @@ public class AVMBrowseBean implements IContextListener
// update UI state ready for return to the previous screen
this.location = null;
setCurrentPath(null);
this.submitAll = false;
}
public void setupSubmitAllAction(ActionEvent event)
{
setupSandboxAction(event);
this.submitAll = true;
}
/**