willndira / jquery-datatables-editable

Automatically exported from code.google.com/p/jquery-datatables-editable
0 stars 0 forks source link

Unexpected check boxes values when adding a new row #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Customize an editable datatables form to add new rows to the table. Give the 
form an id of "formAddNewRow" and link the form to the server using the 
"sAddURL" initialization parameter. Be sure to include at least one check box 
in the form, and assign an id to it.
2. On the server side, simply print out the value of the checkbox that was sent 
with the request.
3. Run the webpage  with the datatable and attempt to add a new row.

What is the expected output? What do you see instead?
If the checkbox is checked, then the checkbox's value sent to the server is 
"on". However, if the checkbox is not checked, then the value is null.
The expected values should be "true" and "false", not "on" and null.

What version of the product are you using? On what operating system?
jquery-1.7.2
jquery-ui-1.8.21
jquery.jeditable 1.6.2
jquery.dataTables.editable 1.3
jquery.dataTables 1.9.2
OS: Windows XP SP3

Please provide any additional information below.
This bug was repeatable in the following tested web browsers:
- IE 8.0.6001
- Chrome 21.0.1180.83 m
- Firefox 9.0.1

Web Server is Tomcat 7.0.29. 
Webpages developed using JSP technology and Java Development Kit 7.0.4.

Original issue reported on code.google.com by lisa.tan...@gmail.com on 22 Aug 2012 at 12:30