Tomahawk tag library 1.2.
A component that renders its child components into an in-memory buffer rather than
render them directly to the response stream.
Property "into" is an EL expression that specifies where to store a String holding
the results of rendering all the children of this component; this is assigned to
after rendering of this component (and its children) is complete.
Typically, an h:output tag is then used later in the same page to output the buffer
This can be useful with JSF1.1/JSP2.0 to work around the well-known problem where
on first render of a page, a component "A" cannot reference a component "B" which is
defined later in the page because it has not yet been created. A solution is to define
"B" before "A", but wrapped in a Buffer component. Component A can then be rendered
and successfully reference "B" because it now exists. And later in the page, the buffer
contents can then be output, preserving the original layout.
This can also be useful when rendering the same data block multiple times within a page.
For example, a datatable can be rendered with a datascroller both before and after it;
first render the table into a buffer B1, then render the datascroller into a buffer B2,
then output buffers B2,B1,B2.
(must evaluate to
|An EL expression that specifies where to store a String holding
the results of rendering all the children of this component;
this is assigned to after rendering of this component (and its
children) is complete.
||No Variables Defined.
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.