I don't know what are you trying to do. I was using parameters in
repeater action like this:
<fd:repeater-action id="addSomething" command="add-row"
repeater="myRepeater">
<fd:on-action>
<fd:javascript>
var form=event.source.form;
var repeater=form.getChild("myRepeater");
var row=repeater.getRow(repeater.getSize() - 1);
row.getChild("myWidget").setValue(form.getAttribute
("myAttribute"));
</fd:javascript>
</fd:on-action>
</fd:repeater-action>
or inside <ft:repeater-rows> like this:
<jx:if test="${form.getAttribute('myAttribute')
==something}"><td><ft:widget id="myWidget"/></td></jx:if>
Barbara
On 31 Jul, 2008, at 5:23 pm, Мария Григорьева wrote:
How to pass the repeater to the formMap.put ?
I’m trying smth like this:
formMap.put("test", comp_in_composition);
But, only the null values returned.
formMap = {test=[{type=null, amount=null, select=false},
{type=null, amount=null, select=false}, {type=null, amount=null,
select=false}, {type=null, amount=null, select=false}]
What should I do to pass the repeater parameter?