GridWeb Issue in Spring Frame Work

Hello…

I’m trying to run GridWeb Demo file in my Spring Frame work.

I mean, not running GridWeb domo by using eclipse import. I want apply GridWeb control demo in my Spring Framework project.

As you know in GridWeb Demo, it gives some bunch of GridWeb Control html code by using Printwriter in Post method of TestGridWebBaseServlet.

However, Our System is a little bit different, So I’ve changed like below.

public @ResponseBody Map<String, Object> getGridWeb( @RequestParam Map<String, Object> param, HttpServletRequest request, HttpServletResponse response)
throws IOException, SQLException {
// Same Post method code…
page.setServlet(request, response);
GridWebBean gridweb=page.getBean();

gridweb.prepareRender();
String html = gridweb.getHTMLBody();
param.put(“outData”, html); <-- not out.flush()
return param;
}

Finally, I can see GridWeb control in my web jsp page.
However, I got some problems like below

  • When I include jquery-2.1.1.js path in head.jsp, my jsp web page dosen’t work properly.
    Maybe, our systme use jquery-1.8.1.min.js
    So, I delete <script src="Scripts/jquery-2.1.1.js> in head.jsp
    After that, I can see my jsp web page, Gridweb control as well.
    But, When I put some numbers into Cell, using backspace it doesn’t work at all
    Back Space dosen’t work …

  • Secondly, Formular dosen’t work either. Result value is always 0(zero).
    I guess, maybe Gridweb Demo uses servlet. So, When I input some number in the Cell,
    It sends the value by using form to the GridWeb Servlet Class in aspose-gridweb-18.12.jar
    GridWeb Servlet Class also use Printwriter plush. So that’s why jsp page dosen’t receive the result value.
    So do I have to chage GridWeb Servlet class in Jar file " @ResponseBody " like above.
    Or Should I have to change jsp page to recive Printwriter plush information result.

Or Do you have different Gridweb version to use Spring Framework?

P.S : After taking all the test well in our Spring Framework, I’d like purchase Aspose.Cell for Java.

@goodhosik,

Thanks for providing us details.

Well, Aspose.Cells.GridWeb (Java) should work fine on spring framework. You may even try our latest version with its resource files to get the control through maven repos.:
https://repository.aspose.com/repo/com/aspose/aspose-cells/19.7/

We suspect you might not have included the latest resource files (e.g acwmain.js, etc.) correctly.

If you still find the issue, kindly do provide a sample project to reproduce the issue, we will check it soon.