Databases Reference
In-Depth Information
af:treeTable
The
af:treeTable
component is similar to the
table
component but differs with a
hierarchical informaion display as a tree. The parent row is always collapsed and each
of the nodes is displayed by collapsing the node, as shown in the following screenshot:
Miscellaneous components
Some components in ADF are used to support other components which involve rendering
other components condiionally or looping through the components.
af:forEach
This component is used to display components in iteraion. The
varStatus
property of the
tag will expose the status during iteraion. This component does not contain an
id
atribute
The properies includes:
items
: It gives the collecion or list for iteraion.
begin
: It gives the index at which the loop begins.
end
: It is the index at which the loop ends.
step
: This is the number to increment on each iteraion.
var
: It gives the name of the variable available inside the loop.
varStatus
: It gives the loop status available on iteraion. This can have variables
such as
index
,
count
,
step
,
first
,
last
,
begin
, and
end
.
af:iterator
af:iterator
will use the
collectionModel
component to iterate through the content
just like the
table
component. The rows processed by the
af:iterator
component are
adjusted using the
rows
property. For example, the user might want to display some text
next to the
Ename
atribute of each row of the
EmpVO1
collecion in an output component.
Here,
af:iterator
can use
EmpVO1
collectionModel
as a
value
to iterate to get the
individual row and append the desired message.
Search WWH ::
Custom Search