>
> hy,
>
> i have a repeater :
>
> <fd:repeater id="fields" >
> <fd:widgets>
> <fd:field id="name" >
> <fd:datatype base="string"/>
> </fd:widgets>
> </fd:repeater>
>
> and i would like display the result with a JX.
>
> the flowscript is:
>
> form.showForm( ..)
> model=form.getModel();
> cocoon.sendPage("config-sucess-pipeline.jx", {model: model} );
>
> the jx file :
> <jx:forEach var="field" items="${model.fields}">
> <jx:out value="${field.name}" />
> </jx:forEach>
>
Hi,
do you really need the jx?
if not you could simply do something like that:
you "fill" your fields in flow first and then show them.
---code---
var model = form.getModel();
for (var i=0; i < number_of_fields; i++) {
model.fields[i].name = "show_the_name";
}
form.showForm("repeater-display-pipeline");
---end code----
btw, there is </fd:field> missing in your form definition
hth
Peter KrÃpfl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]