You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/10/28 14:02:52 UTC
[Myfaces Wiki] Update of "Buffer" by ArashRajaeeyan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.
The following page has been changed by ArashRajaeeyan:
http://wiki.apache.org/myfaces/Buffer
New page:
= Buffer =
== Description ==
This component allows you to render a part of the page to a buffer, and then use the buffer later.
== Screen Shot ==
Not a Visual Component
== API ==
|| component-family || javax.faces.Data ||
|| renderer-type || org.apache.myfaces.Buffer ||
|| component-class || org.apache.myfaces.custom.buffer.Buffer ||
|| renderer-class || org.apache.myfaces.custom.buffer.BufferRenderer ||
|| tag-class || org.apache.myfaces.custom.buffer.BufferTag ||
== Usage ==
== Syntax ==
== Configuration ==
Don't need any extra configuration.
== Notes ==
== Examples ==
{{{
<t:buffer into="#{buffer1}">
<t:div><h:outputText value="Buffer One"/></t:div>
</t:buffer>
<t:buffer into="#{buffer2}">
<t:div><h:outputText value="Buffer Two"/></t:div>
</t:buffer>
<h:outputText value="#{buffer2}" escape="false"/>
<h:outputText value="#{buffer1}" escape="false"/>
<h:outputText value="#{buffer2}" escape="false"/>
}}}
the result will be
{{{
Buffer Two
Buffer One
Buffer Two
}}}
== FAQ ==
== Known issues ==
* the generated links within the buffer are only supported with the MyFaces implementation because of the lack of standard dummy form parameters support.
== Additional Information ==