Marvin Sketch help

User 5e4a6b88ad

26-03-2009 19:31:05

I have embeded MarvinSketch applet into a JSP page. I am facing the problem when I click on either help icon or help menu.





I tried to use sketchHelp with value chemaxon/marvin/help/sketch-index.html into


<param> tag.





Could you please help me?

ChemAxon 7c2d26e5cf

30-03-2009 18:46:32

We have tested Marvin applet examples and the help content displays fine for us when "Help Contents" option is selected from the Help menu or its button is pushed on the toolbar. We have tested it with our examples on the ChemAxon site.


Please try them out. Can you confirm that they work in your browser?


http://www.chemaxon.com/marvin/help/sketch





Are you sure that resources that are required for applet help are available in your marvin directory?


http://www.chemaxon.com/forum/ftopic64.html





I admit that "sketchHelp" parameter is not available in current Marvin, so you can not substitute link behind the "Help Content" option. We will fix it.

User 5e4a6b88ad

31-03-2009 15:42:34

I have added JMarvin.jar and Marvin.jar file into my application at the same time added all jar files from lib folder of MarvinBeans.





Still I am unable to open the help content when I ckick on help icon of Marvin applet.





Could you please help me to resolve this. I can see that help is working fine in case of your examples.





Can you specifically give me the name of the particular jar which require for help content?





Appreciate your cooperation in advanced.

ChemAxon 7c2d26e5cf

31-03-2009 18:39:44

The problem is that you have mixed the code of the applet and the beans. Both of them can not be in the same CLASSPATH because it causes runtime problem.








If you deploy application, use only Marvin Beans package. In this case, MarvinBeans.jar and other jars from the same folder (marvinbeans/lib) are required. As I see, you deploy JSP pages. Thus, place jars from marvinbeans/lib into the classpath of the servlet container (e.g. Tomcat) to be able to use the Marvin Beans API from embedded java code in JSP pages.





If you would like to integrate Marvin applets into the web page, place Marvin Applets package into a directory on the server that is under the control of the web server (beside the other web pages). The applet resources has to be referred only in the web page where you would like to embed applet. See Marvin Applets examples where you can find code templates that help you to customize applet on your web page:





http://www.chemaxon.com/marvin/examples/applets





By the way, in my previous post, I said that sketchHelp parameter did not work. I fault. It works. The following example demonstrates how to use it:





http://www.chemaxon.com/marvin/examples/applets/sketch/helpparam.html