Published using Google Docs
LIFERAY TUTORIAL Creating Vaadin Portlet Using Wizard.docx
Updated automatically every 5 minutes

LIFERAY TUTORIAL

http://notarazi.blogspot.com 


LIFERAY TUTORIAL - Creating Vaadin Portlet Using Wizard

INTRODUCTION

This tutorial provides a step-by-step guide on creating Vaadin portlet using wizard. At the time of this writing, there is a bug and manual edit is required to correct this.

STEPS

  1. Follow the usual steps to create portlets, i.e
  1. Create new liferay project.
  2. Give a name, e.g., Vaadin101.
  3. Tick Vaadin portlet type.
  4. Click Finish.
  5. Check the newly created package in Package Explorer.
  1. If the package is directly deployed to the server, the Console Window will display error.
  2. To correct the error, open the portlet.xml.
    Locate the line
    “<name>view-template</name>”
    Replace it with “<name>application</name>”

    Bugged code.


    Corrected code.

  3. Re-deploy.

ADDITIONAL:

A sample of Vaadin file can be found here https://docs.google.com/open?id=0B86b-ALn-1MGU2duZUQtcE1lSDg , courtesy of http://www.bluesoft.net.pl. . The guide is on https://github.com/tlipski/newsletter-for-liferay . You may try but there is no guarantee that it works.

DOWNLOAD

https://sites.google.com/site/notarazi/home/liferaydocs/sample-Vaadin101-portlet.zip

REFERENCE

http://issues.liferay.com/browse/IDE-546