Top Fields Constructors Methods
com.sun.faces.taglib.html_basic

public Class PanelGridTag

extends UIComponentELTag
Class Inheritance
Imports
com.sun.faces.util.Util, java.io.IOException, javax.el.*, javax.faces.*, javax.faces.component.*, javax.faces.context.*, javax.faces.convert.*, javax.faces.el.*, javax.faces.event.*, javax.faces.validator.*, javax.faces.webapp.*, javax.servlet.jsp.JspException

Field Summary

Modifier and TypeField and Description
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression
private ValueExpression

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
doEndTag()

Overrides javax.faces.webapp.UIComponentClassicTagBase.doEndTag.

Implements javax.servlet.jsp.tagext.Tag.doEndTag.

Process the end tag for this instance.
public int
public String
getComponentType()

Implements abstract javax.faces.webapp.UIComponentTagBase.getComponentType.

Return the component type for the component that is or will be bound to this tag.

public String
public String
getRendererType()

Implements abstract javax.faces.webapp.UIComponentTagBase.getRendererType.

Return the rendererType property that selects the Renderer to be used for encoding this component, or null to ask the component to render itself directly.

public void
release()

Overrides javax.faces.webapp.UIComponentELTag.release.

Implements javax.servlet.jsp.tagext.Tag.release.

Release any resources allocated during the execution of this tag handler.

public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
protected void
setProperties(UIComponent
UIComponent whose properties are to be overridden
component
)

Overrides javax.faces.webapp.UIComponentELTag.setProperties.

Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set.

public void
public void
public void
public void
public void
public void
public void
public void
public void
Inherited from javax.faces.webapp.UIComponentELTag:
createComponentgetELContexthasBindingsetBindingsetRendered

Field Detail

bgcolorback to summary
private ValueExpression bgcolor
bodyrowsback to summary
private ValueExpression bodyrows
borderback to summary
private ValueExpression border
captionClassback to summary
private ValueExpression captionClass
captionStyleback to summary
private ValueExpression captionStyle
cellpaddingback to summary
private ValueExpression cellpadding
cellspacingback to summary
private ValueExpression cellspacing
columnClassesback to summary
private ValueExpression columnClasses
columnsback to summary
private ValueExpression columns
dirback to summary
private ValueExpression dir
footerClassback to summary
private ValueExpression footerClass
frameback to summary
private ValueExpression frame
headerClassback to summary
private ValueExpression headerClass
langback to summary
private ValueExpression lang
onclickback to summary
private ValueExpression onclick
ondblclickback to summary
private ValueExpression ondblclick
onkeydownback to summary
private ValueExpression onkeydown
onkeypressback to summary
private ValueExpression onkeypress
onkeyupback to summary
private ValueExpression onkeyup
onmousedownback to summary
private ValueExpression onmousedown
onmousemoveback to summary
private ValueExpression onmousemove
onmouseoutback to summary
private ValueExpression onmouseout
onmouseoverback to summary
private ValueExpression onmouseover
onmouseupback to summary
private ValueExpression onmouseup
roleback to summary
private ValueExpression role
rowClassback to summary
private ValueExpression rowClass
rowClassesback to summary
private ValueExpression rowClasses
rulesback to summary
private ValueExpression rules
styleback to summary
private ValueExpression style
styleClassback to summary
private ValueExpression styleClass
summaryback to summary
private ValueExpression summary
titleback to summary
private ValueExpression title
widthback to summary
private ValueExpression width

Constructor Detail

PanelGridTagback to summary
public PanelGridTag()

Method Detail

doEndTagback to summary
public int doEndTag() throws JspException

Overrides javax.faces.webapp.UIComponentClassicTagBase.doEndTag.

Implements javax.servlet.jsp.tagext.Tag.doEndTag.

Doc from javax.servlet.jsp.tagext.Tag.doEndTag.

Process the end tag for this instance. This method is invoked by the JSP page implementation object on all Tag handlers.

This method will be called after returning from doStartTag. The body of the action may or may not have been evaluated, depending on the return value of doStartTag.

If this method returns EVAL_PAGE, the rest of the page continues to be evaluated. If this method returns SKIP_PAGE, the rest of the page is not evaluated, the request is completed, and the doEndTag() methods of enclosing tags are not invoked. If this request was forwarded or included from another page (or Servlet), only the current page evaluation is stopped.

The JSP container will resynchronize the values of any AT_BEGIN and AT_END variables (defined by the associated TagExtraInfo or TLD) after the invocation of doEndTag().

Returns:int

indication of whether to continue evaluating the JSP page.

Exceptions
JspException:
if an error occurred while processing this tag
doStartTagback to summary
public int doStartTag() throws JspException

Overrides javax.faces.webapp.UIComponentClassicTagBase.doStartTag.

Implements javax.servlet.jsp.tagext.Tag.doStartTag.

Doc from javax.servlet.jsp.tagext.Tag.doStartTag.

Process the start tag for this instance. This method is invoked by the JSP page implementation object.

The doStartTag method assumes that the properties pageContext and parent have been set. It also assumes that any properties exposed as attributes have been set too. When this method is invoked, the body has not yet been evaluated.

This method returns Tag.EVAL_BODY_INCLUDE or BodyTag.EVAL_BODY_BUFFERED to indicate that the body of the action should be evaluated or SKIP_BODY to indicate otherwise.

When a Tag returns EVAL_BODY_INCLUDE the result of evaluating the body (if any) is included into the current "out" JspWriter as it happens and then doEndTag() is invoked.

BodyTag.EVAL_BODY_BUFFERED is only valid if the tag handler implements BodyTag.

The JSP container will resynchronize the values of any AT_BEGIN and NESTED variables (defined by the associated TagExtraInfo or TLD) after the invocation of doStartTag(), except for a tag handler implementing BodyTag whose doStartTag() method returns BodyTag.EVAL_BODY_BUFFERED.

Returns:int

EVAL_BODY_INCLUDE if the tag wants to process body, SKIP_BODY if it does not want to process it.

Exceptions
JspException:
if an error occurred while processing this tag
getComponentTypeback to summary
public String getComponentType()

Implements abstract javax.faces.webapp.UIComponentTagBase.getComponentType.

Doc from javax.faces.webapp.UIComponentTagBase.getComponentType.

Return the component type for the component that is or will be bound to this tag. This value can be passed to javax.faces.application.Application#createComponent to create the UIComponent instance for this tag. Subclasses must override this method to return the appropriate value.

Returns:String

the component type

getDebugStringback to summary
public String getDebugString()
getRendererTypeback to summary
public String getRendererType()

Implements abstract javax.faces.webapp.UIComponentTagBase.getRendererType.

Doc from javax.faces.webapp.UIComponentTagBase.getRendererType.

Return the rendererType property that selects the Renderer to be used for encoding this component, or null to ask the component to render itself directly. Subclasses must override this method to return the appropriate value.

Returns:String

the renderer type

releaseback to summary
public void release()

Overrides javax.faces.webapp.UIComponentELTag.release.

Implements javax.servlet.jsp.tagext.Tag.release.

Doc from javax.faces.webapp.UIComponentELTag.release.

Release any resources allocated during the execution of this tag handler.

setBgcolorback to summary
public void setBgcolor(ValueExpression bgcolor)
setBodyrowsback to summary
public void setBodyrows(ValueExpression bodyrows)
setBorderback to summary
public void setBorder(ValueExpression border)
setCaptionClassback to summary
public void setCaptionClass(ValueExpression captionClass)
setCaptionStyleback to summary
public void setCaptionStyle(ValueExpression captionStyle)
setCellpaddingback to summary
public void setCellpadding(ValueExpression cellpadding)
setCellspacingback to summary
public void setCellspacing(ValueExpression cellspacing)
setColumnClassesback to summary
public void setColumnClasses(ValueExpression columnClasses)
setColumnsback to summary
public void setColumns(ValueExpression columns)
setDirback to summary
public void setDir(ValueExpression dir)
setFooterClassback to summary
public void setFooterClass(ValueExpression footerClass)
setFrameback to summary
public void setFrame(ValueExpression frame)
setHeaderClassback to summary
public void setHeaderClass(ValueExpression headerClass)
setLangback to summary
public void setLang(ValueExpression lang)
setOnclickback to summary
public void setOnclick(ValueExpression onclick)
setOndblclickback to summary
public void setOndblclick(ValueExpression ondblclick)
setOnkeydownback to summary
public void setOnkeydown(ValueExpression onkeydown)
setOnkeypressback to summary
public void setOnkeypress(ValueExpression onkeypress)
setOnkeyupback to summary
public void setOnkeyup(ValueExpression onkeyup)
setOnmousedownback to summary
public void setOnmousedown(ValueExpression onmousedown)
setOnmousemoveback to summary
public void setOnmousemove(ValueExpression onmousemove)
setOnmouseoutback to summary
public void setOnmouseout(ValueExpression onmouseout)
setOnmouseoverback to summary
public void setOnmouseover(ValueExpression onmouseover)
setOnmouseupback to summary
public void setOnmouseup(ValueExpression onmouseup)
setPropertiesback to summary
protected void setProperties(UIComponent component)

Overrides javax.faces.webapp.UIComponentELTag.setProperties.

Doc from javax.faces.webapp.UIComponentELTag.setProperties.

Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. This method must be called ONLY if the specified UIComponent was in fact created during the execution of this tag handler instance, and this call will occur BEFORE the UIComponent is added to the view.

Tag subclasses that want to support additional set properties must ensure that the base class setProperties() method is still called. A typical implementation that supports extra properties foo and bar would look something like this:

protected void setProperties(UIComponent component) {
  super.setProperties(component);
  if (foo != null) {
    component.setAttribute("foo", foo);
  }
  if (bar != null) {
    component.setAttribute("bar", bar);
  }
}

The default implementation overrides the following properties:

  • rendered - Set if a value for the rendered property is specified for this tag handler instance.
  • rendererType - Set if the getRendererType() method returns a non-null value.
Parameters
component:UIComponent

UIComponent whose properties are to be overridden

setRoleback to summary
public void setRole(ValueExpression role)
setRowClassback to summary
public void setRowClass(ValueExpression rowClass)
setRowClassesback to summary
public void setRowClasses(ValueExpression rowClasses)
setRulesback to summary
public void setRules(ValueExpression rules)
setStyleback to summary
public void setStyle(ValueExpression style)
setStyleClassback to summary
public void setStyleClass(ValueExpression styleClass)
setSummaryback to summary
public void setSummary(ValueExpression summary)
setTitleback to summary
public void setTitle(ValueExpression title)
setWidthback to summary
public void setWidth(ValueExpression width)