Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-28) was last changed on 07-Oct-2006 03:49 by 85.178.90.48  

This page was created on 09-Apr-2003 15:52 by 129.69.13.219

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
(yet to be written - tomorrow)
Applet plugin is available at the [applet plugin home page|http://www.earthdawn-wiki.de/Wiki.jsp?page=AppletPlugin] --Sebastian
At line 3 changed one line
!!Compilation
-----
At line 5 changed 5 lines
Save the source code shown at the bottom of this page into a file called {{###.java}}. Then invoke the Java compiler as follows
{{{
javac ###.java
}}}
(or similar - depending on the development environment you are using)
Dear Sebastian and/or Andreas...
I was thinking about porting a simple deployment of nfc chat (http://nfcchat.sourceforge.net/) to jspwiki. Having looked at your website [http://www.earthdawn-wiki.de/Wiki.jsp?page=AppletPlugin] I discovered you have a chat running. Are you going to port this to jspwiki? It would exceed what I had planned to do, as it would appear to "archive" the chat transcript to the page. thx! -- Sherman Mohler [http://www.mycubscouts.us/az322]
At line 11 changed one line
!!Installation
The problem with this 'chat' is that it consumes a lot of bandwidth because it just reloads the page in an iframe each second, so if you have some people in the chat the same time, it will bring your server down. If this is no problem for you, I can show you the code. -- SebastianBaltes
At line 13 changed one line
Create a JAR archive containing the Java class file for the plugin. You may use the command
----
''(20-Jun-2006)'' I just tried the Applet Plugin in a 2.4.11 install and it is failing with the following message:
At line 15 changed one line
jar cvf ###.jar ###.class
Plugin insertion failed: class "com.ecyrd.jspwiki.plugin.Applet"'s signer information does not match signer information of other classes in the same package
At line 17 changed one line
for that purpose.
I looked inside the .jar file and it is using the (I think) default JSPWiki Java package, {{com/ecyrd/jspwiki/plugin}}
At line 19 changed one line
Then move that file into any directory within your wiki's class path - preferrably into the {{WEB-INF/lib/}} folder within your web server's ''web application directory'' for the JSPWiki.
-- [NascifAbousalhNeto]
At line 21 changed one line
Finally restart the Wiki for the plugin to be recognized.
----
At line 23 changed one line
!!Usage
Fixed by changing package names, see attachment at [SebastianBaltes].
At line 25 changed 5 lines
Within wiki markup, invoke the plugin as follows
{{{
[{###}]
}}}
As the class resides in the default directory, there is no need neither to prefix the plugin name with a package path nor to modify the plugin search path within the JSPWiki configuration file.
-- [NascifAbousalhNeto], 22-Jun-2006
At line 31 removed one line
###
At line 33 changed one line
!!Source Code
----
At line 35 changed one line
[Andreas Rozek|http://www.Andreas-Rozek.de] (EMail: [Andreas.Rozek@GMX.De|mailto:Andreas.Rozek@GMX.De])
I'd propose to treat the ''width'' and ''height'' attributes of the applet as strings, not integers. As the values are just copied into the generated HTML there is no need to restrict them to integers.
This way it becomes possible to use relative sizes, e.g. ''width="100%"''. This is legal HTML but is currently not possible with the AppletPlugin.
Luckily this is just a very small change in {{executeSafe(..)}}:
{{
// Integer width = parser.getInteger(PARAM_WIDTH, new Integer(300));\\
// Integer height = parser.getInteger(PARAM_HEIGHT, new Integer(300));\\
String width = parser.getString(PARAM_WIDTH, null);\\
String height = parser.getString(PARAM_HEIGHT, null);\\
}}
-- [JensGulden], 2006-10-07
Version Date Modified Size Author Changes ... Change note
28 07-Oct-2006 03:49 2.214 kB 85.178.90.48 to previous
27 07-Oct-2006 03:48 2.191 kB 85.178.90.48 to previous | to last
26 07-Oct-2006 03:48 2.181 kB 85.178.90.48 to previous | to last
25 22-Jun-2006 19:23 1.469 kB Nascif Abousalh-Neto to previous | to last
24 20-Jun-2006 21:44 1.344 kB Nascif Abousalh-Neto to previous | to last
23 20-Jun-2006 21:44 1.344 kB Nascif Abousalh-Neto to previous | to last
22 20-Jun-2006 21:43 1.348 kB Nascif Abousalh-Neto to previous | to last
21 07-May-2005 05:31 0.903 kB 24.154.254.226 to previous | to last
« This page (revision-28) was last changed on 07-Oct-2006 03:49 by 85.178.90.48