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.



      

Reply via email to