Foros de discusión

Service builder example portlet

Jerome Lamude, modificado hace 11 años.

Service builder example portlet

New Member Mensajes: 7 Fecha de incorporación: 21/12/12 Mensajes recientes
Hello,
I'm looking desperately for a easy tutorial or a zip for a sample-builder-portlet .
I want to create a portlet simply communicating with my database: Record, edit and delete my data.
Before ant build-service and after ant build-service.
Thank you

My configuration:
Liferay Portal 6.1 Community Edition 6.1 EC GA2 - Tomcat - Eclipse - Liferay Plugins SDK 6.1 GA 2
thumbnail
Tanweer Ahmed ., modificado hace 1 año.

RE: Service builder example portlet

Expert Mensajes: 322 Fecha de incorporación: 11/03/10 Mensajes recientes
Jerome Lamude:
Hello,
I'm looking desperately for a easy tutorial or a zip for a sample-builder-portlet .
I want to create a portlet simply communicating with my database: Record, edit and delete my data.
Before ant build-service and after ant build-service.
Thank you

My configuration:
Liferay Portal 6.1 Community Edition 6.1 EC GA2 - Tomcat - Eclipse - Liferay Plugins SDK 6.1 GA 2


Hi Jerome,

There is a sample service builder portlet in the Liferay SVN.
Checkout the Portlet here.

This Portlet demonstrates the Database interaction in the form of add, edit, update etc.

Hope this helps.


Regards,
Tanweer
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Service builder example portlet

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Have you tried liferay's online developer document?

http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/service-build-5
thumbnail
Prakash Khanchandani, modificado hace 11 años.

RE: Service builder example portlet

Expert Mensajes: 329 Fecha de incorporación: 10/02/11 Mensajes recientes
Check out the source code on git-hub for a sample-service-builder-portlet

And as mentioned by Hitoshi, please check out the Liferay Developer guide for the explanation of Service Builder. Very nicely explained.

Gone are the days when only a few things were documented emoticon
Chinnadurai Duraisami, modificado hace 11 años.

RE: Service builder example portlet

New Member Mensajes: 20 Fecha de incorporación: 28/11/12 Mensajes recientes
Hi Prakash,
I am also in need of service builder sample. i tried to use the ServiceBuilder as per your suggestion.
I get an error in foo_action.jsp as "view cannot be resolved to a variable" at line no: 35 <c:if test="<%= !view %>">
Could you please help me.

regards,
Chinna
Jerome Lamude, modificado hace 11 años.

RE: Service builder example portlet

New Member Mensajes: 7 Fecha de incorporación: 21/12/12 Mensajes recientes
I found my happiness, Pet Catalog portlet
this example helped me a lot.
http://www.emforge.net/web/liferay-petstore-portlet/wiki/-/wiki/Main/Step1%3A+From+DB+to+simple+UI
thank you
Chinnadurai Duraisami, modificado hace 11 años.

RE: Service builder example portlet

New Member Mensajes: 20 Fecha de incorporación: 28/11/12 Mensajes recientes
Hi,
Could you please share the working source code. I checked out the svn source and it shows red exclamation mark on project. It failed to deploy. But there is no error on any source files. It would be great if you share the source.

thanks,
Chinna
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Service builder example portlet

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Just download Jerome's attachment file.
Ananth S, modificado hace 10 años.

RE: Service builder example portlet

New Member Mensaje: 1 Fecha de incorporación: 18/10/13 Mensajes recientes
Jerome Lamude:
Hello,
I'm looking desperately for a easy tutorial or a zip for a sample-builder-portlet .
I want to create a portlet simply communicating with my database: Record, edit and delete my data.
Before ant build-service and after ant build-service.
Thank you

My configuration:
Liferay Portal 6.1 Community Edition 6.1 EC GA2 - Tomcat - Eclipse - Liferay Plugins SDK 6.1 GA 2


Try this tutorial : http://www.opensource-techblog.com/2013/03/creating-service-layer-in-service.html