The appearance of the marvin view applet can be specified by forms. Forms are defined in the <user home>/.jchemsite
property file, can be edited on setup.jsp
name.rows=value name.cols=value name.celldim=value name.layout=value name.param=value name.cell=value
name | TABLE_NAME.form.FORM_NAME (eg: jspexample.form.jchemform )
|
||||||||
rows | number of rows of the applet. | ||||||||
cols | number of columns of the applet. | ||||||||
celldim | CELL_WIDTH:CELL_HEIGHT
Dimension of one cell of the applet. |
||||||||
layout | The layout parameter of the applet. See details here. |
||||||||
param | The param parameter of the applet. See details here. |
||||||||
cell | prefix<FIELD_NAME>postfix#default[;prefix<DB_FIELD_NAME>postfix#default;...]
Defines the kind of data appear in a cell.
The prefix , postfix , and default values are optional. The simpliest formula: <FIELD_NAME>
|
Example:
scott.jspexample.form.jchemform.rows=6
scott.jspexample.form.jchemform.cols=3
scott.jspexample.form.jchemform.celldim=240:180
scott.jspexample.form.jchemform.layout=:3:2:L:0:0:1:2:w:n:0:10:M:1:0:2:1:c:n:1:10:L:1:1:1:1:w:n:L:2:1:1:1:nw:n
scott.jspexample.form.jchemform.param=:L:10:M:150:150:L:11b:L:10
scott.jspexample.form.jchemform.cell=ID: <cd_id>;<$cd_structure>;<cd_formula>;MW: <cd_molweight>#no weight