I was having troubles installing GroupDocs.Viewer using the automatic script generation – ViewerHandler.getViewerScript() and ViewerHandler.getHeader() methods. I use JSF, wich cames with jQuery, and this conflicts with the inclusion of jQuery provided with GroupDocs.
So, I opened the Java Web Sample Viewer project, configured it to work on my environment, open the generated viewer on the web page and copied the generated HTML and scripts.
- Is this the right way to use it?
- Is there some documentation that explains how to solve conflicts with libraries like jQuery and jQuery-UI?
- Should I save the JS and CSS files requested for the application (through /GetJsServlet and /GetCssServlet servlets) on my project to load it without invoking these servlets? Is there a problem doing that?
I attached the generated files.
Thank you.