Integrate Aspose.Cells.Gridweb on Liferay Portlet

Apply Aspose.Cells.Gridweb in Liferay Portlet.


Hi, I was trying to integrate Aspose.Cells.Gridweb on Liferay Portlet.
However, there is error after I deployed the porject.

Problems: Using default built-in functions (Clicking Save/ Undo/ Custom Command Buttons/ Add row, etc.) will occur error.

Error captured in console of browser
POST http://localhost:7003/web/guest/GridWebServlet?acw_ajax_call=true&gid=mycom…CMD%3AMyButton&vmark=&gridwebuniqueid=b606dc23-0c52-4c44-97eb-9965471f73ca 404 (Not Found) acwmain.js?browserId=other&minifierType=js&languageId=en_US&b=6100&t=1492074620880:1


The website I placed my gridweb: http://localhost:7003/web/guest/datatempletesubmission
And the GridWebServlet was placed(imported) at http://localhost:7003/DataTemplateSubmission-portlet/GridWebServlet
(Import that com.aspose.gridweb.GridWebServlet will always be placed under http://localhost:7003/DataTemplateSubmission-portlet/)



script in web.xml
GridWebServlet
GridWebServlet
com.aspose.gridweb.GridWebServlet
GridWebServlet
/GridWebServlet
Questions:
1. How can I redirect the url from default(POST http://localhost:7003/web/guest/GridWebServlet?acw_ajax_call=true&gid=mycom…CMD%3AMyButton&vmark=&gridwebuniqueid=6809f293-2355-44e8-ac51-73936380165a)
to http://localhost:7003/DataTemplateSubmission-portlet/GridWebServlet
2. Is there any correct way to integrate gridweb on Liferay Portlet(extends MVCPortlet)?

Hi,


Thanks for your posting and using Aspose.Cells for GridWeb.

Please spare us sometime to look into this issue, we will we will update you on Monday or Tuesday. Once, there is some news for you, we will share it with you asap.

Hi,


Thanks for your posting and using Aspose.Cells.

We have tested this issue with the latest gridweb java version i.e. 17.3.0 and found this problem. I have attached the gridweb test eclipse project as well as screenshot (i.e. sc1.png and sc2.png) for a reference.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSJAVA-42254 - GridWebServlet?acw_ajax_call error occurs while loading GridWeb

Hi,


Thanks for considering Aspose.Cells for GridWeb.

This is to inform you that we have fixed your issue CELLSJAVA-42254 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

Please also read the following tip about the upcoming fix.

Tip:

The new fix will open setPageaction and setPageajaxcallpath methods to public in ExtPage class.

Then you will be able to call them like the below code in your Servlet:

Java
<span style=“color: rgb(128, 0, 128); background-color: rgb(255, 255, 255); font-family: “Courier New”, Consolas, Courier, monospace; font-size: small; white-space: pre;”>ExtPage page =ExtPage.getInstance();
page.setPageaction("http://localhost:7003/DataTemplateSubmission-portlet/GridWebServlet");
page.setPageajaxcallpath("http://localhost:7003/DataTemplateSubmission-portlet/GridWebServlet?acw_ajax_call=true");

Since they have different webapp directory, so please try to start with the whole path.

The issues you have found earlier (filed as CELLSJAVA-42254) have been fixed in Aspose.Cells for Java 17.4.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

I will try to use it, thank you very much!