掲示板

How Getting questinid of the newly created question in liferay hook

thumbnail
7年前 に ALex joubert によって更新されました。

How Getting questinid of the newly created question in liferay hook

Junior Member 投稿: 27 参加年月日: 10/03/19 最新の投稿
Hello,

I want to recover the id of poll question when I click add, for information I use the strut action hook

public void processAction(
StrutsPortletAction originalStrutsPortletAction,
PortletConfig portletConfig, ActionRequest actionRequest,
ActionResponse actionResponse)
throws Exception {


# before

originalStrutsPortletAction.processAction(
originalStrutsPortletAction,
portletConfig,
actionRequest,
actionResponse);


# after



}
thumbnail
7年前 に Rajeeva Lochana .B.R によって更新されました。

RE: How Getting questinid of the newly created question in liferay hook

Junior Member 投稿: 67 参加年月日: 10/01/04 最新の投稿
Hi Alex,

Please elaborate, what exactly you are trying to achieve? Based on your requirement we can provide the solution.

To fetch the id of Poll Question before/after creating, you can use ModelListener Hook.

Note: If you have any question related to development, please create under development post thread.
Home » Liferay Portal » English » 3. Development