留言板

Integrating Out-OF-BOX

Givika valluri,修改在12 年前。

Integrating Out-OF-BOX

Junior Member 帖子: 49 加入日期: 12-3-30 最近的帖子
Hi,


Can anybody help me how to integrate OUT-OF-BOX portlet to database like google-map i want to integrate with database


Thanks in Advance
thumbnail
Anil T,修改在12 年前。

RE: Integrating Out-OF-BOX

Expert 帖子: 313 加入日期: 12-1-14 最近的帖子
Hi Givika,

The following link may be helpful for you.
http://www.liferay.com/web/jonas.yuan/blog/-/blogs/6614590
Givika valluri,修改在12 年前。

RE: Integrating Out-OF-BOX

Junior Member 帖子: 49 加入日期: 12-3-30 最近的帖子
Hi Anil,



Thanks for Quick Reply,


But here View.jsp is not opening. Can you help me.

Here i want to integrate googlemap with database like mysql.

Please help me Anil
thumbnail
Ravi Kumar Gupta,修改在12 年前。

RE: Integrating Out-OF-BOX

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
Integration with db means u want to store something of google maps (in this case). I would suggest you to go with services. Use service builder to create your service and then xxxLocalServiceUtil class to do the add/delete data operations. Service builder will use the same database, which Liferay is using, for data storage.

To know more about Service builder see this : http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/service-build-5
I hope you are familiar with Liferay with database other than HSQL. See the database configuration. http://www.liferay.com/community/wiki/-/wiki/Main/Database+Configuration

The idea is to let u understand how databases are integrated with liferay and how service builder works. Then you can proceed with next step to work with google maps.

HTH
Givika valluri,修改在12 年前。

RE: Integrating Out-OF-BOX

Junior Member 帖子: 49 加入日期: 12-3-30 最近的帖子
Thanks a lot for Your Reply,

i have used ServiceBuilder and also i have integrated database of mysql

But here Ravi i have some place which i need to declare in google map that place should be retrive/add to database .

How i will do i am not getting any idea ?

Here i need to do some custom portlet for google map or what.

I am not understanding how i can implement.

So, please give me some idea so that i can implement
thumbnail
Ravi Kumar Gupta,修改在12 年前。

RE: Integrating Out-OF-BOX

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
All you need is to understand the google maps API. Once you know that these are the variables in javascript which hold some data you want to store. You can send those variable's value using ajax or some method to Liferay portlet (to processAction or to serveResource; based on your design). Then after receiving those values store using appropriate service..

If something is not clear please ask..

HTH
Givika valluri,修改在12 年前。

RE: Integrating Out-OF-BOX

Junior Member 帖子: 49 加入日期: 12-3-30 最近的帖子
Hi Ravi,


Thanks a lot and lot for your Quick reply.


If i have some doubt i will ask You


Thanks