Package org.apache.tiles.web.jsp.taglib
Class ImportAttributeTag
java.lang.Object
jakarta.servlet.jsp.tagext.SimpleTagSupport
org.apache.tiles.web.jsp.taglib.ImportAttributeTag
- All Implemented Interfaces:
- jakarta.servlet.jsp.tagext.JspTag,- jakarta.servlet.jsp.tagext.SimpleTag
public class ImportAttributeTag
extends jakarta.servlet.jsp.tagext.SimpleTagSupport
Import attribute(s) in specified context.
Import attribute(s) to requested scope. Attribute name and scope are optional. If not specified, all attributes are imported in page scope. Once imported, an attribute can be used as any other beans from jsp contexts.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoTag()getName()Getter for name property.getScope()Getter for scope property.Getter for toName property.booleanisIgnore()Getter for ignore property.voidsetIgnore(boolean ignore) Setter for ignore property.voidSetter for name property.voidSetter for scope property.voidSetter for toName property.Methods inherited from class jakarta.servlet.jsp.tagext.SimpleTagSupportfindAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
- 
Constructor Details- 
ImportAttributeTagpublic ImportAttributeTag()
 
- 
- 
Method Details- 
getNameGetter for name property.- Returns:
- The name of the attribute to import. If it is null, all the attributes will be imported.
 
- 
setNameSetter for name property.- Parameters:
- name- The name of the attribute to import. If it is null, all the attributes will be imported.
 
- 
getScopeGetter for scope property.- Returns:
- The scope into which the attribute(s) will be imported. If null, the import will go in page scope.
 
- 
setScopeSetter for scope property.- Parameters:
- scope- The scope into which the attribute(s) will be imported. If null, the import will go in page scope.
 
- 
getToNameGetter for toName property.- Returns:
- The name of the attribute into which the attribute will be imported. To be used in conjunction to name. If null, the value of name will be used.
 
- 
setToNameSetter for toName property.- Parameters:
- toName- The name of the attribute into which the attribute will be imported. To be used in conjunction to name. If null, the value of name will be used.
 
- 
isIgnorepublic boolean isIgnore()Getter for ignore property.- Returns:
- If true, if the attribute is not present, the problem will be ignored.
 
- 
setIgnorepublic void setIgnore(boolean ignore) Setter for ignore property.- Parameters:
- ignore- If true, if the attribute is not present, the problem will be ignored.
 
- 
doTag- Specified by:
- doTagin interface- jakarta.servlet.jsp.tagext.SimpleTag
- Overrides:
- doTagin class- jakarta.servlet.jsp.tagext.SimpleTagSupport
- Throws:
- jakarta.servlet.jsp.JspException
- IOException
 
 
-