<applet code=" see applet code below"To learn how to display models stored in a database, read the section:
codebase="lib" archive="imvisu.jar"
width="width in pixels"
height="height in pixels">
<param name=" PARAM NAME #1" value="PARAM VALUE #1 ">
...
</applet>
Loading a model from a database.
| Parameter name |
Description |
| model |
Path or URL of the model to load. If the path is relative (ex: ../model.xml) the model will be searched at a location relative to the HTML document. |
| embedded |
If "true", the visualizer will be
embedded in the HTML document like a graphic. Otherwise the HTML document will contain a button to launch the visualizer in its own window. |
| startButtonLabel |
Defines the text of the launch button (in case
"embedded" is not "true") |
| noClone |
If "true", the "File->New
Window" command will not be available. |
| noOpen |
If "true", the "File->Open/Open
in New Window" commands will not be available. |
| noSave |
if "true", the "File->Save/Save
As" commands will not be available. |
| noExport |
if "true", the "File->Export..."
command will not be available. |
| noPrint |
if "true", the "File->Print.../Print
Preview" commands will not be available. |
| noEditProperties |
if "true", the "File->Edit
Visualizer Properties" command will not be available. |
| noLocalProperties |
if "true", the visualizer will not
try to load/save user properties from the local file system. |
| locale |
if defined, the visualizer will be forced to use
the locale defined as value. The locale saved in the user properties will
be ignored. The value must have the form la_CO, where la is the lower-case two letter code of the language as defined by ISO-639, and CO is the optional upper-case two letter code of the country as defined by ISO-3166. Example: for US english: locale="en_US", for french locale="fr" , etc... |
| Parameter name |
Description |
| model |
Path or URL of the model to load. If the path is relative (ex: ../model.xml) the model will be searched at a location relative to the HTML document. |
| view |
Name of the view to display. The possible view
names are:
|
| noLegend |
if "true", the legend will not be
displayed. |
| noMenuBar |
if "true", the menu bar will not
be displayed. |
| locale |
if defined, the visualizer will be forced to use
the locale defined as value. The locale saved in the user properties will
be ignored. The value must have the form la_CO, where la is the lower-case two letter code of the language as defined by ISO-639, and CO is the optional upper-case two letter code of the country as defined by ISO-3166. Example: for US english: locale="en_US", for french locale="fr" , etc... |
| Parameter name |
Description |
| JDBC_URL |
JDBC URL of the database to connect to. For DB2 type 4 driver, this URL has the following form: jdbc:db2://hostname:portnumber/DatabaseName |
| JDBC_Driver |
Classname of the JDBC driver to use for the connection
with the database. The name of the JDBC type 4 driver delivered with DB2 is: com.ibm.db2.jcc.DB2Driver |
| DBUserName |
Name of the user to use for the connection with
the database. |
| DBPassword |
Password to use. |
| DBTable |
Name of the table. |
| DBPrimaryKeyCol |
Name of the column containing the primary keys of
the models. |
| DBModelCol |
Name of the column containing the model themselves. |
| DBModelPropCol (optional) |
Name of the optional column containing the visualizer
properties of the models. |
| DBModelKey |
Key of the model to load. |