Francisco Exposito wrote:
Hi,
Is it possible to use jqGrid with struts2? I am trying to use it but I don't
know how to do it.
In the script we have:
jQuery("#list2").jqGrid({
url:'server.php?q=2',
datatype: "json",
colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'],
....
....
but what about the url? It seems that it will be the data which must be shown
in the table, but if I create an action in struts.xml file like that, nothing
happens.
The class is executed, but no info is shown inside the table.
Your approach is right. I can only assume the response you are
generating in your action is incorrect. Are you using the JSON plugin to
write the response, or constructing the JSON by hand?
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]