public class LangTag
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARROW_ICON |
static java.lang.String |
REVISION |
Constructor and Description |
---|
LangTag() |
Modifier and Type | Method and Description |
---|---|
static void |
appendFlag(java.lang.StringBuffer sb,
java.lang.String flagLang,
java.lang.String title) |
int |
doEndTag() |
int |
doStartTag() |
static java.lang.String |
getLangForm(java.lang.String userLang)
Returns the lang icon action to display langForm menu.
|
static java.lang.String |
getLangFormMenu()
Returns the lang form menu for doEmptyHeader.jsp
|
void |
setDisplay(java.lang.String display) |
void |
setLang(java.lang.String lang) |
void |
setTitle(java.lang.String title) |
void |
setUseLocalizedLanguageList(boolean use) |
public static final java.lang.String REVISION
public static final java.lang.String ARROW_ICON
public void setLang(java.lang.String lang)
public void setTitle(java.lang.String title)
public void setDisplay(java.lang.String display)
public void setUseLocalizedLanguageList(boolean use)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public static java.lang.String getLangForm(java.lang.String userLang)
userLang
- the user languagepublic static java.lang.String getLangFormMenu()
public static void appendFlag(java.lang.StringBuffer sb, java.lang.String flagLang, java.lang.String title)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.