This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Extending an Application with Custom Plugins

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Java
Java
titleMyPlugin.java
package example.impl;

import example.IMyPlugin; 

public class MyPlugin implements IMyPlugin {
   public String saySomething() {
       return "We don't need no education"; //Sorry, I couldn't help it :)
   }
}

...

Code Block
xml
xml
titlePage.jsp
<s:iterator id="plugin" value="plugins">
  <s:property value="#plugin.sayHisaySomething()"/>
</s:iterator>