gigaZhang / struts2-jquery

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

The layout and the ADD behavior of the jqGrid are different with different value of compressed in the header tag #1116

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set the compressed to TRUE of the header tag
2. go the the jqGrid and use it ADD feature to add a new record.(see 
first-save.jpg)
3. after the new record is added successfully, click the "Add" icon again. The 
add dialog would be prompted with the previous added data. 
Now, enter new data and press save, error is then prompted that there is a 
required field not filled. (see open-add-dialog-and-try-create-a-new-record.jpg)

What is the expected output? What do you see instead?
The 2nd record should be created successfully

Which struts2 version?
2.3.16.3

Which struts2-jquery plugin version?
3.7.1

Please provide any additional information below.
This bug is ONLY exist when the compressed of the header tag is set to TRUE. 
(everything works normal when compressed is FALSE)

Besides the behavior bug, I think there is a UI bug too. 
When the compressed is FALSE, the UI looks different. (see 
uncompressed-layout.jpg)

Original issue reported on code.google.com by hei12332...@gmail.com on 11 Aug 2014 at 6:51

Attachments: