|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSimpleTagSupport
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()
|
java.lang.String |
getClassname()
Get class name. |
java.lang.String |
getId()
Returns the id of the imported scripting variable. |
java.lang.String |
getName()
Get the name. |
java.lang.String |
getScope()
Get scope. |
java.lang.String |
getScriptingVariable()
Returns the scripting variable to use. |
boolean |
isIgnore()
Get ignore flag. |
void |
setClassname(java.lang.String name)
Set the class name. |
void |
setId(java.lang.String id)
Sets the id of the imported scripting variable. |
void |
setIgnore(boolean ignore)
Set ignore flag. |
void |
setName(java.lang.String name)
Set the name. |
void |
setScope(java.lang.String scope)
Set the scope. |
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 java.lang.String getId()
public void setId(java.lang.String id)
id
- The id of the imported scripting variable.public void setScope(java.lang.String scope)
scope
- Scope.public java.lang.String getScope()
public java.lang.String getName()
public void setName(java.lang.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 java.lang.String getClassname()
public void setClassname(java.lang.String name)
name
- The new class name.public void doTag() throws JspException
JspException
public java.lang.String getScriptingVariable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |