Class Render
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
net.sf.basedb.clients.web.taglib.extensions.Render
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
Tag for rendering extensions.
Syntax:
<ext:render extensions=... context=... item=... renderer=... wrapper=... />
Attribute | Default value | Required | Description |
extensions | - | yes |
The ExtensionsInvoker with the extensions.
|
context | - | no |
The current JspContext .
|
item | - | no |
The current item. If not null and the context is also not null,
the context will be updated with ClientContext.setCurrentItem(Object)
before the rendering is started.
|
renderer | - | no |
The Renderer to use. If not null, the
ExtensionsInvoker.render(Renderer)
method is used, otherwise ExtensionsInvoker.renderDefault()
or ExtensionsInvoker.renderDefault(WrappingRenderer) .
|
wrapper | - | no |
The WrappingRenderer to use. If not null and no renderer
has been given, the ExtensionsInvoker.renderDefault(WrappingRenderer)
method is used.
|
- Version:
- 2.7
- Author:
- Nicklas
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate JspContext
private ExtensionsInvoker<?>
private Object
private Renderer
private static final long
private WrappingRenderer
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
private void
void
setContext
(JspContext context) void
setExtensions
(ExtensionsInvoker<?> extensions) void
void
setRenderer
(Renderer<?> renderer) void
setWrapper
(WrappingRenderer<?> wrapper) private void
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
context
-
extensions
-
item
-
renderer
-
wrapper
-
-
Constructor Details
-
Render
public Render()
-
-
Method Details
-
setExtensions
-
setContext
-
setItem
-
setRenderer
-
setWrapper
-
doStartTag
- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classTagSupport
- Throws:
JspException
-
readObject
- Throws:
ClassNotFoundException
IOException
-
writeObject
- Throws:
IOException
-