Re: Checkbox in table (non-contrib)

2006-11-27 Thread Gurps
sure: page 330 to 334. section called "Adding a Delete checkbox" jake123 wrote: > > > > Gurps wrote: >> >> Hey guys, >> >> Actually i found a different solution which is outlined in Kent Tong's >> book. I totally missed it (Kent: Please put Checkbox in the index so we >> can look at the exa

Re: Checkbox in table (non-contrib)

2006-11-27 Thread jake123
Gurps wrote: > > Hey guys, > > Actually i found a different solution which is outlined in Kent Tong's > book. I totally missed it (Kent: Please put Checkbox in the index so we > can look at the example easily!!) > > Do you have the page number in Kent Tong's book for the checkbox example?

Re: Checkbox in table (non-contrib)

2006-11-27 Thread Gurps
Hey guys, Actually i found a different solution which is outlined in Kent Tong's book. I totally missed it (Kent: Please put Checkbox in the index so we can look at the example easily!!) Basically, you put an ad-hoc invoke listener inside the for loop. The for loop sets the currentBean per itera

Re: Checkbox in table (non-contrib)

2006-11-26 Thread Srinivas Yermal
Hi Karthik, For some reason this doesnt seem to be working for me. I have the same requirement and tried describing it earlier on. Later I had to settle for this - http://mail-archives.apache.org/mod_mbox/tapestry-users/200611.mbox/ajax/[EMAIL PROTECTED] Srini. On 11/26/06, Karthik N <[EMAIL P

Re: Checkbox in table (non-contrib)

2006-11-26 Thread Karthik N
1. if you can modify your pojo have a boolean isChecked in it which you can wire to the checkbox in your for loop 2. if not, wrap a DTO around your pojo which has this boolean 3. during the rewind cycle the checked boolean will be set 4. in your listener method you can iterate through the List tha

Checkbox in table (non-contrib)

2006-11-25 Thread Gurps
I have a pojo bean which renders its attributes as a row in a For loop in a non-contrib table. What i want to do is provide a checkbox at the end of each row which enables the selected beans to be identified in the listener method. I don't know if only the primary keys or the whole row is store