net.sf.navigator.taglib.el
Class UseMenuDisplayerTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.sf.navigator.taglib.UseMenuDisplayerTag
          extended by net.sf.navigator.taglib.el.UseMenuDisplayerTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class UseMenuDisplayerTag
extends UseMenuDisplayerTag

This tag acts the same as net.sf.navigator.taglib.UseMenuDisplayerTag, except that it allows JSTL Expressions in all it's attributes.

Version:
$Revision: 1.5 $ $Date: 2006/03/02 08:04:33 $
Author:
Matt Raible
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.navigator.taglib.UseMenuDisplayerTag
bundleKey, DISPLAYER_KEY, id, localeKey, MENU_ID, menuDisplayer, messages, PRIVATE_REPOSITORY, rb, ROLES_ADAPTER
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
UseMenuDisplayerTag()
           
 
Method Summary
 int doStartTag()
           
 void release()
           
 void setBundle(String bundle)
           
 void setConfig(String config)
           
 void setLocale(String locale)
           
 void setName(String name)
           
 void setPermissions(String permissions)
          Setter for property permissions.
 void setRepository(String key)
          This method allows users to override the key used to lookup the repository.
 
Methods inherited from class net.sf.navigator.taglib.UseMenuDisplayerTag
doEndTag, getBundle, getConfig, getLocale, getName, getPermissions, getPermissionsAdapter, getRepository, setId
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseMenuDisplayerTag

public UseMenuDisplayerTag()
Method Detail

setName

public void setName(String name)
Overrides:
setName in class UseMenuDisplayerTag

setBundle

public void setBundle(String bundle)
Overrides:
setBundle in class UseMenuDisplayerTag

setConfig

public void setConfig(String config)
Overrides:
setConfig in class UseMenuDisplayerTag

setLocale

public void setLocale(String locale)
Overrides:
setLocale in class UseMenuDisplayerTag

setPermissions

public void setPermissions(String permissions)
Description copied from class: UseMenuDisplayerTag
Setter for property permissions.

Overrides:
setPermissions in class UseMenuDisplayerTag
Parameters:
permissions - New value of property permissions.

setRepository

public void setRepository(String key)
Description copied from class: UseMenuDisplayerTag
This method allows users to override the key used to lookup the repository. If not specified - the default repository is used, which is "net.sf.navigator.MENU_REPOSITORY" or UseMenuDisplayerTag.MENU_REPOSITORY_KEY.

Overrides:
setRepository in class UseMenuDisplayerTag

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class UseMenuDisplayerTag

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class UseMenuDisplayerTag
Throws:
javax.servlet.jsp.JspException


Copyright © 2003-2007 SourceForge. All Rights Reserved.