Hi Sebastien,
> Hi,
> Does someone know where I can find a simple sample CForm with a
> repeater to edit a list of POJO's using the binding framework ?
> Because in samples the binding is made from a XML file and I can't
> figure out how to adapt it.
There are samples with beans too.
> In fact what I would like to do is quite simple :
> - load the repeater-based form definition
> - load a list of POJO's from flowscript
> - bind this list to my repeater-based form definition
> - send page as usual with CForms.
hava a look at
build\webapp\samples\blocks\forms\flow\binding_example.js
function form2bean(form) ...
and
build\webapp\samples\blocks\forms\forms\form2_bind_bean.xml
--> http://localhost:8888/samples/blocks/forms/form2bean.flow
--
* best regards
* Jens Maukisch
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
|