掲示板

Create Table in Liferay Database Using a Portlet

14年前 に Charmaine Rebollido によって更新されました。

Create Table in Liferay Database Using a Portlet

Junior Member 投稿: 28 参加年月日: 09/12/12 最新の投稿
Hello,

Can anyone help me on how to create a portlet that automatically creates its own table in liferay's database? So that I can store and retrieve data in/from the portlet.

I am using Netbeans and I don't have and extension environment in the development.

Any help is appreciated.

Thanks...
thumbnail
14年前 に Shagul Khaja によって更新されました。

RE: Create Table in Liferay Database Using a Portlet

Liferay Master 投稿: 758 参加年月日: 07/09/27 最新の投稿
Hi,

You should probably look at the WOL-portlet and Chat-portlet in the plugins trunk.

Liferay SVN - Plugins trunk

Best,
Shagul
14年前 に Charmaine Rebollido によって更新されました。

RE: Create Table in Liferay Database Using a Portlet

Junior Member 投稿: 28 参加年月日: 09/12/12 最新の投稿
OK, thanks I'll try to check these portlets..
14年前 に Charmaine Rebollido によって更新されました。

RE: Create Table in Liferay Database Using a Portlet

Junior Member 投稿: 28 参加年月日: 09/12/12 最新の投稿
Hi,

can you give me references for tutorials on how to retrieve data from MySQL database of liferay?

Thanks
thumbnail
14年前 に Shagul Khaja によって更新されました。

RE: Create Table in Liferay Database Using a Portlet

Liferay Master 投稿: 758 参加年月日: 07/09/27 最新の投稿
Charmaine Rebollido:
Hi,

can you give me references for tutorials on how to retrieve data from MySQL database of liferay?

Thanks


Hi Charmaine,

I would recommend that you check out the portal source for the version that you are using and the sample portlets from the plugins.

You should use the appropriate ServiceUtils to access the information from Liferay database. You could use dynamic query if needed.

Liferay Dynamic query


Best Regards,
Shagul
14年前 に Charmaine Rebollido によって更新されました。

RE: Create Table in Liferay Database Using a Portlet

Junior Member 投稿: 28 参加年月日: 09/12/12 最新の投稿
Hi!

I've already found a good tutorial on how to automatically create a table in liferay's database and it is really great.

Check this url: http://www.liferay.com/web/satyaranjan/blog/-/blogs/2506216

I just followed it and it's done.
Thanks to the blogger.
thumbnail
12年前 に Jack A. Rider によって更新されました。

RE: Create Table in Liferay Database Using a Portlet

Regular Member 投稿: 139 参加年月日: 07/03/26 最新の投稿
Hello Charmaine,

Check www.xmlportletfactory.org is a tool that creates crud portlets for Liferay and internally uses service builder, so it automaticly creates database tables.

Saludos, Jack
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: Create Table in Liferay Database Using a Portlet

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
That's neat! I'll try it out. Thanks for the link.
thumbnail
12年前 に Jay Patel によって更新されました。

RE: Create Table in Liferay Database Using a Portlet

Regular Member 投稿: 118 参加年月日: 10/02/24 最新の投稿
Jack A. Rider:
Hello Charmaine,

Check www.xmlportletfactory.org is a tool that creates crud portlets for Liferay and internally uses service builder, so it automaticly creates database tables.

Saludos, Jack



Thanks Jack for sharing this..
Need to try this...
Regards,
Jay.
thumbnail
13年前 に Michael Saechang によって更新されました。

Moved Thread

Liferay Master 投稿: 576 参加年月日: 07/11/19 最新の投稿
Moved to Development