edu.internet2.middleware.grouper.ui.actions
Class PrepareMenuAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction
          extended by edu.internet2.middleware.grouper.ui.actions.PrepareMenuAction

public class PrepareMenuAction
extends LowLevelGrouperCapableAction

Controller for menu that reads files configured through the media.resources key menu.resource.files. See resources/grouper/menu-items.xml for the xml format. The order of menu items configured through key 'menu.order' menu.cache determines if menu is cached for users - use false for development if changing source xml files Since 1.2.1 a new mechanism has been put in place to control which users get which menu items. The media.resources key menu.filters defines a space separated list of MenuFilter. Each filter has a chance to veto a menu item. Currently, two MenuFilter implementations are provided:

The latter is configured through an XML configuration file -

Version:
$Id: PrepareMenuAction.java,v 1.7 2009-08-12 04:52:14 mchyzer Exp $
Author:
Gary Brown.
See Also:


Field Summary
 
Fields inherited from class edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction
HIER_DELIM
 
Constructor Summary
PrepareMenuAction()
           
 
Method Summary
 ActionForward grouperExecute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, GrouperSession grouperSession)
          Action specific - must be implemented by all subclasses
 
Methods inherited from class edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction
execute, findAttribute, getAdvancedSearchMode, getBrowseMode, getBrowseNode, getCookie, getCurrentGroupOrStem, getDefaultRootStemName, getExceptionHelper, getLinkBrowseMode, getPageSize, getTilesAttributes, isEmpty, readDebugPrefs, saveDebugPrefs, setBrowseMode, setBrowseNode, sort
 
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, setServlet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrepareMenuAction

public PrepareMenuAction()
Method Detail

grouperExecute

public ActionForward grouperExecute(ActionMapping mapping,
                                    ActionForm form,
                                    HttpServletRequest request,
                                    HttpServletResponse response,
                                    HttpSession session,
                                    GrouperSession grouperSession)
                             throws Exception
Description copied from class: LowLevelGrouperCapableAction
Action specific - must be implemented by all subclasses

Specified by:
grouperExecute in class LowLevelGrouperCapableAction
Throws:
Exception
See Also:
LowLevelGrouperCapableAction.grouperExecute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.http.HttpSession, edu.internet2.middleware.grouper.GrouperSession)