You're missing the 'value' attribute from your checkbox definition. The id attribute just gives the checkbox a name, it doesn't automatically bind it to the _pute property.
Michael On Mon, Mar 29, 2010 at 12:10 PM, jaques robert <mondes_englou...@yahoo.fr>wrote: > Hello, > > I've tried this code which present 10 checkbox which I submit. Then I go > back to this page so I'd like those checkbox to be ticked if they were > ticked before. > > <t:Loop source="1..10" value="index"> > <input t:type="checkbox" t:id="pute" /> > </t:Loop> > > So in my class I've coded : > @Persist > @Property > private boolean _pute; > > private Object onSuccess() { > > // call database update > > > > return this; > > } > > > > However, when I submit the page is well refreshed but the checkbox are all > unticked. > > Could you help me resolve this simple case ? > > Regards, > Mondes_engloutis. > > > >