cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: persisting re-arranged repeater-rows
Date Thu, 27 Nov 2003 10:16:23 GMT

On 27 Nov 2003, at 09:53, Marc Portier wrote:

> Jeremy,
>
> <snip/>
>
>>> hm, as for the remark on the 'XML only' support I guess this has to 
>>> do  with the missing object-factory for the on-insert-row event?
>>> (IIRC Sylvain made some generic XML oriented factory which helas can 
>>>  not be used for Java object backends)
>>>
>>> This sounds like simple-repeater should get some more features from  
>>> his more complex brother, no?
>> Or make the (complex)Repeater List savvy ......
>
> hm, not sure,
>
> first off: it's rather ordered-collection-savvy (ie should work with 
> arrays as well, and not to forget the NodeLists from XML files)

AFAIU from what Bruno said, (complex)Repeater does not maintain the 
order (I can attest to that).

> but what other strategy could we want to use in that case then just 
> throw away all items and copy the sequence from the repeater (ie what 
> the SimpleRepeaterBinding is doing?)

And Sylvain appears to be saying the simple one does not work with 
Beans.

So I am in a bind ....

>>> suggestion:
>>> introduce on-bind wrapping of the children, so we can introduce a
>>> on-create-row that behaves just like the on-insert-row and allows to 
>>>  specify the classname of a jxpath-factory?
>>>
>>> wdyt?
>>>
>
> <snip thx="for explaining some detail" />

Hope it helps

regards Jeremy

Mime
View raw message