Hello,
I've got some problemes with checkbox & t5 for a while. I'd just like to display a page which could contains some checkbox, then submit this page in order to treat the various item corresponding to the ticked checkbox then redirect to the same page with the same checkbox ticked. It is simple with
JSP however seems complicated to me to realize with T5
Howard Lewis Ship advise to use the http request without using t5 component in this cas. That was I've done. However for the display when returning to this page after submission documentField.checked is always to false
Perhaps I'm missing something moreover I think I'm making a "usine à gaz".
On the onActivate() I've got :
on the onSuccess() :
on the getDocumentField()
It sux cause getDocumentField() is called much more times than the item displayed. Is it the good way to go ?
If I use a t:checkbox component I see that there isn't a selected property as in T3 for knowing which one is selected.http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Checkbox.html)
Can you help me resolve this case ?
Regards,
Blured.