Forums de discussion

call serveResource from processAction

thumbnail
Shankar Baba, modifié il y a 10 années.

call serveResource from processAction

Regular Member Publications: 143 Date d'inscription: 18/10/12 Publications récentes
Hi all , is there any way to call serveResource from processAction,Thanks in advance.
thumbnail
Manupoti Subrahmanyam, modifié il y a 8 années.

Re: [Liferay Forums][General] call serveResource from processAction

Junior Member Publications: 39 Date d'inscription: 12/04/13 Publications récentes
Hi ,

You can't call serveResource method from processAction method.

Regards
Subrahmanyam


On Wed, Aug 28, 2013 at 10:28 AM, Shankar Baba from liferay.com <
forums@liferay.com> wrote:

> Hi all , is there any way to call serveResource from processAction,Thanks
> in advance.
>
>
> To view the thread, follow the link below:
>
> https://www.liferay.com/community/forums/-/message_boards/view_message/27747729
> --
> Liferay.com <http://www.liferay.com>
thumbnail
Punam Shah, modifié il y a 8 années.

RE: call serveResource from processAction

Regular Member Publications: 117 Date d'inscription: 20/01/12 Publications récentes
Rather to call serveresource moved your common code into a private function with concrete data as param instead of passing any request/response object. After then call it either serveresource or process action.

Hth!!!