BBJSP CORE:VGet Tag (Deprecated)
The BBJSP system is deprecated. For new development, use BBxServlet.
Description
In BBj 16.0 and higher, the vget (vector-get) tag can be used in a BBJSP Page to access a specified element within a BBjVector.
Attributes
Attribute Name |
Description |
Required |
Expression |
Data Type |
---|---|---|---|---|
data |
the data attribute specifies the BBjVector that contains the data |
true |
true |
|
id |
the id attribute specifies the id to use for the current element during the looping process |
true |
true |
String |
index |
the index attribute specified the item number to get from the vector. A value of zero (0) refers to the first element in the vector. |
true |
true |
int |
Remarks
The Core Tag Library library needs to be referenced in the BBJSP Page
In the following example we store a vector containing several strings in the page context and using the <c:vget> tag we read element 3 from the vector but since the BBjVector is a zero-based list, item 3 is the 4th element in the array and contains the text "FOUR".
Example
|