Skip to main content.

JSP Controls Tag Library

Navigation: JSP Controls | About

Tag <jc:render>

The tag is to be used on render phase. The body of this tag is evaluated if its "view" attribute equals to a scoped variable "jspcontrolsViewSelected" defined either in page or request scope. The body of this tag is always evaluated if "view" attribute is omitted. This is an optional tag that does not have any side effects. You can use JSP scriptlets of JSTL conditional actions to display a particular view of a component instead of this tag.

Tag Information
Tag Classnet.jspcontrols.tags.RenderTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
Name Required Request-time Type Description
view false true java.lang.String The name of a subview that this tag renders. The body of this tag is evaluated if "view" attribute equals to a view key variable defined either in page or request scope. Default name of a view key variable is "jspcSelectedView", but it can be overriden with "key" attribute.
key false true java.lang.String Name of a scoped variable, defined in either page or request scope, that holds the name of the current view.