Forum
23:05
21/11/2011
Hello,
I inherited this struts2/jQuery app and don't have in-depth knowledge of this stuff yet.
I am not sure whether the bug is in jqgrid or in our app, but here's the problem:
Normally an sjgrid executes an action mapped via the url tag
<s:url id="remoteurl" action="search">
<s:param name="action">myGrid</s:param>
</s:url>
<sjg:grid id="searchGrid"
dataType="json"
href="%{remoteurl}"
gridModel="gridModel" ...
the action prepares a [json] result in a List<Object> gridModel. Then the getGridModel() method is somehow fired by the framework [ajax?] and the grid is filled with data.
After a certain "redirectAction" event a page [without a grid] is displayed. Normally the page is submitted [to save the object loaded into the session] before any other action takes place and there is no problem. However, if any other page is accessed [via menu] before the submit, ALL the grids [we have quite a few] stop firing the getGridModel() method. The actions the grids point to DO execute and prepare the [json] results in the gridModel variable of the action, but the getGridModel() doesn't fire anymore until the user logs out and the session is discarded. The sources of the generated jsp pages with the grids are the same in both cases - when the grids are healthy [display data] or not - it doesn't look like a JS error. I also see the same problem in various browsers [IE8, Chrome].
I wonder if anybody hit something like this before and appreciate any help.
Thanks in advance.
Most Users Ever Online: 715
Currently Online:
27 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66