Forums de discussion

How could portlet URL be build inside SB's service?

Gwowen Fu, modifié il y a 9 années.

How could portlet URL be build inside SB's service?

Expert Publications: 315 Date d'inscription: 27/12/10 Publications récentes
Hi,

In my web service created by SB, I would like to create a function to return a portlet url based on the article id provided.
The PortletURLFactoryUtil.create() requires a request object. Could anyone give me some advice how this could be done?

Thank you!
Gwowen
thumbnail
David H Nebinger, modifié il y a 9 années.

RE: How could portlet URL be build inside SB's service?

Liferay Legend Publications: 14915 Date d'inscription: 02/09/06 Publications récentes
Gwowen Fu:
In my web service created by SB, I would like to create a function to return a portlet url based on the article id provided.
The PortletURLFactoryUtil.create() requires a request object. Could anyone give me some advice how this could be done?


Can't be. Not available inside service scope.