On Mon, 29 Mar 2010 13:10:15 -0300, jaques robert
<mondes_englou...@yahoo.fr> wrote:
Hello,
Hi!
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;
You should have a list of booleans, not a single one.
private Object onSuccess() {
// call database update
return this;
}
Return null instead.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da
Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org