<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to How-to</title><link>https://sourceforge.net/p/javascripting/wiki/How-to/</link><description>Recent changes to How-to</description><atom:link href="https://sourceforge.net/p/javascripting/wiki/How-to/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 25 Jul 2012 21:23:52 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/javascripting/wiki/How-to/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage How-to modified by Sébastien Le Marchand</title><link>https://sourceforge.net/p/javascripting/wiki/How-to/</link><description># 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]</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sébastien Le Marchand</dc:creator><pubDate>Wed, 25 Jul 2012 21:23:52 -0000</pubDate><guid>https://sourceforge.net3bd75685c4c6ed66d1baab9dda26d462d6116b5c</guid></item></channel></rss>