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
Tested with IE 6.0
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?
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??
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.
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.
For the IE Bug, just call the Showcase with index.action instead of just
index
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.)
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.
I think the CSS Problems in Showcase are not really Plugin related.
This problems brings the YAML CSS Framework used for this Showcase.
Hi Ramhya,
Did u get solution to your problem? I am also stuck with same thing??
Thanks,
Vikash
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.
I too also don't understand the struts.xml and entire apps-flow
if any one know plz explain.
thanks in Advance.
Eswar.G
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