What steps will reproduce the problem? 1. Run struts2-jquery-grid-showcase-1.1.war in IE, Firefox, Google Crome 2. Compare UI output
What is the expected output? What do you see instead? Expected Output: UI should look alike in all major browsers Exact Output: Some part of table are not visible and no scroll bars are provided to see data below. Footer not visible. Works good in Firefox and Crome. Issue with IE
Which struts2 version? struts2-core-2.1.8.1
Which struts2-jquery plugin version? struts2-jquery-plugin-1.8.2
Thanks and Regards, Vikash Anand.
Comment #1
Posted on Feb 2, 2010 by Happy DogTested with IE 6.0
Comment #2
Posted on Feb 2, 2010 by Helpful PandaHi Vikash,
I tried the given action class and jsp but my table was empty. How does the jsp get the json data. Any other script needed to be written for it?
Comment #3
Posted on Feb 2, 2010 by Happy Dogjust download and extract struts2-jquery-grid-showcase-1.1.war. It provides with a sample to get data in a grid. Follow the example and you will know. By the way is struts2-json-plugin-2.1.8.1.jar included in classpath??
Comment #4
Posted on Feb 2, 2010 by Helpful PandaI tried the showcase. But couldnt undersatnd the struts.xml config file which is
--> -->
My struts.config file is as under:
?xml version="1.0" encoding="UTF-8"?> class="org.apache.struts2.views.tiles.TilesResult" />
<interceptors>
<interceptor name="json"
class="org.apache.struts2.json.JSONInterceptor"/>
</interceptors>
<action name="jsontable" class="com.sv.JsonTable">
<interceptor-ref name="gridStack"/>
<result type="json"/>
<result name="success">/json.jsp</result>
</action>
</package>
com.sv.JsonTable is the action class json.jsp is the one which has the JSP code. I assume the request to the action class comes from this jsp and the result is also displayed in the same jsp.
Yes. The struts2-json-plugin-2.1.8.1.jar is included in classpath. I am not gettin any error on the console but the table is empty.
Thanks for your time premabodh.
Comment #5
Posted on Feb 2, 2010 by Happy DogI am very new to this and currently trying to understand bits and pieces of this application regarding how edit works. I may not be helpful to your case and sorry for that. But have you faced issue of UI not working properly on IE?
Do you have idea how edit feature works in the sample.
Comment #6
Posted on Feb 2, 2010 by Swift LionFor the IE Bug, just call the Showcase with index.action instead of just index
Comment #7
Posted on Feb 3, 2010 by Swift Lion(No comment was entered for this change.)
Comment #8
Posted on Feb 3, 2010 by Happy DogHi johgep,
Your suggestion did not work in IE 6.0. However when I tested in IE 7.0 and IE 8.0 without the modifications as per your suggestion it worked like charm like in Crome/Firefox.
Few Observations: 1. In IE 6.0 Grid is comming in Left Hand Side while in Crome/Firefox/IE > 7.0 it is coming in center. 2. Font size in IE 6.0 is larger than Crome/Firefox/IE > 7.0.
I think since IE 6.0 comes as default browser in XP systems the application should be compatible with it. According to me it is some CSS issue.
Thanks, Vikash Anand.
Comment #9
Posted on Feb 3, 2010 by Swift LionI think the CSS Problems in Showcase are not really Plugin related. This problems brings the YAML CSS Framework used for this Showcase.
Comment #10
Posted on Feb 3, 2010 by Happy DogHi Ramhya,
Did u get solution to your problem? I am also stuck with same thing??
Thanks, Vikash
Comment #11
Posted on May 1, 2010 by Swift Lion(No comment was entered for this change.)
Comment #12
Posted on May 1, 2010 by Swift Lion(No comment was entered for this change.)
Comment #13
Posted on May 15, 2010 by Quick GiraffeBut couldnt undersatnd the struts.xml config file which is
Comment #14
Posted on Aug 25, 2010 by Massive ElephantI too also don't understand the struts.xml and entire apps-flow
if any one know plz explain.
thanks in Advance. Eswar.G
Comment #15
Posted on Sep 23, 2010 by Quick DogComment deleted
Status: Fixed
Labels:
Type-Defect
Priority-Medium
Component-Grid-Plugin
Milestone-2.1.0