This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Installare plugin esterni#

  1. Editare il file fi properties ed aggiungere il package corrispondente al plugin da installare. (jspwiki.plugin.searchPath = org.ceryle.wiki.plugin)
  1. Copiare il jar del package sotto WEBINF/lib (es ceryle-wikiutil-1.0a12-20070216.jar)
  2. riavviare tomcat

Plugin org.smeup.jspwiki.plugin#

Questo è un oggetto Smeup di tipo

E questo è l'hallowordl!#

Codice Java:

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.smeup.jspwiki.plugins.hallo;

import com.ecyrd.jspwiki.WikiContext;
import com.ecyrd.jspwiki.plugin.PluginException;
import com.ecyrd.jspwiki.plugin.WikiPlugin;
import java.util.Map;

/**
 *
 * @author mauro
 */
public class Hallo implements WikiPlugin{

    public String execute(WikiContext context, Map params) throws PluginException {

        return "CIAO";
    }

}

Codice Wiki:

[{com.smeup.jspwiki.plugins.hallo.Hallo}]

Risultato Plugin insertion failed: Could not find plugin com.smeup.jspwiki.plugins.hallo.HalloPlugin insertion failed: Could not find plugin com.smeup.jspwiki.plugins.hallo.Hallo

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
zip
JSPWikiPlugins.zip 1,719.4 kB 1 14-Apr-2010 14:30 m.sanfilippo
« This particular version was published on 14-Apr-2010 14:30 by m.sanfilippo.