nl.imsystems.atag.tags
Class ComponentRefTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by nl.imsystems.atag.tags.ATagBase
              extended by nl.imsystems.atag.tags.ContainerBase
                  extended by nl.imsystems.atag.tags.ReferenceBase
                      extended by nl.imsystems.atag.tags.ComponentRefTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag

public class ComponentRefTag
extends ReferenceBase

Tag handler for <a:componentRef/> tag.

A <a:componentRef/> is used to refer to a component definition from within a <a:panle/> tag.

Attributes

Name Required Default Description
id Yes   Unique (to jsp page) id for this reference
viewUrl Yes   Location of the jsp page containing the component definition referenced by this reference
contollerUrl No Current url Url to which events generated by the target component should be posted.
bind No   Path to the object that will be made available via the value variable during the scope of the target component definition. This attribute is also exposed as a String via the variable bindPath
paramName No Value assigned to id attribute This attribute is available to the target component definition via the variable name
dependents No   A comma separated list of ids identifing components that should be refreshed after the target of this reference fires a server event
render No true Set false in order to prevent the target component from being rendered.
refresh No true Set false in order to prevent the target component from being refreshed after firing an event (often only the dependets need to be refreshed)
text No false Set true if the target component will render text as opposed to html
cssClass No   Pass through to html
style No   Pass through to html

Supported By

<a:panel/>
A <a:componentRef/> is used from within a <a:panel/> to refer to a component definition.

Supports

<a:action/>
Actions are added to <a:componentRef/> in order to propagate client events to the server.
<a:param/>
Params are used to pass custom values into the target component definition.

Author:
kayvan

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
ComponentRefTag()
           
 
Method Summary
 
Methods inherited from class nl.imsystems.atag.tags.ReferenceBase
doEndTag, doStartTag, getBind, getCssClass, getDependents, getParamName, getRefresh, getRender, getStyle, getText, getType, release, setBind, setCssClass, setDependents, setParamName, setRefresh, setRender, setStyle, setText
 
Methods inherited from class nl.imsystems.atag.tags.ContainerBase
addAction, addDependent, addParam, addReference, compileActions, getActions, getActions, getContollerUrl, getDependentsList, getParams, getParamsCSV, getViewUrl, isParentDependent, setControllerUrl, setViewUrl
 
Methods inherited from class nl.imsystems.atag.tags.ATagBase
getAlias, getATagContext, getContextPath, getNamingContext, getParentTag, getRefererId, getRequest, getResponse, getTagId, popContext, pushContext, resolveRelativeName
 
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
 

Constructor Detail

ComponentRefTag

public ComponentRefTag()