This component allows you to render a part of the page to a buffer, and then use the buffer later.

One use of this is the dataScroller. If you display a table with t:dataTable, you can't have dataScroller BEFORE the table, as it can't find the not yet rendered table.
So, the solution is that you first render the table to a buffer, then you render the dataScroller, and then you render the buffer's content.
That way, the dataScroller will appear before the table even though it was rendered after it.

Note : the generated links within the buffer are only supported with the MyFaces implementation because of the lack of standard dummy form parameters support.

Buffer Two
Buffer One
Buffer Two

dataTable Example

123456789
994 Cars found, displaying 10 cars, from 1 to 10. Page 1 / 100
ModelColor
1Car Type 1blue
2Car Type 2blue
3Car Type 3blue
4Car Type 4blue
5Car Type 5blue
6Car Type 6blue
7Car Type 7blue
8Car Type 8blue
9Car Type 9blue
10Car Type 10blue
123456789
994 Cars found, displaying 10 cars, from 1 to 10. Page 1 / 100




[HOME]   [SOURCE]