gigaZhang / struts2-jquery

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

Is there a way to send post form with object names #1122

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use jquery grid edit mode
2. In edit mode/inline edit mode
3. Click edit and submit the form.

Let's say we are trying to edit records for table Person, this table have 
columns id, name, lastName.

When you submit the form, it post form data like 
id: _empty
name: test Name
lastName : test Last Name

Is there a way to submit the form with following form data:
person.id: _empty
person.name: test Name
person.lastName : test Last Name

Which struts2 version?
2.3.16.1

Which struts2-jquery plugin version?
3.7.1

Original issue reported on code.google.com by yhj...@gmail.com on 18 Nov 2014 at 7:51