cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binkley, Peter" <>
Subject updating css class in ajax form
Date Tue, 09 Oct 2007 17:54:59 GMT
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">



<ft:repeater id="columns">



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

<ft:widget id="foo">

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










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,



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message