Thanks a lot.
The approach worked.
Shalini
-Original Message-
From: Karthik Abram [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 05, 2005 5:35 PM
To: Tapestry users
Subject: RE: CheckBox Values on FormSubmit
If you have an unknown list of checkboxes, then put a hidden field
before
, May 05, 2005 7:31 PM
To: Tapestry users
Subject: RE: CheckBox Values on FormSubmit
Hi Karthik,
The checkboxes are rendered based on values from the database.
So they do not have a fixed number. Rendering them is not a problem.
Since the state changes after render, on formsubmit the server does
Log.info("parameter value = " + value);
}
-Original Message-
From: Shalini Seth [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 05, 2005 4:31 PM
To: Tapestry users
Subject: RE: CheckBox Values on FormSubmit
Hi Karthik,
The checkboxes are rendered based on valu
PROTECTED]
Sent: Thursday, May 05, 2005 4:24 PM
To: Tapestry users
Subject: RE: CheckBox Values on FormSubmit
Hey Shalini,
Can you not put the checkboxe's value (Boolean) in an List and
use a foreach to render them? If the number of your checkboxes will not
change, this is the ea
Hey Shalini,
Can you not put the checkboxe's value (Boolean) in an List and use a
foreach to render them? If the number of your checkboxes will not change,
this is the easiest solution. When the form posts, the boolean values will
be set based on the checkbox states.
-Original Message