Search Mailing List Archives
[protege-discussion] Configure plug-in in Applet
tudorache at stanford.edu
Thu Mar 5 14:20:53 PST 2009
What do you meant it does not detect it? Is it a tab plugin and it does
not show up in the Project Menu->Configure?
You may have an AccessControlException in your plugin (for example if
you try to access Java properties, or local resources). If you enable
the Java console in your browser, you will actually see what is going on.
Another option for debugging is to start the applet in a console, by typing:
where url is the url of the webpage containing the applet. You will see
in that console window the exceptions that are thrown. Look for
AccessControlExceptions related to your plugin.
An example of Protege running as an applet is here (see the HTML code):
Len Yabloko wrote:
> Greetings everyone!
> I am having difficulties loading my plug-in inside Protege Applet.
> When I start Applet in Eclipse it works - I can add my plug-in in configure dialog, but on web page it does not detect my plug-in. What may be a problem.
> Here is my HTML:
> <applet code="com.ngs.ontobase.protege.LaunchApplet.class"
> height="600" width="800">
> Your browser doesn't support the <code>applet</code> tag!
> Note that all jars and plugins directory are in the root: /htdocs directory of website.
> Thanks in advance for your help!
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
More information about the protege-discussion