Menu

How-to

Sébastien Le Marchand

How-to

To install the plugin

Follow the instructions from the Liferay Portal Administration Guide : http://www.liferay.com/documentation/liferay-portal/6.0/administration/-/ai/plugin-manageme-4

To execute a script written in plain old Java

Go to the script console

Select "Java" as scripting language

Paste your plain old Java class code in the text area

Push the "Execute" button

To write a script in plain old Java

Write a standard Java class with a method named "execute()" and without arguments neither return type. This is this method it will be executed.

For some concrete examples, go to [Samples]


Related

Wiki: Samples

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.