mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ExternalAccessServlet now supports launching Alfresco dialogs/wizards via URL, My Web Forms template improvements.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5585 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -75,6 +75,8 @@ public class ExternalAccessServlet extends BaseServlet
|
||||
public final static String OUTCOME_BROWSE = "browse";
|
||||
public final static String OUTCOME_MYALFRESCO = "myalfresco";
|
||||
public final static String OUTCOME_LOGOUT = "logout";
|
||||
public final static String OUTCOME_DIALOG = "dialog";
|
||||
public final static String OUTCOME_WIZARD = "wizard";
|
||||
|
||||
private static final String ARG_TEMPLATE = "template";
|
||||
private static final String ARG_PAGE = "page";
|
||||
@@ -248,6 +250,14 @@ public class ExternalAccessServlet extends BaseServlet
|
||||
NavigationHandler navigationHandler = fc.getApplication().getNavigationHandler();
|
||||
navigationHandler.handleNavigation(fc, null, outcome);
|
||||
}
|
||||
else if (OUTCOME_DIALOG.equals(outcome) || OUTCOME_WIZARD.equals(outcome))
|
||||
{
|
||||
if (args.length != 0)
|
||||
{
|
||||
NavigationHandler navigationHandler = fc.getApplication().getNavigationHandler();
|
||||
navigationHandler.handleNavigation(fc, null, outcome + ':' + args[0]);
|
||||
}
|
||||
}
|
||||
else if (OUTCOME_LOGOUT.equals(outcome))
|
||||
{
|
||||
// special case for logout
|
||||
|
Reference in New Issue
Block a user