09 lte radio parameters rl09 rb control dtx drx management 20012010
TRANSCRIPT
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
1/103
Stringtype)Set the type of Control to create. This should be a Stringthat represents the fully specified class name of the Controlto create.
Parameterstypethe type of Control to createwriteTopicInfo();
MethodParameterClass displayInFrames();
com.bea.wlw.netui.tags.databinding.invoke
MethodParameter Classpublic class MethodParameter
extends AbstractBaseTagA tag that is used to add an argument to a method that will be calledon some object. This tag can be nested within tags that extend the AbstractCallMethodclass. Those tags are:
The methodParameter tags are used to parameterize the methodthat the AbstractCallMethod class will call; each methodParameter
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
2/103
tag represents a single parameter. These tags are evaluated in order and the parametersthey describe are passed in order.
Overloaded methods on an object can be invoked by setting the typeattribute on each methodParameter tag that is embedded ina method invocation tag. The type name must exactly match the primitivetype name or the fully qualified class name of the argument. ThemethodParameter tags must also be in the order that theywill be passed to this method. The value of the type attribute must bean exact match of the type if it were printed after having beenaccessed through Java reflection.
In order to pass null as an argument to a method, thenull attribute must be set on this tag. Either the null attribute or thevalue attribute must be set on this tag.
Attribute DescriptionsAttributeRequiredRuntime Expression EvaluationData BindablenullNoNoNoA boolean that, if true, will pass null to the
method call.typeNoNoNoThe String of the type of this argument in the method signature.This name should match the primitive type name or fully qualified classname of the parameters on the signature of the method to which thisparameter will be passed. For example:Method SignatureArgument NameType valueaddToPrice(int price)priceintaddToPrice(Integer price)pricejava.lang.Integer
valueNoNoYesThe value to pass to the method call.
Related Topics
CallControl
CallMethod
CallPageFlow -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
3/103
>
Hierarchy
How Do I: Pass Request-time Data toa methodParameter?
Object
TagSupport
BodyTagSupport
AbstractBaseTag
MethodParameterAll Implemented Interfaces
BodyTag, IterationTag, Serializable, TagField SummaryFields from com.bea.wlw.netui.tags.AbstractBaseTag
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
4/103
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER
, ONMOUSEUP, STYLE, TABINDEX
Fields from javax.servlet.jsp.tagext.BodyTagSupportbodyContent
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
5/103
Fields from javax.servlet.jsp.tagext.TagSupportid, pageContext
Fields from interfacejavax.servlet.jsp.tagext.BodyTagEVAL_BODY_BUFFERED, EVAL_BODY_TAG
Fields from interfacejavax.servlet.jsp.tagext.IterationTagEVAL_BODY_AGAIN
Fields from interfacejavax.servlet.jsp.tagext.Tag
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
6/103
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor SummaryMethodParameter()
Method Summary
public intdoEndTag()
Prepare the value to pass up to the AbstractCallMethod typeparent.public int
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
7/103
doStartTag()
Start this tag's lifecycle. public StringgetTagName()
Get the name of this tag. public StringgetType()
Get the name of the type of this argument in the method signature.public StringgetValue()
Gets the String value of the parameter to pass to a method or an expression.public bool
eanisNull()
Gets a boolean that describes whether or not a null should be passedto the method that is to be called.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
8/103
protected voidlocalRelease()
Reset all of the fields of this tag.public voidsetNull(boolean isNull)
Sets a boolean that describes that the parameter that should be passedto the method is null.
public voidsetType(String type)
Set a String matching the type of this parameter on the method to invoke.public voidsetValue(String
value) Sets the value of the method parameter that will be passedto the method call.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
9/103
tags.%0D%0A%09%09%09%09%09AbstractBaseTag">Methods from com.bea.wlw.netui.tags.AbstractBaseTagaddTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getUserLocale, registerTagError, release, renderAttribute, rewriteName, write
Methods from javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
10/103
/jsp/tagext/BodyTagSupport.html#release()" target="_blank">release, setBodyContent
Methods from javax.servlet.jsp.tagext.TagSupportdoAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
Methods from classjava.lang.Objectclone, equals, finalize,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
11/103
api/java/lang/Object.html#getClass()" target="_blank">getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods from interfacejavax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
Methods from interfacejavax.servlet.jsp.tagext.IterationTagdoAfterBody
Methods from interfacejavax.servlet.jsp.tagext.TagdoEndTag,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
12/103
m/j2ee/1.4/docs/api/javax/servlet/jsp/tagext/Tag.html#doStartTag()" target="_blank">doStartTag, getParent, release, setPageContext, setParent
Constructor DetailMethodParameterpublic MethodParameter()
Method DetaildoEndTag() Methodpublic int doEndTag()
throws JspExceptionPrepare the value to pass up to the AbstractCallMethod typeparent.
OverridesBodyTagSupport.doEndTag()ReturnsEVAL_PAGE to continue evaluating the page Exceptions
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
13/103
ion.html" target="_blank">JspExceptiondoStartTag() Methodpublic int doStartTag()
OverridesBodyTagSupport.doStartTag()
throws JspExceptionStart this tag's lifecycle. Verify that this tag is nested withina AbstractCallMethod tag and that one of the "null" and "value"attributes are set.ReturnsSKIP_BODY ExceptionsJspExceptionif an error occurs getting the parameter
getTagName() Methodpublic String getTagName()Get the name of this tag. This is used to identify the type of this tagfor reporting tag errors.
OverridesAbstractBaseTag.getTagName()Returnsa constant String representing the name of this tag.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
14/103
getType() Methodpublic String getType()Get the name of the type of this argument in the method signature.
Returnsthe type name getValue() Methodpublic String getValue()Gets the String value of the parameter to pass to a method or an expression. Returnsa String value or an expressionisNull() Methodpublic boolean isNull()Gets a boolean that describes whether or not a null should be passedto the method that is to be called.
Returnstrue if null will be passed; false otherwise localRelease() Methodprotected void localRelease()Reset all of the fields of this tag.
OverridesAbstractBaseTag.localRelease()setNull(boolean) Methodpublic void setNull(booleanisNull)Sets a boolean that describes that the parameter that should be passedto the method is null.
ParametersisNull -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
15/103
a value that describes whether or not this tag should pass null; iftrue null will be passed; otherwise the value from the value attributewill be passed. setType(String) Methodpublic void setType(Stringtype)
Set a String matching the type of this parameter on the method to invoke.
This name should match the primitive type name or fully qualified classname of the parameters on the signature of the method to which thisparameter will be passed.
For example:
Method SignatureArgument NameType valueaddToPrice(int price)priceintaddToPrice(Integer price)pricejava.lang.Integer
Parameterstypethe type namesetValue(String) Methodpublic void setValue(Stringvalue)Sets the value of the method parameter that will be passedto the method call. This String can be an expression.If the value is not an expression that referencesan Object, the AbstractCallMethod.doEndTag() will attempt to c
onvertthe String to type that matches the position of the MethodParametertag in the list of MethodParameter tags nested inside of an AbstractCallMethodtag.
Parameters -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
16/103
valuea String value which may be an expression
writeTopicInfo();
ObjectNotFoundExceptionClass displayInFrames();
com.bea.wlw.netui.tags.databinding.invoke
ObjectNotFoundException Classpublic class ObjectNotFoundException
extends ExceptionAn exception thrown when an object on which to invoke a method can notbe found. The CallMethod.resolveObject() call throws this exception.
Hierarchy
Object
Throwable
Exception
ObjectNotFoundExceptionAll Implemented Interfaces -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
17/103
SerializableConstructor SummaryObjectNotFoundException()
Construct an ObjectNotFoundException.ObjectNotFoundException(Stringmessage, Throwablecause, StringobjectName)
Construct an ObjectNotFoundException with the given message, cause, and objectName.ObjectNotFoundException(Stringmessage,Throwablecause)
Construct an ObjectNotFoundException with the given message andcause. -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
18/103
ObjectNotFoundException(Stringmessage)
Construct an ObjectNotFoundException with the given message.ObjectNotFoundException(Throwablecause)
Construct an ObjectNotFoundException with the given causeMethod Summary
public StringgetObjectName()
Get the name of the object whose lookup failed.
Methods from java.lang.Throwable
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
19/103
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods from classjava.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
20/103
ObjectNotFoundExceptionpublic ObjectNotFoundException()Construct an ObjectNotFoundException.ObjectNotFoundExceptionpublic ObjectNotFoundException(Stringmessage,
Throwablecause,
StringobjectName)
Construct an ObjectNotFoundException with the given message, cause, and objectName.ObjectNotFoundExceptionpublic ObjectNotFoundException(Stringmessage,
Throwablecause)Construct an ObjectNotFoundException with the given message andcause.ObjectNotFoundExceptionpublic ObjectNotFoundException(String&nbs
p;message)Construct an ObjectNotFoundException with the given message.ObjectNotFoundExceptionpublic ObjectNotFoundException(
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
21/103
/docs/api/java/lang/Throwable.html" target="_blank">Throwablecause)Construct an ObjectNotFoundException with the given causeMethod DetailgetObjectName() Methodpublic String getObjectName()Get the name of the object whose lookup failed.
Returnsthe String namewriteTopicInfo();
com.bea.wlw.netui.tags.databinding.invoke displayInFrames();
com.bea.wlw.netui.tags.databinding.invoke
Package
Class Summary
AbstractCallMethod
An abstract base class for tags that are capable of reflectivelyinvoking methods.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
22/103
CallControl
A tag that is used to call a method on a control.
CallMethod
An abstract base class for tags that are capable of reflectivelyinvoking methods.
CallPageFlow
A tag that is used to call a method on the current PageFlowController.
DeclareControl
Declare a control that is stored in the PageContextattribute map.
MethodParameter
A tag that is used to add an argument to a method that will be calledon some object.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
23/103
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
24/103
mnBasicColumnExpressionColumnImageColumn
Additionally, the Columns tag has the capability to set "global" propertiesfor allof the contained GridColumn tags. Specifically, the ability to sort / filter and theactions associated with performing these operations can be set here. All sortableand filterable GridColumn tags that are contained within a Columns tag mayuse these values or may override them if a column needs to be handled specially.
Attribute DescriptionsAttributeRequiredRuntime Expression EvaluationData Bindable
filterableNoNoNoA boolean that enables all of the contained GridColumn objects that areSortFilterColumn types to be filterable. Individual GridColumn tags can overridethis to enable / disable filtering.filterActionNoNoNoThe action that will be executed if any filterable GridColumn tagsare filtered. Individual GridColumn tags can override this to call a differentaction.
sortableNoNoNoA boolean that enables all of the contained GridColumn objects thatare SortFilterColumn types to be sortable. Individual GridColumn tags can overridethis to enable / disable sorting.sortActionNoNoNoThe action that will be executed if any sortable GridColumntagsare sorted. Individual GridColumn tags can override this to call a different action.
styleClassPrefixNoNoNoA style class prefix that will be applied to all cells in allcolumns inside of a GridColumns tag.This attribute provides a way to customize the header, data, and footer cells of allgrid columns with a single attribute.See GridColumn.setStyleClassPrefix(String)
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
25/103
ODE>for more information on how columns apply CSS styles to cells.
Related Topics
Tag Sample
Hierarchy
Grid
Object
TagSupport
BodyTagSupport
AbstractBaseTag
StructuredBaseTag
GridComponent
ColumnsAll Implemented Interfaces
BodyTag, IterationTag, Serializable, Tag -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
26/103
Field Summary
Fields from com.bea.wlw.netui.tags.databinding.base.StructuredBaseTagEMPTY_STRING
Fields from com.bea.wlw.netui.tags.AbstractBaseTagATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
27/103
netui/tags/AbstractBaseTag.html#ONMOUSEMOVE')" target="_self">ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, STYLE, TABINDEX
Fields from javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
Fields from javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields from interfacejavax.servlet.jsp.tagext.BodyTagEVAL_BODY_BUFFERED, EVAL_BODY_TAG
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
28/103
Fields from interfacejavax.servlet.jsp.tagext.IterationTagEVAL_BODY_AGAIN
Fields from interfacejavax.servlet.
jsp.tagext.TagEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor Summary
Columns()
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
29/103
Method Summarypublic StringgetFilterAction()
Get the action that will be invoked if a contained GridColumn tag is filtered.
public StringgetSortAction()
Get the action that will be invoked if a contained GridColumn tag is sorted.
public StringgetStyleClassPrefix()
Get the default style class prefix that is applied toall columns in the grid.
public StringgetTagName()
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
30/103
Get the name of this tag. public booleanisFilterable()
Get whether or not this column can be filtered.public booleanisSortable()
Get whether or not this column can be sorted.protected voidlocalRelease()
Reset all of the fields of this tag.
protected intrenderEndTag(int gridState)
protected intrenderStartTag(int gridState)
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
31/103
public voidsetFilterable(boolean filterable)
Set whether or not this column can be filtered. public voidsetFilterAction(String
filterAction) Set the action that will be invoked if a contained GridColumn tag is filtered. public voidsetSortable(boolean sortable)Set whether or not this column can be sorted. public voidsetSortAction(String sortAction)
Set the action that will be invoked if a contained GridColumn tag is sorted. public void
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
32/103
setStyleClassPrefix(String styleClassPrefix)
Set a default style class prefix that is applied toall columns in the grid.
Methods from com.bea.wlw.netui.tags.databinding.grid.GridComponent
getCurrentRenderState, getGrid, getGridContext, getValidContainerType, prepare
Methods from com.bea.wlw.netui.tags.databinding.base.StructuredBaseTagaddContent, doEndTag, doStartTag, getContent, getCurrentRenderState, getValidContainerType, localRelease, prepare, verifyAttributes, verifyStructure
Methods from com.bea.wlw.netui.tags.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
33/103
tags/AbstractBaseTag.html')" target="_self">AbstractBaseTagaddTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getUserLocale, localRelease, registerTagError, release, renderAttribute, rewriteName, write
Methods from javax.servlet.jsp.tagext.BodyTagSupportdoAfterBody, doEndTag, doInitBody, doStartTag,getBodyContent, getPreviousOut,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
34/103
/j2ee/1.4/docs/api/javax/servlet/jsp/tagext/BodyTagSupport.html#release()" target="_blank">release, setBodyContent
Methods from javax.servlet.jsp.tagext.TagSupportdoAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
Methods from classjava.lang.Objectclone, equals, finalize,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
35/103
api/java/lang/Object.html#getClass()" target="_blank">getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods from interfacejavax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
Methods from interfacejavax.servlet.jsp.tagext.IterationTagdoAfterBody
Methods from interfacejavax.servlet.jsp.tagext.TagdoEndTag,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
36/103
m/j2ee/1.4/docs/api/javax/servlet/jsp/tagext/Tag.html#doStartTag()" target="_blank">doStartTag, getParent, release, setPageContext, setParent
Constructor DetailColumnspublic Columns()
Method DetailgetFilterAction() Methodpublic String getFilterAction()
Get the action that will be invoked if a contained GridColumn tag is filtered.
Returnsthe action that will be called to sort a GridColumn insideof a Columns tag. getSortAction() Methodpublic String getSortAction()Get the action that will be invoked if a contained GridColumn tag is sorted.
Returnsthe action that will be called to sort a GridColumn insideof a Columns tag. getStyleClassPrefix() Method -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
37/103
public String getStyleClassPrefix()Get the default style class prefix that is applied toall columns in the grid. See GridColumn.setStyleClassPrefix(String)for more information.
Returnsthe style class prefix that is used by all columns in a grid. getTagName() Methodpublic String getTagName()Get the name of this tag. This is used to identify the type of this tagfor reporting tag errors. OverridesAbstractBaseTag.getTagName()Returnsa constant String representing the name of this tag.
isFilterable() Methodpublic boolean isFilterable()Get whether or not this column can be filtered.
Returnstrue if this column is filtered; false otherwise.isSortable() Methodpublic boolean isSortable()Get whether or not this column can be sorted.
Returnstrue if this column is filtered; false otherwise.localRelease() Method -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
38/103
protected void localRelease()Reset all of the fields of this tag.
OverridesGridComponent.localRelease()renderEndTag(int) Methodprotected int renderEndTag(intgridState)OverridesStructuredBaseTag.renderEndTag(int)renderStartTag(int) Methodprotected int renderStartTag(intgridState)OverridesStructuredBaseTag.renderStartTag(int)
setFilterable(boolean) Methodpublic void setFilterable(booleanfilterable)Set whether or not this column can be filtered. This attributewill help determine the capability of a containedGridColumn tags.
Parametersfilterablea boolean that sets this capability. If true thiscolumn may be filterable; otherwise it is not. setFilterAction(String) Methodpublic void setFilterAction(
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
39/103
cs/api/java/lang/String.html" target="_blank">StringfilterAction)Set the action that will be invoked if a contained GridColumn tag is filtered. The useof this attribute requires the presence of a PageFlowControllerin the JSP's directory. This attribute will help determine the sort action ofa containedGridColumn tags.
ParametersfilterActionthe action that will be called to filter the column setSortable(boolean) Methodpublic void setSortable(booleansortable)Set whether or not this column can be sorted. This attributewill help determine the capability of a containedGridColumn tags.
Parameterssortablea boolean that sets this capability. If true thiscolumn may be sortable; otherwise it is not.setSortAction(String) Methodpublic void setSortAction(StringsortAction)Set the action that will be invoked if a contained GridColumn tag is sorted. The useof this attribute requires the presence of a PageFlowControllerin the JSP's directory. This attribute will help determine the sort action of
a containedGridColumn tags.
ParameterssortActionthe action that will be called to sort the column -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
40/103
setStyleClassPrefix(String) Methodpublic void setStyleClassPrefix(StringstyleClassPrefix)Set a default style class prefix that is applied toall columns in the grid. See GridColumn.setStyleClassPrefix(String)for more information.
& @param styleClassPrefix a style class prefix that is used by all columnsin a grid
writeTopicInfo();
GridClass displayInFrames();
com.bea.wlw.netui.tags.databinding.grid
Grid Classpublic class Grid
extends DataSourceTag
implements DataAccessProvider, ErrorReporterA tag is the containing tag of a tag set that renders regular data withthe ability to page, sort, and filter the data set. A grid rendersa table that represents the data in a data set. In addition, metadataabout the data set may be used to parameterize aspects of grid rendering.
The grid uses two objects to encapsulate its attributes and the data set tha
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
41/103
tis rendered. These items are:
GridContextDataContextThe former is used to encapsulate the attributes set on the Grid tag, whilethelatter is used to provide a consistent interface over different types ofdata sets. This enables the tags to interact with the same interface regardlessof the type of data being displayed.
A grid renders a table in order to display the data. This table consists ofthree parts:
headerdata rowsfooterThese parts are structured in a grid as follows:
column 1: headercolumn 2: headercolumn 3: headercolumn 1: data cellcolumn 2: data cellcolumn 3: datacellcolumn 1: data cellcolumn 2: data cellcolumn 3: datacellcolumn 1: data cellcolumn 2: data cellcolumn 3: datacellcolumn 1: footercolumn 2: footercolumn 3: footer
The grid is rendered either automatically or by nesting tags of typeGridColumntags inside of a Columns tag. The GridColumn tags are:
AnchorColumnBasicColumnExpressionColumnImageColumn
If the grid is automatically rendered, all parts of the table above are rendered from the data set.The resulting Grid is not sortable or filterable. If the grid is rendered usingits GridColumn,each column renders a single cell for each row. Regardless of how a grid is rendered, a row isrendered for each item in the data set, unless a
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
42/103
Pager tag is used to set the page size.
The types that are supported for rendering in the grid are RowSet.Any other types that are passed to the grid via an expression in the dataSourceattribute willbe illegal and an error will be reported in the JSP page.
Attribute DescriptionsAttributeRequiredRuntime Expression EvaluationData BindableautoRenderNoNoNoA boolean specifying whether the grid should automaticallyrender or should render using its body.dataSourceYesNoYesAn expression that references a data object which should berendered by the grid.Only data sets of type RowSet are supported.nameYesNoYesA unique identifier for this grid.
Related Topics
Tag Sample
Presenting Complex Data Sets in JSPs
ColumnsHierarchy
Object
TagSupport
BodyTagSupport
AbstractBaseTag
DataSourceTag
Grid -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
43/103
All Implemented Interfaces
BodyTag, DataAccessProvider, ErrorReporter, IterationTag, Serializable, TagField Summarypublic static finalintEND
A Grid rendering state that runs after the Grid.FOOT_PAGER state has completed.public static finalint
FOOT_PAGERA Grid rendering state that runs after the grid to give the optionalPager the opportunityto render after the grid renders.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
44/103
public static finalintFOOTERA Grid rendering state that runs when the Grid's columns are rendering theirfooter cells. public static finalintHEAD_PAGERA Grid rendering state that runs to give the optional Pagerthe opportunity to render before the grid renders. public static finalintHEADER
A Grid rendering state that runs when the Grid's columns are rendering theirheader cell.public static finalintINITA Grid rendering state that runs on the Grid's first pass through its body.public static finalint
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
45/103
ROWSA Grid rendering state that runs when the Grid's columns are rendering theirdatacells. public static finalintSTARTA Grid rendering state which signals that an error has occurred during rendering.
Fields from com.bea.wlw.netui.tags.AbstractBaseTag
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
46/103
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
47/103
/jsp/tagext/BodyTag.html" target="_blank">BodyTagEVAL_BODY_BUFFERED, EVAL_BODY_TAG
Fields from interfacecom.bea.wlw.netui.tags.ErrorReporterCONTAINER_ERRORS
Fields from interfacejavax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields from interfacejavax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
48/103
Constructor SummaryGrid()
Method Summarypublic final void
addContent(String content)
Add content to the content that is being buffered by this tag. public void
addError(AbstractPageError ape)
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
49/103
public intdoAfterBody()
Conginue rendering the grid until it has passed through all of its renderingstates. public intdoEndTag()
Render the content for the grid.
public intdoStartTag()
Start the rendering of the grid.
public booleangetAutoRender()
Get a boolean that tells whether a grid will render automatically.
public final StringgetContent()
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
50/103
Get the content which should be rendered by this tag.public intgetCurrentIndex()
Get the index of the current iteration through the body of this tag. public ObjectgetCurrentItem()
Get the item that is currently being rendered by this repeating tag.public ObjectgetCurrentMetadata()Get the metadata for the current item. public final DataContextgetDataContext()
public String
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
51/103
getDataSource()
Get the expression that references the data item to which theDataAccessProvider is bound.protected StringgetErrorsReport()
public fina
l GridContextgetGridContext()
public StringgetImageRoot()
public StringgetName()
Get the name of a grid.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
52/103
public DataAccessProvidergetProviderParent()
Get the parent DataAccessProvider for this tag. public intgetRenderState()
Get the current render state for the Grid. public StringgetTagName()
Get the name of this tag. protected booleanhasErrors()
public booleanisReporting()
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
53/103
This boolean indicates if an ErrorReporter is reporting errorsor not. protected voidlocalRelease()
Reset all of the fields of this tag.public ArrayList
returnErrors()
Return an ArrayList of the errorspublic voidsetAutoRender(boolean autoRender)Set a boolean that tells a Grid to render it self automatically. public voidsetDataSource(String dataSource)
Set the dataSource attribute. public void
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
54/103
setGridStyle(GridStyleContext gridStyle)
Set the GridStyleContext thatencapsulates the style information for a Grid tag. public voidsetImageRoot(String imageRoot)
public voidsetName(String name)
Set the name of a grid.
Methods from com.bea.wlw.netui.tags.DataSourceTag
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
55/103
Methods from com.bea.wlw.netui.tags.AbstractBaseTagaddTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm,
getScriptReporter, getUserLocale, localRelease, registerTagError, release, renderAttribute, rewriteName, write
Methods from javax.servlet.jsp.tagext.BodyTagSupportdoInitBody, getBodyContent, getPreviousOut, r
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
56/103
elease, setBodyContent
Methods from javax.servlet.jsp.tagext.TagSupportdoAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
Methods from classjava.lang.Objectclone, equals, finalize, getClass,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
57/103
p://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" target="_blank">hashCode, notify, notifyAll, toString, wait, wait, wait
Methods from interfacejavax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
Methods from interfacecom.bea.wlw.netui.tags.DataAccessProvidergetCurrentIndex, getCurrentItem, getCurrentMetadata, getDataSource, getProviderParent, setDataSource
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
58/103
Methods from interfacecom.bea.wlw.netui.tags.ErrorReporteraddError, isReporting, returnErrors
Methods from interfacejavax.servlet.jsp.tagext.IterationTagdoAfterBody
Methods from interfacejavax.servlet.jsp.tagext.TagdoEndTag, doStartTag, getParent, release, setPageContext, setParent
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
59/103
Field DetailENDpublic static final int ENDA Grid rendering state that runs after the Grid.FOOT_PAGER state has completed.This state signals that the Grid has completed rendering.
FOOT_PAGERpublic static final int FOOT_PAGERA Grid rendering state that runs after the grid to give the optionalPager the opportunityto render after the grid renders. This state executes exactly once.
FOOTERpublic static final int FOOTERA Grid rendering state that runs when the Grid's columns are rendering theirfooter cells. In this state, there is no data available to the Grid on theDataAccessProvider interface and expressions that reference thecontainer context are invalid. This state executesexactly once.
HEAD_PAGERpublic static final int HEAD_PAGERA Grid rendering state that runs to give the optional Pagerthe opportunity to render before the grid renders. This state executes exactlyonce.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
60/103
HEADERpublic static final int HEADERA Grid rendering state that runs when the Grid's columns are rendering theirheader cell.In this state, there is no data available to the Grid on the DataAccessProviderinterfaceand expressions that reference the container context are invalid.
This state executes exactly once.
INITpublic static final int INITA Grid rendering state that runs on the Grid's first pass through its body.Initializationby the child tags may occur on at this time. This state executes exactly once.
ROWSpublic static final int ROWSA Grid rendering state that runs when the Grid's columns are rendering theirdatacells. The data cells contain data that is extracted from the "current" data item.This state executes once for each data item.
STARTpublic static final int STARTA Grid rendering state which signals that an error has occurred during rendering.
Constructor Detail -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
61/103
Gridpublic Grid()Method DetailaddContent(String) Methodpublic final void addContent(Stringcontent)Add content to the content that is being buffered by this tag. All contentwritten by the body of this tag is added to this buffer. The buffer is rendered
at the end of the tag's lifecycle if no fatal errors have occurred during thistag's lifecycle.
Parameterscontentcontent that this tag should render. addError(AbstractPageError) Methodpublic void addError(AbstractPageErrorape)doAfterBody() Methodpublic int doAfterBody()Conginue rendering the grid until it has passed through all of its renderingstates. This JSP lifecycle method transitions to the next grid renderingstate and advances through the dataset until each of the following rendering st
ateshas completed:INITHEAD_PAGERHEADERROWSFOOTERFOOT_PAGEREND
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
62/103
While the execution of these lifecycle states is ongoing, the body contentis buffered and added to the grid's content to render using theGrid.addContent(String) method. Once the END state isreached, the body is skipped. Each of these stages makes a pass throughthe tag's body once except for the ROWS state, which is executed once foreach item in the dataset.
OverridesBodyTagSupport.doAfterBody()ReturnsSKIP_BODY if in the END rendering state; EVAL_BODY_BUFFERED otherwise.doEndTag() Methodpublic int doEndTag()
OverridesBodyTagSupport.doEndTag()ReturnsEVAL_PAGE ExceptionsJspException
throws JspExceptionRender the content for the grid.if an error has occurred that can not be reported in the pagedoStartTag() Methodpublic int doStartTag()
throws JspException -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
63/103
Start the rendering of the grid. The dataSource attribute is evaluatedas an expression and the result is converted into a DataContextobject. The body is rendered the first time in the INIT state.
OverridesBodyTagSupport.doStartTag()ReturnsEVAL_BODY_BUFFERED or SKIP_BODY if errors have occurred ExceptionsJspExceptionthrown when an error occurs during grid rendering that can notbe reported in the page.getAutoRender() Methodpublic boolean getAutoRender()Get a boolean that tells whether a grid will render automatically.
Returnstrue if the grid should automatically render; falseotherwise.getContent() Methodpublic final String getContent()Get the content which should be rendered by this tag.
Returnsthe content String if there is content; null otherwisegetCurrentIndex() Methodpublic int getCurrentIndex()Get the index of the current iteration through the body of this tag. Thisdata can be accessed using the expression container.indexon an attribute of a databindable NetUI tag that is contained within therepeating body of this tag. This expression is only valid when the datasetis being rendered.
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
64/103
Returnsthe integer index of the current data item in the data set
Related Topics
DataAccessProvider
getCurrentItem() Methodpublic Object getCurrentItem()Get the item that is currently being rendered by this repeating tag.This can be accessed using the expression expression.itemon an attribute of a databindable NetUI tag that is contained withinthe repeating body of this tag. The expression is only valid when the datasetis being rendered.Returnsthe current item in the data set
Related Topics
DataAccessProvider
getCurrentMetadata() Methodpublic Object getCurrentMetadata()Get the metadata for the current item. This method is not supported bythis tag.
Returnsthe current metadata or null if no metadata can befound or metadata is not supported by a DataAccessProvider implementationRelated Topics
DataAccessProvider
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
65/103
getDataContext() Methodpublic final DataContext getDataContext()Returnsthe DataContext that is associated with a Grid tag getDataSource() Methodpublic String getDataSource()Description copied from DataAccessProvider.getDataSource()
Overrides
Get the expression that references the data item to which theDataAccessProvider is bound.DataSourceTag.getDataSource()Returnsthe expression referencing the data source or null if nodataSource is set
getErrorsReport() Methodprotected String getErrorsReport()OverridesAbstractBaseTag.getErr
orsReport()getGridContext() Methodpublic final GridContext getGridContext()
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
66/103
Returnsthe GridContext that is associated with a Grid tag getImageRoot() Methodpublic String getImageRoot()getName() Methodpublic String getName()Get the name of a grid.
Returnsthe String name of the grid or an expressionthat references a String name of the gridgetProviderParent() Methodpublic DataAccessProvider getProviderParent()Get the parent DataAccessProvider for this tag. If this tag is containedwithina DataAccessProvider, the containing DataAccessProvider is available through theexpression container.container. Any valid properties of theparent DataAccessProvider can be accessed through this expression. This method
will return null if there is no parent DataAccessProvider
Returnsa containing DataAccessProvider if one exists, null otherwise.Related Topics
DataAccessProvider
getRenderState() Methodpublic int getRenderState()Get the current render state for the Grid. This tag is used by child tagsto access the current location in the Grid's rendering lifecycle. Returns -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
67/103
an integer that represents the current state of the grid; this is oneof Grid.START, Grid.INIT, Grid.HEAD_PAGER, Grid.HEADER, Grid.ROWS,Grid.FOOTER, Grid.FOOT_PAGER, or Grid.END
getTagName() Methodpublic String getTagName()Get the name of this tag. This is used to identify the type of this tagfor reporting tag errors.
OverridesAbstractBaseTag.getTagName()Returnsa constant String representing the name of this tag. hasErrors() Methodprotected boolean hasErrors()
OverridesAbstractBaseTag.hasErrors()
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
68/103
isReporting() Methodpublic boolean isReporting()Description copied from ErrorReporter.isReporting()
Returnsa boolean indicating if the tag is reporting errors or not. localRelease() Methodprotected void localRelease()Reset all of the fields of this tag.
This boolean indicates if an ErrorReporter is reporting errorsor not. The caller should check this before calling addErrorbecause the ErrorReporter may be off for some reason.OverridesDataSourceTag.localRelease()returnErrors() Methodpublic ArrayList returnErrors()Description copied from ErrorReporter.returnErrors()
Returnsan ArrayList of all errors. setAutoRender(boolean) Method
Return an ArrayList of the errorspublic void setAutoRender(booleanautoRender)Set a boolean that tells a Grid to render it self automatically. Automaticrendering of a dataset bypasses any user paramteerization in the body of theGrid and disallows several grid features including sorts, filters, and paging.
Parameters -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
69/103
autoRendera boolean signifying whether a grid should automatically render.If true auto render; otherwise render using the tags in the grid'sbody. setDataSource(String) Methodpublic void setDataSource(StringdataSource)Set the dataSource attribute. The dataSource attribute is anexpression that references an object whose datawill be rendered by the Grid.
OverridesDataSourceTag.setDataSource(String)ParametersdataSourcean expression that references a data object
setGridStyle(GridStyleContext) Methodpublic void setGridStyle(GridStyleContextgridStyle)Set the GridStyleContext thatencapsulates the style information for a Grid tag. A GridStyleContext iscreated by the GridStyle tag in order to
parameterize the Grid with style information. The context is set here becauseit willbe reused in many states during a Grid tag's lifecycle, and the specific GridStyletag may not be valid when the style information is needed.
Returnsa GridStyleContext object -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
70/103
that encapsulates the style information for a Grid tag setImageRoot(String) Methodpublic void setImageRoot(StringimageRoot)setName(String) Methodpublic void setName(Stringname)Set the name of a grid. The name attribute of a grid is used to identifyparameters in the URL that further parameterize how a grid is rendered.Specifically, the URL contains information about any sorts and filtersthat may be applied to a dataset that is associated with a grid. Gridnames should be unique within the scope of the pages where the gridmay exist; if a exists in a Page Flow, its grid name should be
unique across the page flow so that parameters in the URL whichare scoped to a particular grid on a particular page do not collide.
Parametersnamethe String name of the grid or an expression that references a String name of the gridwriteTopicInfo();
GridComponentClass
displayInFrames();
com.bea.wlw.netui.tags.databinding.grid
GridComponent Class -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
71/103
public abstract class GridComponent
extends StructuredBaseTagAn abstract base class for all tags that can be contained directly inside ofaGrid tag. This class provides services to subclasses such asmethods to access:the grid's current render statethe Grid tag itselfthe Grid tag's GridContextAdditionally, the requirement that any subclass be parented by a Gridis enforced here.
Hierarchy
Object
TagSupport
BodyTagSupport
AbstractBaseTag
StructuredBaseTag
GridComponentAll Implemented Interfaces
BodyTag, IterationTag, Serializable, TagDirect Known Subclasses -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
72/103
Columns, GridColumn, GridStyle, PagerField Summary
Fields from com.bea.wlw.netui.tags.databinding.base.StructuredBaseTagEMPTY_STRING
Fields from com.bea.wlw.netui.tags.AbstractBaseTagATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
73/103
aseTag.html#NAME')" target="_self">NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, STYLE, TABINDEX
Fields from javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
Fields from javax.servlet.jsp.tagext.TagSupportid, pageContext
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
74/103
Fields from interfacejavax.servlet.jsp.tagext.BodyTagEVAL_BODY_BUFFERED, EVAL_BODY_TAG
Fields from interfacejavax.servlet.jsp.tagext.IterationTagEVAL_BODY_AGAIN
Fields from interfacejavax.servlet.jsp.tagext.TagEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor Summary
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
75/103
GridComponent()
Method Summary
protected intgetCurrentRenderState()
Get the current render state of the parent Grid tag.
protected final GridgetGrid()
Get the parent Grid tag.
protected final GridContextgetGridContext()
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
76/103
Get the Grid tag's GridContext.protected ClassgetValidContainerType()
Get the default container tag type for subclasses of this tag.protected void
localRelease()
Reset all of the fields of this tag.protected void
prepare()
Prepare data that is provided to subclasses of this tag.
Methods from com.bea.wlw.netui.tags.databinding.base.StructuredBaseTagaddContent, doEndTag, doStartTag, getContent, renderEndTag, renderStartTag, verifyAttributes, verifyStructure
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
77/103
tags.%0D%0A%09%09%09%09%09AbstractBaseTag">Methods from com.bea.wlw.netui.tags.AbstractBaseTagaddTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getTagName, getUserLocale, localRelease, registerTagError, release, renderAttribute, rewriteName, write
Methods from javax.servlet.jsp.tagext.BodyTagSupportdoAfterBody, doEndTag,
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
78/103
4/docs/api/javax/servlet/jsp/tagext/BodyTagSupport.html#doInitBody()" target="_blank">doInitBody, doStartTag,getBodyContent, getPreviousOut, release, setBodyContent
Methods from javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
Methods from classjava.lang.Object
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
79/103
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods from interfacejavax.servlet.jsp.tagext.BodyTagdoInitBody, setBodyContent
Methods from interfacejavax.servlet.jsp.tagext.IterationTag
doAfterBody
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
80/103
Methods from interfacejavax.servlet.jsp.tagext.TagdoEndTag, doStartTag, getParent, release, setPageContext, setParent
Constructor Detail
GridComponentpublic GridComponent()Method Detail
getCurrentRenderState() Methodprotected int getCurrentRenderState()Get the current render state of the parent Grid tag.
OverridesStructuredBaseTag.getCurrentRenderState()Returnsthe Grid's current render state
Related Topics
Grid.getRen
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
81/103
derState()
getGrid() Methodprotected final GridgetGrid()Get the parent Grid tag. Returnsthe Grid tag getGridContext() Methodprotected final GridContext getGridContext()Get the Grid tag's GridContext.
Returnsthe GridContext getValidContainerType() Methodprotected Class getValidContainerType()Get the default container tag type for subclasses of this tag.Subclasses may further specify the valid container type.OverridesStructuredBaseTag.getValidContainerType()Returnsa class that is a valid container type for this tag localRelease() Method
protected void localRelease()Reset all of the fields of this tag.
OverridesStructuredBaseTag.localRelease() -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
82/103
prepare() Methodprotected void prepare()Prepare data that is provided to subclasses of this tag.
OverridesStructuredBaseTag.prepare()writeTopicInfo();
GridContextClass displayInFrames();
com.bea.wlw.netui.tags.databinding.grid
GridContext Classpublic final class GridContext
extends ObjectA JavaBean that represents the runtime data of a specific Grid tag instance.This bean provides access to properties about a Grid tag without havingto have a reference to the Grid tag itself. Upon initialization, the Gridwill create a GridContext object that the GridComponent class willprovide to its subclasses.
Information provided here includes the JavaBean that encapsulates the styledata about a Grid and a DataContextobject which exposes the data and metadata that a Grid will use to render.
A GridContext is both created and destroyed in a Grid tag's lifecycle. It isguaranteed to be dereferenced by the Grid in its Grid.release() JSP -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
83/103
lifecycle method call.
Hierarchy
Object
GridContextConstructor SummaryGridContext()
Create a GridContext object.Method Summarypublic boolean
getAutoRender()
Get the Grid's autoRender attribute, Grid.setAutoRender(boolean).
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
84/103
public DataContextgetDataContext()
Get the DataContext that contains the data the Grid will renderpublic StringgetDataSource()
Get the dataSource attribute.
public GridStyleContextgetGridStyle()
Get a JavaBean that contains the style information for the grid.
public StringgetImageRoot()
public StringgetName()
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
85/103
Get the name of the Grid.public voidsetDataContext(DataContext dataContext)
Set the DataContext objectthat the Grid uses to render data from a data set. public void
setDataSource(StringdataSource)
Set the dataSource attribute from the Grid tag. public void
setGridStyle(GridStyleContext gridStyleContext)
Set a GridStyleContext JavaBean thatcontains style information for the grid.
public voidsetImageRoot(String imageRoot)
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
86/103
public voidsetName(String name)
Set the name of the Grid using the Grid tag's Grid.setName(String) attribute.
Methods from classjava.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
87/103
GridContextpublic GridContext()Create a GridContext object. This initializes the DataContext to a basic, emptyDataContext that provides basic data services to Grid tags. If an error occursincreating a real DataContext that is specific to the dataset of the Grid,the empty DataContext may be used to render the grid in an empty state.Method DetailgetAutoRender() Method
public boolean getAutoRender()Get the Grid's autoRender attribute, Grid.setAutoRender(boolean).
Returnsthe autoRender attribute getDataContext() Methodpublic DataContext getDataContext()Get the DataContext that contains the data the Grid will render
Returnsthe DataContext object getDataSource() Methodpublic String getDataSource()Get the dataSource attribute.
Returnsthe expression that references the data a Grid will render. getGridStyle() Methodpublic -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
88/103
tags/databinding/grid/style/GridStyleContext.html')" target="_self">GridStyleContext getGridStyle()Get a JavaBean that contains the style information for the grid.
Returnsthe style information for the Grid getImageRoot() Methodpublic String getImageRoot()getName() Methodpublic String getName()Get the name of the Grid. Returnsthe name of the GridsetDataContext(DataContext) Methodpublic void setDataContext(DataContextdataContext)
Parameters
throws DataContextExceptionSet the DataContext objectthat the Grid uses to render data from a data set. It is illegal to try to setanull DataContext on a GridContext.dataContextthe DataContext object to set. ExceptionsDataContextExceptionif the dataContext parameter is null
Related Topics
DataContext
setDataSource(String) Method -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
89/103
public void setDataSource(StringdataSource)Set the dataSource attribute from the Grid tag. This attribute is anexpression that references a dataset that should be rendered in the grid.
ParametersdataSourcethe expression that references an Object which the grid will render. setGridStyle(GridStyleContext) Methodpublic void setGridStyle(GridStyleContextgridStyleContext)Set a GridStyleContext JavaBean thatcontains style information for the grid.
ParametersgridStyleContextthe style information for the Grid setImageRoot(String) Methodpublic void setImageRoot(StringimageRoot)setName(String) Methodpublic void setName(Stringname)Set the name of the Grid using the Grid tag's Grid.setName(String) attribute.
Parametersnamethe Grid tag's name attribute -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
90/103
writeTopicInfo();
com.bea.wlw.netui.tags.databinding.grid displayInFrames();
com.bea.wlw.netui.tags.databinding.grid
Package
Class Summary
Columns
This tag is a container for the columns that will render the header, data, and footerfor each column in a Grid.
Grid
A setPageContext, setParent, setValue
Methods from classjava.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods from interfacejavax.servlet.jsp.tagext.BodyTagdoInitBody, setBodyContent
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
101/103
Methods from interfacejavax.servlet.jsp.tagext.IterationTagdoAfterBody
Methods from interfacejavax.servlet.jsp.tagext.TagdoEndTag, doStartTag, getParent, release, setPageContext, setParent
Constructor DetailGridStylepublic GridStyle()
Method DetailgetStyleClassPrefix() Methodpublic String getStyleClassPrefix()Get the footer style class
-
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
102/103
Returnsthe footer style class or null if none is set getTagName() Methodpublic String getTagName()Get the name of this tag. This is used to identify the type of this tagfor reporting tag errors.
OverridesAbstractBaseTag.getTagName()Returnsa constant String representing the name of this tag. localRelease() Methodprotected void localRelease()Reset all of the fields of this tag.
OverridesGridComponent.localRelease()renderEndTag(int) Methodprotected int renderEndTag(intgridState)Complete the tag lifecycle. Set the created GridStyleContext
JavaBean on the Grid tag.
OverridesStructuredBaseTag.renderEndTag(int)Parameters -
7/26/2019 09 LTE Radio Parameters RL09 RB Control DTX DRX Management 20012010
103/103
gridStatethe current rendering state of the grid ReturnsEVAL_PAGE renderStartTag(int) Methodprotected int renderStartTag(intgridState)Start the tag lifecycle.
OverridesStructuredBaseTag.renderStartTag(int)ReturnsSKIP_BODYsetStyleClassPrefix(String) Methodpublic void setStyleClassPrefix(StringstyleClassPrefix)Set the footer style class.
ParametersstyleClassPrefixthe footer style class writeTopicInfo();