org.apache.myfaces.commons.exporter
Class ExporterActionListenerTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.myfaces.commons.exporter.ExporterActionListenerTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
@JSFJspTag(name="mc:exporterActionListener",
bodyContent="JSP",
tagHandler="org.apache.myfaces.commons.exporter.FaceletsExporterActionListenerTag")
public class ExporterActionListenerTag
- extends javax.servlet.jsp.tagext.TagSupport
Export datatable contents to an excel file or a pdf file.
This class is acting as the tag handler for the Exporter ActionListener.
- See Also:
- Serialized Form
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 |
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 |
ExporterActionListenerTag
public ExporterActionListenerTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class javax.servlet.jsp.tagext.TagSupport
getFilename
public String getFilename()
setFilename
public void setFilename(String _filename)
- Default name of the generated excel or pdf file, if not specified value of the "for" attribute will be used
getFileType
public String getFileType()
setFileType
public void setFileType(String type)
- "PDF" or "XLS"
getFor
public String getFor()
setFor
public void setFor(String _for)
- Id of the datatable component whose values to be exported
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.