MarvinSpace Applet Parameter

User 8b97537f87

13-10-2008 14:31:21

Hi there,





I tried to change the drawtype using the parameters from /help/developer/space-par.html:








Code:
<html>


<head>


<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">


<title>MarvinSpace</title>


</head>


<!-- onload="document.bla.setProperty('Ligand.DrawType', 'Ball');"-->


<body>


<center>


    <applet id="bla" codebase="."


        code="chemaxon/marvin/space/gui/MSpaceApplet" name="MSpaceApplet" width="1024" height="700"


        archive="mspace.jar,jmarvin.jar,jogl.jar,jextexp.jar">


      <param name="progressbar" value="true">


      <param name="selectionpanel" value="true">


      <param name="toolbar" value="true">


      <param name="molSeparator" value=";">


      <param name="molecules" value="1.pdb;2.pdb">


      <param name="Ligand.DrawType" value="Ball">


      <!-- <param name="MacroMolecule.DrawType" value="Ball">-->


    </applet>


</center>


</body>


</html>






...but it doesn't affect the way of displaying my molecules. Using the java-script setProperty did work. What am I doing wrong?





Is the params name "MacroMolecule" or "MarcoMolecule" as written in the documentation?





Thanks in advance





Vincent

ChemAxon efa1591b5a

16-10-2008 11:27:41

Hi Vincent,





have you come across the applet examples on this page: http://www.chemaxon.com/marvin/examples/applets/space/index.html





You may also wish to find the list of available parameters:


http://www.chemaxon.com/marvin/help/developer/space-par.html





In which doc did you find 'MarcoMolecule'?





HTH





Miklos

User 60b60eaf80

20-10-2008 05:15:47

Quote:
have you come across the applet examples on this page: http://www.chemaxon.com/marvin/examples/applets/space/index.html
That was the page that we used to get the parameter list - yes.
Quote:
You may also wish to find the list of available parameters:


http://www.chemaxon.com/marvin/help/developer/space-par.html





In which doc did you find 'MarcoMolecule'?
Exactly in the doc you linked here ;) The headline is correct, but the values in the table all start with MarcoMolecule.





Btw. where are parameters such as molecule and molecules? Is there a seperate document? There are some parameters given in the examples, that are now shown in the above listed paramter list.





Greetings


Martin

ChemAxon efa1591b5a

22-10-2008 11:48:03

Quote:
Exactly in the doc you linked here ;) The headline is correct, but the values in the table all start with MarcoMolecule.
Oh, right. That's corrected now, it should be all right in the next release. Actually, the documentation contained the typos, the program works with the proper names, ie. Macro.. and not Marco.





Thank you for drawing our attention to this problem.


Quote:
Btw. where are parameters such as molecule and molecules?
Do you mean to set the molecule(s)? That can be done via the MSpaceEasy class: http://www.chemaxon.com/marvin/help/developer/beans/api/chemaxon/marvin/space/MSpaceEasy.html


Quote:
There are some parameters given in the examples, that are now shown in the above listed paramter list.
Do you mean "that are NOT shown..."?!





Regards,


Miklos

User 60b60eaf80

04-11-2008 09:02:45

mvargyas wrote:
Oh, right. That's corrected now, it should be all right in the next release. Actually, the documentation contained the typos, the program works with the proper names, ie. Macro.. and not Marco.
thanks ;)


Quote:
Quote:
Btw. where are parameters such as molecule and molecules?
Do you mean to set the molecule(s)? That can be done via the MSpaceEasy class: http://www.chemaxon.com/marvin/help/developer/beans/api/chemaxon/marvin/space/MSpaceEasy.html width="90%" cellspacing="0" cellpadding="3" border="0" align="center">
Quote:
There are some parameters given in the examples, that are now shown in the above listed paramter list.
Do you mean "that are NOT shown..."?!


Yes, i meant NOT shown, sorry. The MSpaceEasy lists some of the parameters, too - but still not every possible parameter that i can feed the applet via <param> with, no? The example was e.g.: <param name="molSeparator" value=";"> or <param name="molecules" value=".....">. I wasn't able to find the location of that documentation.








thanks for your help


Martin

ChemAxon efa1591b5a

04-11-2008 09:07:12

So, are all issues sorted now or there are still some open problems?





Bests,


Miklos

User 60b60eaf80

04-11-2008 12:31:42

the only left "problem" (it's more a question, not a real problem) is that i still can't find a complete list of valid marvinSpace parameters. i need to controll the applet during the <param> html-tag - and there is no such list (or at least i can't find it)

ChemAxon efa1591b5a

05-11-2008 14:31:30

O.K. I see now.


Right now this one is the only documentation about applet parameters: http://www.chemaxon.com/marvin/help/developer/space-par.html.





That list was intended to be complete, however, recently we realised that it was not. For instance, the celli parameter is missing (though it is a valid applet parameter, and there is a public example showing its usage: http://www.chemaxon.com/marvin/examples/applets/space/cells.html. This parameter is similar to celli parameter in MarvinView, though the various options available in MView are not supportted by MSpace.





Do you suspect that other parameters are missing? It could be... Or, most importantly: do you need further parameters that are not available? Please tell us and we consider to implement them.





Regards,


Miklos

User 60b60eaf80

17-03-2009 09:55:17

Hi,














is getMol, setMol available for MarvinSpace, too? I can't get it to work as for MarvinSketch.














Also is there a way to add several Molecules (via JavaScript - one after another) to the Applets? (not a setMol, but maybe a addMol function?)














thanks.

ChemAxon 8b644e6bf4

25-03-2009 16:26:58

Dear Martin,














Sorry for the late answer. As I learned currently it is not possible to change the molecules displayed by a started applet. As a workaround a new page with the new applet could be loaded.





When we fix this issue we will notify You in this topic.





Regards,





Gabor