Antonio Gallardo wrote:
Hi Marc,
thanks for the replay. I found a little trick to do so, but I am currently testing it. Maybe it would work. Who knows:-D
<wb:repeater id="detailA" parent-path="." row-path="detailAList" unique-row-id="detA_id" unique-path="detA_id"> .... the usual stuff ..... </wb:repeater>
<wb:repeater id="detailB" parent-path="detailAList" row-path="detailBList" unique-row-id="detB_id" unique-path="detA_id"> .... the usual stuff ..... </wb:repeater>
Note the "play" with attributes parent-path, row-path, unique-row-id and unique-path.
I hope it would work. :-D
hm, doesn't look like a mtach for the nesting at first glance?
I was thinking about putting it nested inside the <on-bind> ?
Of course I will keep in touch with you about the success or failure. :-D
well, I suppose there is more chance it will not work then the other way around
we should build a small test-case and do the required modifications to get it working
am currently (finally I should say) cracking up the modifications in binding that were discussed recently, I add this to the (bottom of) the list... if you have a simple test-case ready that would help
-marc=
Best Regards,
Antonio Gallardo
Marc Portier dijo:
Antonio Gallardo wrote:
Hi:
Is posible to nest repeaters in the binding of a Java Bean?
I am facing a database structure of type master(detailA[detailB]). I need to present it as:
master (detail A) (detail B) so in order to do that, I need to nest the repeaters.
Is this posible at all?
good question!
I've recently seen nested repeaters in template (building rows and columns) and definition and they seemed to work :-)
in any case I see no conceptual reason (yet) why it should not work for the binding also
of course if you have the first test case it might show some implementation bugs which I'll hapily look into
just go for it and keep us posted?
regards, -marc=
Best Regards,
Antonio Gallardo.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]