Export to GitHub

struts2-jquery - issue #577

struts2-jquery-grid-showcase-3.1.0 DB error


Posted on Jun 30, 2011 by Grumpy Lion

(This is for feature requests and bugs in Struts2 jQuery Plugin - for getting help, please use the User Group. http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem? 1. Downloaded struts2-jquery-grid-showcase-3.1.0.war file 2. Copied it to Webapps folder of Tomcate 6.0 3. Copied Birtsample.jar from WEB-INF\lib to C:\ 4. Extracted the jar in same folder 5. updated hibernate.cfg.xml according to the steps shown in application 6. Tried adding new record but got an error

What is the expected output? What do you see instead? It should add one record in grid. But I got this error "error Status: 'error'. Error code: 500"

Which struts2 version? 2.2.3

Which struts2-jquery plugin version? 3.1.0

Please provide any additional information below. I can edit the existing records but can't add new record.

Comment #1

Posted on Jul 1, 2011 by Swift Lion

(No comment was entered for this change.)

Comment #2

Posted on Jul 1, 2011 by Swift Lion

http://code.google.com/p/struts2-jquery/source/detail?r=1479

Comment #3

Posted on Aug 11, 2011 by Swift Lion

(No comment was entered for this change.)

Comment #4

Posted on Aug 16, 2011 by Happy Kangaroo

Hi Johannes,

I've upgraded to 3.1.1 and I now have a problem, since the form data in the ajax form takes the same name as the grid column, I cannot have a grid column with a name with dots in the middle. For instance I cannot have salesemployee.employeenumber because that's not allowed in the EditAction Java class.

Best regards, Joao Pastor

Comment #5

Posted on Aug 16, 2011 by Happy Kangaroo

Ignore my last comment, I looked at the showcase sources and i guessed out how it's done. Thanks

Status: Fixed

Labels:
Type-Defect Priority-Medium Component-Showcase Milestone-3.1.1