Fórum

Can we use portal-impl.jar in plug-in development with service builder?

thumbnail
chandru palaniyappan, modificado 13 Anos atrás.

Can we use portal-impl.jar in plug-in development with service builder?

Junior Member Postagens: 85 Data de Entrada: 29/07/10 Postagens Recentes
Hi all,

I have created a service builder portlet and i want to use Struts Framework for that shall i extend PortletAction from portal-impl.jar or shall i use portals-bridges.jar(strutsportlet bridges) StrutsPortlet.

In this post they said that liferay is not recommended to use struts portlet bridges.

Then if i extend PortletAction i need to import portal-impl.jar to my portlet lib or in the global classpath.

Is it a right way?

Thanks in advance..


Chandru P
thumbnail
Minhchau Dang, modificado 13 Anos atrás.

RE: Can we use portal-impl.jar in plug-in development with service builder? (Resposta)

Liferay Master Postagens: 598 Data de Entrada: 22/10/07 Postagens Recentes
chandru palaniyappan:
Then if i extend PortletAction i need to import portal-impl.jar to my portlet lib or in the global classpath. Is it a right way?

No. If you plan to write a Struts portlet, even though the recommendation from that wiki article is to not write one, then you should use the Struts portlet bridge. Do not include portal-impl.jar under any circumstances.
thumbnail
chandru palaniyappan, modificado 13 Anos atrás.

RE: Can we use portal-impl.jar in plug-in development with service builder?

Junior Member Postagens: 85 Data de Entrada: 29/07/10 Postagens Recentes
Hi Minhchau Dang,
Really thanks for your reply
Chandru P