mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Converted 'manage groups' page to proper dialog and updated related pages to use pattern usethelink should use for all remaining pages
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6865 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -74,6 +74,17 @@ public final class DialogManager
|
||||
{
|
||||
// store the parameters
|
||||
this.paramsToApply = ((UIActionLink)component).getParameterMap();
|
||||
|
||||
// make sure "null" parameters are actually null, this can occur
|
||||
// when null parameters are sent to the client and posted back
|
||||
for (String name : this.paramsToApply.keySet())
|
||||
{
|
||||
String value = this.paramsToApply.get(name);
|
||||
if (value != null && value.equalsIgnoreCase("null"))
|
||||
{
|
||||
this.paramsToApply.put(name, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -286,9 +297,18 @@ public final class DialogManager
|
||||
*
|
||||
* @return The action group id
|
||||
*/
|
||||
public String getActions()
|
||||
public String getActionsId()
|
||||
{
|
||||
return this.currentDialogState.getConfig().getActionsConfigId();
|
||||
// first see if the dialog itself has supplied an actions id
|
||||
String configId = this.currentDialogState.getDialog().getActionsConfigId();
|
||||
|
||||
if (configId == null)
|
||||
{
|
||||
// see if an actions id was specified in the dialog config
|
||||
configId = this.currentDialogState.getConfig().getActionsConfigId();
|
||||
}
|
||||
|
||||
return configId;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -297,9 +317,18 @@ public final class DialogManager
|
||||
*
|
||||
* @return The action group id
|
||||
*/
|
||||
public String getMoreActions()
|
||||
public String getMoreActionsId()
|
||||
{
|
||||
return this.currentDialogState.getConfig().getMoreActionsConfigId();
|
||||
// first see if the dialog itself has supplied a more actions id
|
||||
String configId = this.currentDialogState.getDialog().getMoreActionsConfigId();
|
||||
|
||||
if (configId == null)
|
||||
{
|
||||
// see if an actions id was specified in the dialog config
|
||||
configId = this.currentDialogState.getConfig().getMoreActionsConfigId();
|
||||
}
|
||||
|
||||
return configId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user