Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread zqzuk
thanks so much! i ll have a go with it! karthik.nar wrote: > > based on > > > > > > when you submit, then the value from the check box will be automatically > inserted into currentAttendance.attended - you don't need to do anything. > > if you don't want to change the datatype of the

Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread Karthik N
based on when you submit, then the value from the check box will be automatically inserted into currentAttendance.attended - you don't need to do anything. if you don't want to change the datatype of the Attendance domain objects, then you can just have the following methods on your attend

Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread zqzuk
hi, thanks for prompt reply, "then you just need to bind the checkbox value to a currentAttendance.persentognl" sorry could you be more specific about this please? i still dont quite understand. like this? then i suppose i need to change Attendance.atte

Re: hi, is it possible to do this with tapestry...

2006-08-18 Thread Karthik N
you should ensure that the Attendance list provided to the For loop is exactly the same both during render and rewind. then, irrespective of the number of rows the render/rewind sequence will be exactly the same. so the checkbox on render will correspond to the same Attendance object when the r

hi, is it possible to do this with tapestry...

2006-08-18 Thread zqzuk
Hi, the scenario is that i have a collection of Attendance objects- for example, Attendance(Student s, String class, String attended) - to be displayed on a page. and i would like a checkbox (or other components whichever appropriate) for each row. so if the student attended the class, user can ti