org.loom.tags.menu
Class LocaleMenuTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.loom.tags.AbstractTag
org.loom.tags.AbstractDecoratedTag
org.loom.tags.menu.MenuTag
org.loom.tags.menu.LocaleMenuTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag, LoomTag, MenuItemTagCollection
@Tag(dynamicAttributes=true,
bodyContent=SCRIPTLESS,
example="<l:localeMenu id=\"languages\" locales=\"en, es\"/>")
public class LocaleMenuTag- extends MenuTag
Menu to select the current locale.
| Methods inherited from class org.loom.tags.AbstractTag |
createWriterWrapper, doBody, doBufferedBody, endTag, evaluateExpression, getActionProperty, getAncestorWithClass, getBufferedBody, getExtendedAttributes, getMessagesRepository, getPageContext, getRequest, getResponse, getScopedAttribute, getWriter, initTag, printParentAttributes, removeScopedAttribute, setDynamicAttribute, setExtendedAttribute, setJspContext, setRequest, setResponse, setScopedAttribute, setWriter |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocaleMenuTag
public LocaleMenuTag()
doTagImpl
public void doTagImpl()
throws java.io.IOException,
javax.servlet.jsp.JspException
- Neither this or MenuItemTag perform any rendering, the whole work is done by the Decorator.
These tags only assemble a structure of
MenuItemData.
- Overrides:
doTagImpl in class MenuTag
- Throws:
java.io.IOException
javax.servlet.jsp.JspException
setLocales
public void setLocales(java.lang.String locales)
isSelfTranslated
public boolean isSelfTranslated()
setSelfTranslated
public void setSelfTranslated(boolean selfTranslated)
setAction
public void setAction(java.lang.String actionName)
setEvent
public void setEvent(java.lang.String event)
getLocales
public java.lang.String getLocales()