ShihMingSyu / struts2-jquery

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

struts2-jquery-grid-showcase-3.1.0 employees.jsp <s:select list="employees" do not update information #584

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
<s:select > 
1. get struts2-jquery-grid-showcase-3.1.0.war
2. follows the steps to get BirtSample.jar updatable
3. Edit a customer and change the employee using the select box
=> The employee number is not modified.

I am trying to do the same usage on my own data, trying to change the name="", 
value="" but I do not succeed to get an hibernate update starting from a Struts 
select.

Best regards,

Michel Vansaingèle.

Original issue reported on code.google.com by va...@boutdumonde.be on 5 Jul 2011 at 3:20

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 7 Jul 2011 at 5:50

GoogleCodeExporter commented 9 years ago
Tests with struts2-jquery-grid-showcase-3.1.1.war
1. follows the steps to get BirtSample.jar updatable
2. Edit a customer and change the employee using the select box
=> The employee number *is* correctly updated.

Original comment by va...@boutdumonde.be on 26 Aug 2011 at 8:19

GoogleCodeExporter commented 9 years ago
But there is still a problem :

Select a customer, click on the pencil to update this customer.
=> The pre-selected employee name is always "Murphy, Diane"

Original comment by va...@boutdumonde.be on 26 Aug 2011 at 8:22

GoogleCodeExporter commented 9 years ago
Hi,
I have tested this problem on the Grid showcase 3.2.0 and the problem is still 
the same.
-> Grid (Editable) -> select a customer -> Edit

grid.jsp: <sjg:gridColumn type="select"  name="salesemployee.employeenumber" 
...>

The select box don't display the right employee name. Selecting another 
employee and saving them is ok. Only the display is wrong.

Changing the grid.jsp/grid column to type="text" then employee number is 
correctly displayed and saved.

Kind regards,

Michel Vansaingèle.

Original comment by va...@boutdumonde.be on 9 Dec 2011 at 4:07

GoogleCodeExporter commented 9 years ago
I am feeling that the problem is not in the showcase but in plugin somewhere.

Original comment by va...@boutdumonde.be on 9 Dec 2011 at 4:09

GoogleCodeExporter commented 9 years ago
I have tried to solve it myself but i do not have enough experience with Struts 
2 nor with ajax queries. Then debugging such problem seems actually impossible 
for me.
I have checked this on all different versions of struts2-jquery-grid-showcase 
since one year, and all version contains this small bug.

I would like to use this plugin in my projects and then, publish samples for 
others but i have to delay because of this bug. 

My concerns for developments are "From xBase/clipper/xHarbour to web (Hibernate 
/ Struts 2 / Jquery plugin". This plugin seems to be the missing link for this 
task but unfortunately there are smalls problems in this missing link. 

Could it be solved, please ?

Thanks a lot for this hard job you are doing. 

Michel Vansaingèle.

Original comment by va...@boutdumonde.be on 10 Jul 2012 at 10:17

GoogleCodeExporter commented 9 years ago
Hello,
I just tried this on last version and the issue is still present.
(struts2-jquery-grid-showcase-3.5.1)

While this issue is reported as an issue on the showcase; you will also get the 
same issue on your other projects using the struts2-grid  plugin.

I am not looking to have a nice showcase but to get a solid grid plugin, 
looking for a plugin I could use in production environment.
Unfortunately, this issue is critical for me, critical since 1 year and a half.

Please, could someone have a look to this ?

Thanks a lot,

Michel Vansaingèle.

Original comment by mich...@boutdumonde.be on 14 Feb 2013 at 8:26