cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Larson <>
Subject Re: [CForms binding] -TempRepeater vs. SimpleRepeater
Date Mon, 01 Mar 2004 02:55:59 GMT
On Sun, Feb 29, 2004 at 07:17:00AM -0600, Antonio Gallardo wrote:
> What is the diference between TempRepeaterJXPathBinding and
> SimpleRepeaterJXPathBinding?

>From memory: The TempRepeater is intended as a possible replacement
for the SimpleRepeater.  It keeps the ability to handle rows that
do not have a unique id by wiping the rowset and then outputing all
of the rows at once just like the SimpleRepeater, but is different
in that it supports the wb:on-bind and wb:on-insert-row child
elements that come from the regular repeater binding.

The TempRepeater also introduces the concept of "virtual rows",
where the selected row data is wrapped in its own context to make
it easier to reference relative locations within it.  This was
added to support more flexible XML binding, but may be extendable
to help with bean bindings as well.

--Tim Larson

View raw message