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
!!Sorry Andreas, but I couldn't wait ;-)
Applet plugin is available at the [applet plugin home page|http://www.earthdawn-wiki.de/Wiki.jsp?page=AppletPlugin] --Sebastian
At line 3 changed 2 lines
!!Here is the website of my working [applet plugin|http://jsp.sorokan.de:8080/web28/Wiki.jsp?page=AppletPlugin]
--Sebastian
-----
At line 5 added 2 lines
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 7 changed one line
---
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 10 added one line
----
At line 10 changed 5 lines
(yet to be written - tomorrow)
!!Compilation
Save the source code shown at the bottom of this page into a file called {{###.java}}. Then invoke the Java compiler as follows
''(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 16 changed one line
javac ###.java
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 18 changed one line
(or similar - depending on the development environment you are using)
I looked inside the .jar file and it is using the (I think) default JSPWiki Java package, {{com/ecyrd/jspwiki/plugin}}
At line 20 changed one line
!!Installation
-- [NascifAbousalhNeto]
At line 22 changed 5 lines
Create a JAR archive containing the Java class file for the plugin. You may use the command
{{{
jar cvf ###.jar ###.class
}}}
for that purpose.
----
At line 28 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.
Fixed by changing package names, see attachment at [SebastianBaltes].
At line 30 changed one line
Finally restart the Wiki for the plugin to be recognized.
-- [NascifAbousalhNeto], 22-Jun-2006
At line 32 removed one line
!!Usage
At line 34 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.
----
At line 40 changed one line
###
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.
At line 42 changed one line
!!Source Code
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.
At line 44 changed one line
[Andreas Rozek|http://www.Andreas-Rozek.de] (EMail: [Andreas.Rozek@GMX.De|mailto:Andreas.Rozek@GMX.De])
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