Issue 77 in struts2-jquery: Grid Sample not working properly in IE

34 views
Skip to first unread message

struts2...@googlecode.com

unread,
Feb 2, 2010, 4:07:42 AM2/2/10
to struts2...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 77 by premabodh: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

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.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

struts2...@googlecode.com

unread,
Feb 2, 2010, 4:11:45 AM2/2/10
to struts2...@googlegroups.com

Comment #1 on issue 77 by premabodh: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

Tested with IE 6.0

struts2...@googlecode.com

unread,
Feb 2, 2010, 4:15:56 AM2/2/10
to struts2...@googlegroups.com

Comment #2 on issue 77 by ramya.krish1989: Grid Sample not working properly
in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

Hi 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?

struts2...@googlecode.com

unread,
Feb 2, 2010, 4:20:00 AM2/2/10
to struts2...@googlegroups.com

Comment #3 on issue 77 by premabodh: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

just 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??

struts2...@googlecode.com

unread,
Feb 2, 2010, 4:39:37 AM2/2/10
to struts2...@googlegroups.com

Comment #4 on issue 77 by ramya.krish1989: Grid Sample not working properly
in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

I tried the showcase. But couldnt undersatnd the struts.xml config file
which is


<package name="showcase" extends="hibernate-default,json-default">
<interceptors>
<!--<interceptor name="json"
class="org.apache.struts2.json.JSONInterceptor"/>
--><interceptor-stack name="showcaseStack"><!--
<interceptor-ref name="json"/>
--><interceptor-ref name="defaultStackHibernate"/>
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="showcaseStack"/>
</package>
</struts>


My struts.config file is as under:

?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="default" extends="struts-default,json-default">
<result-types>
<result-type name="tiles"
class="org.apache.struts2.views.tiles.TilesResult" />
</result-types>

<interceptors>
<interceptor name="json"
class="org.apache.struts2.json.JSONInterceptor"/>
<interceptor-stack name="gridStack">
<interceptor-ref name="json">
</interceptor-ref>
</interceptor-stack>

</interceptors>
<action name="jsontable" class="com.sv.JsonTable">
<interceptor-ref name="gridStack"/>
<result type="json"/>
<result name="success">/json.jsp</result>
</action>
</package>
</struts>

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.

struts2...@googlecode.com

unread,
Feb 2, 2010, 5:09:23 AM2/2/10
to struts2...@googlegroups.com

Comment #5 on issue 77 by premabodh: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

I 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.

struts2...@googlecode.com

unread,
Feb 2, 2010, 10:50:14 AM2/2/10
to struts2...@googlegroups.com

Comment #6 on issue 77 by johgep: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

For the IE Bug, just call the Showcase with index.action instead of just
index

struts2...@googlecode.com

unread,
Feb 3, 2010, 12:28:34 AM2/3/10
to struts2...@googlegroups.com
Updates:
Status: Started
Owner: johgep

Comment #7 on issue 77 by johgep: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

(No comment was entered for this change.)

struts2...@googlecode.com

unread,
Feb 3, 2010, 1:17:09 AM2/3/10
to struts2...@googlegroups.com

Comment #8 on issue 77 by premabodh: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

Hi 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.

struts2...@googlecode.com

unread,
Feb 3, 2010, 1:32:32 AM2/3/10
to struts2...@googlegroups.com

Comment #9 on issue 77 by johgep: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

I think the CSS Problems in Showcase are not really Plugin related.
This problems brings the YAML CSS Framework used for this Showcase.

struts2...@googlecode.com

unread,
Feb 3, 2010, 7:51:56 AM2/3/10
to struts2...@googlegroups.com

Comment #10 on issue 77 by premabodh: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

Hi Ramhya,

Did u get solution to your problem? I am also stuck with same thing??

Thanks,
Vikash

Vijay Rao

unread,
Feb 5, 2010, 12:52:22 AM2/5/10
to struts2...@googlegroups.com
I was stuck but a step by step rechecking helped. Make sure the result type for your action is json.

Enter the URL in the browser and see if you are able to get the json back. It should prompt you to open or save the json result. Once you know that your json data is coming through make sure that you have getters and setters for the gridModel or whatever is the provider of the data.

Also the json data should have that as a member.

Try it out.

You received this message because you are subscribed to the Google Groups "struts2-jquery" group.
To post to this group, send email to struts2...@googlegroups.com.
To unsubscribe from this group, send email to struts2-jquer...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/struts2-jquery?hl=en.


struts2...@googlecode.com

unread,
May 1, 2010, 3:43:18 PM5/1/10
to struts2...@googlegroups.com
Updates:
Status: Accepted
Labels: Component-Grid-Plugin Milestone-2.1.0

Comment #11 on issue 77 by johgep: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

(No comment was entered for this change.)

--

struts2...@googlecode.com

unread,
May 1, 2010, 3:47:20 PM5/1/10
to struts2...@googlegroups.com
Updates:
Status: Fixed

Comment #12 on issue 77 by johgep: Grid Sample not working properly in IE

struts2...@googlecode.com

unread,
May 14, 2010, 8:29:02 PM5/14/10
to struts2...@googlegroups.com

Comment #13 on issue 77 by lhluanit: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

But couldnt undersatnd the struts.xml config file which is
<interceptor-ref name="defaultStackHibernate"/>
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="showcaseStack"/>


struts2...@googlecode.com

unread,
Aug 25, 2010, 9:25:46 AM8/25/10
to struts2...@googlegroups.com

Comment #14 on issue 77 by eswarjava: Grid Sample not working properly in IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

I too also don't understand the struts.xml and entire apps-flow

if any one know plz explain.

thanks in Advance.
Eswar.G

struts2...@googlecode.com

unread,
Sep 23, 2010, 6:06:18 AM9/23/10
to struts2...@googlegroups.com

Comment #15 on issue 77 by saleem.hbs: Grid Sample not working properly in
IE
http://code.google.com/p/struts2-jquery/issues/detail?id=77

I can understand the work flow, but I cant understand the where the
index.action is mapped, when the index.jsp is called, can any help me pls

Reply all
Reply to author
Forward
0 new messages