net.sourceforge.ajaxtags.tags
Class AjaxDisplayTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
net.sourceforge.ajaxtags.tags.BaseAjaxBodyTag
net.sourceforge.ajaxtags.tags.AjaxAnchorsTag
net.sourceforge.ajaxtags.tags.AjaxAreaTag
net.sourceforge.ajaxtags.tags.AjaxDisplayTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class AjaxDisplayTag
- extends AjaxAreaTag
Wraps a DisplayTag (http://displaytag.org) table, enabling AJAX capabilities. In the process,
anchors in the navigation are rewritten on the fly so that the DisplayTag table refreshes within
the same region on the page without a full-page reload.
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 net.sourceforge.ajaxtags.tags.BaseAjaxBodyTag |
buildScript, doStartTag, getAttachTo, getBaseUrl, getBody, getErrorFunction, getEventType, getHttpRequestHeader, getHttpServletRequest, getHttpServletResponse, getJsClass, getJSVariable, getOnclickAjax, getOptions, getOptionsBuilder, getOptionsBuilder, getParameters, getParser, getPostFunction, getPreFunction, getSource, getSourceClass, getStyleClass, getTarget, getVar, isHttpRequestHeader, out, release, setAttachTo, setBaseUrl, setErrorFunction, setEventType, setParameters, setParser, setPostFunction, setPreFunction, setSource, setSourceClass, setStyleClass, setTarget, setVar, skipBody |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
AjaxDisplayTag
public AjaxDisplayTag()
- Default constructor.
getPagelinksClass
public String getPagelinksClass()
- Returns:
- Returns the pagelinksClass.
setPagelinksClass
public void setPagelinksClass(String pagelinksClass)
- Parameters:
pagelinksClass
- The pagelinksClass to set. Null-safe.
getColumnClass
public String getColumnClass()
- Returns:
- Returns the columnClass.
setColumnClass
public void setColumnClass(String columnClass)
- Parameters:
columnClass
- The columnClass to set. Null-safe.
releaseTag
public void releaseTag()
- Description copied from class:
BaseAjaxBodyTag
- Never call release() from releaseTag() -> ends in loop.
- Overrides:
releaseTag
in class AjaxAreaTag
- See Also:
Tag.release()
processContent
protected String processContent(String content)
throws javax.servlet.jsp.JspException
- Rewrite anchors in content.
Parse content to XHTML
Document
, rewrite DisplayTag anchor elements and
return string representation of document.
- Overrides:
processContent
in class AjaxAreaTag
- Parameters:
content
- XHTML source as string
- Returns:
- content with rewritten anchors
- Throws:
javax.servlet.jsp.JspException
- when links rewriting failed- See Also:
AjaxAreaTag.processContent(java.lang.String)
Copyright © 2005-2010 The Ajaxtags Team. All Rights Reserved.