|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.SimpleTagSupport org.apache.tiles.jsp.taglib.UseAttributeTag
public class UseAttributeTag
Exposes am attribute as a scripting variable within the page.
Nested Class Summary | |
---|---|
static class |
UseAttributeTag.Tei
Implementation of TagExtraInfo which identifies
the scripting object(s) to be made visible. |
Constructor Summary | |
---|---|
UseAttributeTag()
|
Method Summary | |
---|---|
void |
doTag()
|
String |
getClassname()
Get class name. |
String |
getId()
Returns the id of the imported scripting variable. |
String |
getName()
Get the name. |
String |
getScope()
Get scope. |
String |
getScriptingVariable()
Returns the scripting variable to use. |
boolean |
isIgnore()
Get ignore flag. |
void |
setClassname(String name)
Set the class name. |
void |
setId(String id)
Sets the id of the imported scripting variable. |
void |
setIgnore(boolean ignore)
Set ignore flag. |
void |
setName(String name)
Set the name. |
void |
setScope(String scope)
Set the scope. |
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UseAttributeTag()
Method Detail |
---|
public String getId()
public void setId(String id)
id
- The id of the imported scripting variable.public void setScope(String scope)
scope
- Scope.public String getScope()
public String getName()
public void setName(String name)
name
- The new namepublic void setIgnore(boolean ignore)
ignore
- default: false
: Exception is thrown when attribute is not found, set to
true
to ignore missing attributes silentlypublic boolean isIgnore()
false
: Exception is thrown when attribute is not found, set to
true
to ignore missing attributes silentlypublic String getClassname()
public void setClassname(String name)
name
- The new class name.public void doTag() throws JspException
doTag
in interface SimpleTag
doTag
in class SimpleTagSupport
JspException
public String getScriptingVariable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |