I've got a form in which a repeater generates cells of a table. Within each 
cell there is a select element. I want the css class of the <td> element to be 
set to the value of the select whenever the select changes. I've done this in 
the template like this:
 
<ft:repeater id="rows">

<table>

<ft:repeater-rows>

<ft:repeater id="columns">

<tr>

<ft:repeater-rows>

<td class="${repeater.getWidget(repeaterLoop.index, 'foo').getValue()}">

<ft:widget id="foo">

<fi:styling submit-on-change="true"/>

</ft:widget>

</td>

</ft:repeater-rows>

</tr>

</ft:repeater>

</ft:repeater-rows>

</table>

</ft:repeater>

 

I had hoped that the submit-on-change styling would force the <td> to re-render 
with the new style, but it doesn't; the ajax update is empty. Is there a way to 
force the <td> to re-render?

 

Thanks for any help,

 

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to