<sigh> Like always: please post some code, it is quite hard to guess
what you did wrong when it is not visible WHAT you did exactly

cheers,
detlef


-----Original Message-----
From: zqzuk [mailto:[EMAIL PROTECTED] 
Sent: Sonntag, 20. August 2006 17:15
To: users@tapestry.apache.org
Subject: its working, but a problem


Hi, thanks for your hints, and its working, generally, but i m stuck
with a
problem which i doubt if its a bug?

suppose my form produces rows such like this, data are retrieved from
databases

-------------------------------------------------------
name             attended            
------------------------------------------------------
john                ticked
henry              unticked
-----------------------------------------------------

and now i change change it by checking the boxes to

-------------------------------------------------------
name             attended            
------------------------------------------------------
john                unticked
henry              ticked
-----------------------------------------------------

and click Submit. supprisingly, i got such result:
-------------------------------------------------------
name             attended            
------------------------------------------------------
john                ticked
henry              ticked
-----------------------------------------------------


then again i unchecked the box for john on the last page produced by the
first submit, and submitted 
the form again, and again surprisingly i got the correct result:
-------------------------------------------------------
name             attended            
------------------------------------------------------
john                unticked
henry              ticked
-----------------------------------------------------


i tried this many times, it keeps doin the same:

when the page is loaded with some boxes ticked and some unticked, if i
untick the ticked boxex, and tick some unticked boxes and then submit
the
form. on first submit, those originally unticked boxex are all ticked,
producing the correct result; however, those origianlly ticked boxes are
still ticked, although i did untick them before submitting; then if i do
untick again for all ticked boxes and submit the form for the second
time, i
got correct result - i.e. originally ticked boxes are unticked this
time.
and if i do 3rd, 4th ... submit its all correct. its just the first
submit
that produce incorrect result for orginally ticked boxes!

i m not sure if theres something wrong with my code but i dont think so
cause the 2nd, 3rd, 4th ... submits work correctly.... wat have i done
wrong? any hints please, thanks!
-- 
View this message in context:
http://www.nabble.com/hi%2C-is-it-possible-to-do-this-with-tapestry...-t
f2126696.html#a5894223
Sent from the Tapestry - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to