Dr-ed

Dr Nguyen🙂.

Vaadin-Liferay integration

Manual Integration

 

Step 1

Remove the vaadin installation from Liferay by removing vaadin 6 library jar from “tomcat-x.x.x/webapps/ROOT/html/VAADIN” and VAADIN directory from “tomcat-x.x.x/webapps/ROOT/WEB-INF/lib/vaadin.jar”.

Step 2

Download the vaadin 7 installation package from https://vaadin.com/download.

Step 3

Extract the VAADIN folder from the vaadin-server.jar, vaadin-themes.jar and vaadin-client-compiled.jar into tomcat-x.x.x/webapps/ROOT/html/VAADIN.

You can do this from terminal as follows:

 

$ cd tomcat-x.x.x/webapps/ROOT/html

$ unzip path-to/vaadin-server-7.1.7.jar ‘VAADIN/*’

$ unzip path-to/vaadin-themes-7.1.7.jar ‘VAADIN/*’

$ unzip path-to/vaadin-client-compiled-7.1.7.jar ‘VAADIN/*’

 

Step 4

Copy vaadin-server.jar, vaadin-shared.jar, vaadin-shared-deps.jar and jsoup.jar into tomcat-x.x.x/webapps/ROOT/WEB-INF/lib.

Remove the version numbers from these jars if you want to follow the Liferay standard.

 

Step 5

Use portal-ext.properties to define a widget set, theme and resource path.

 

Here is a sample portal-ext.properties to define a widget set, theme and resource path. We have to add following properties in portal-ext.properties.

 

# Path under which the VAADIN directory is located.

# (/html is the default so change is not required.)

# vaadin.resources.path=/html

 

# Portal-wide widget set

vaadin.widgetset=com.vaadin.server.DefaultWidgetSet

 

# Theme to use

vaadin.theme=liferay

 

Now, you need to restart liferay portal. Your portal is ready to work with vaadin 7.

 

Integration via Control Panel

 

Step 1

Install Vaadin Control Panel from Liferay marketplace. You can find control panel at https://www.liferay.com/marketplace/-/mp/application/27527287.

I am assuming, now that vaadin control panel is deployed in your liferay portal.

 

Step 2

Login into Liferay Portal.

 

Step 3

Go to control panel of Liferay portal and you will find Vaadin Configuration in Configuration section as below.

 

Source: http://www.surekhatech.com/blog/vaadin-7-integration-in-liferay

Very close now …

This thesis is the result of a long journey throughout which I received great support from many people whom I wish to acknowledge here. I do not think I could have completed this thesis without them and their support.

My supervisor, Professor David Abramson, and my fiancée, Lê Ngọc Thảo, probably deserve the most acknowledgements. David, I am forever thankful to your support, guidance and inspiration. I am grateful for your scholarships, for relocating me to Brisbane where I met Thao, and for your effort to proofread every single chapter in this thesis. And Thảo, I thank you very much for providing me with your love, encouragement and companion. I cannot wait to start our new journey.

I also thank my family, my father Nguyễn Hồng Thái, brother Nguyễn Hoàng Sơn, sister Cao Lệ Quyên, aunty Quách Thị Hà for their support and encouragement during the last four years.

I would like to take this opportunity to thank Dr. Minh Ngoc Dinh, who has been a wonderful colleague and friend. I am grateful for your support, advice and wisdom-ish🙂. I would really hope for continuing working with you in the future.

I am grateful to Dr. Timoleon Kipouros and Dr. Siddeswara Guru for their collaborations during the candidature. Many use cases are the outcomes of these collaborations.

I would like to express my gratitude towards Dr. Minh Duc Cao, Hasn AlTaiar and Dr. Ricky Theodore. Their comments were really helpful throughout the writing process.

Last but not least, I would like to thank my Melbournian friends for their support. Himanshu Pahujas, Hasn AlTaiar, Ricky Theodore, Ashwin Shah, Jessie Nghiem, Aisa Na’im, Michael Bong, Adelina Wi and Rabbit.

Tết nay …. :)

Tết nay anh không thèm đốt pháo
Vì đã có tiếng em kêu giống như là bom mìn
Tết nay anh không thèm choi hoa
Vì tiếng em cười tan tác một vườn hoa

… :( Another brick

And my weekend is ruined. Damn the brick😦.