@JSFJspTag(name="f:loadBundle",
bodyContent="empty")
public class LoadBundleTag
extends javax.servlet.jsp.tagext.TagSupport
Unless otherwise specified, all attributes accept static values or EL expressions.
TODO: We should find a way to save loaded bundles in the state, because otherwise on the next request the bundle map will not be present before the render phase and value bindings that reference to the bundle will always log annoying "Variable 'xxx' could not be resolved" error messages.
Constructor and Description |
---|
LoadBundleTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
void |
setBasename(javax.el.ValueExpression basename)
The base name of the resource bundle.
|
void |
setVar(String var)
The name of the variable in request scope that the resources are saved to.
|
@JSFJspAttribute(className="javax.el.ValueExpression", deferredValueType="java.lang.String") public void setBasename(javax.el.ValueExpression basename)
@JSFJspAttribute(required=true) public void setVar(String var)
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
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.