|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.taglib.bean.MessageTag
com.jcorporate.expresso.ext.struts.taglib.bean.ExMessageTag
Expresso-specific extension to the MessageTag from Struts: this version gets it's message string from the ControllerRequest object, which knows the current user's locale settings already, and also has the application schema code, which allows us to use the appropriate message bundle file for the current application, as Expresso support multiple message bundles, one per schema
| Field Summary | |
static String |
SCHEMA_KEY
|
String |
schemaClass
|
| Fields inherited from class org.apache.struts.taglib.bean.MessageTag |
arg0, arg1, arg2, arg3, arg4, bundle, defaultLocale, key, localeKey, messages, name, property, scope |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, 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 | |
ExMessageTag()
|
|
| Method Summary | |
int |
doStartTag()
Process the start tag. |
String |
getSchema()
|
void |
setSchema(String newSchema)
|
| Methods inherited from class org.apache.struts.taglib.bean.MessageTag |
getArg0, getArg1, getArg2, getArg3, getArg4, getBundle, getKey, getLocale, getName, getProperty, getScope, release, setArg0, setArg1, setArg2, setArg3, setArg4, setBundle, setKey, setLocale, setName, setProperty, setScope |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String SCHEMA_KEY
public String schemaClass
| Constructor Detail |
public ExMessageTag()
| Method Detail |
public void setSchema(String newSchema)
public String getSchema()
public int doStartTag()
throws JspException
JspException - if a JSP exception has occurred
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||