|
|
|
|
|||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
using formMap.put()
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-rowslike this: <jx:if test="${form.getAttribute('myAttribute') ==something}"><td><ft:widget id="myWidget"/></td></jx:if> Barbara 31 Jul, 2008, at 5:23 pm, °ļ ļģūĩē° wrote: How to pass the repeater to the formMap.put ? > Im 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? |
![]() |
| Viewing: Web Development Archives > Mailing Lists > Apache > using formMap.put() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|