A demo of a Liferay portlet that has preferences that can be configured with Options->Configuration->Setup.