Foren

How Getting questinid of the newly created question in liferay hook

thumbnail
ALex joubert, geändert vor 7 Jahren.

How Getting questinid of the newly created question in liferay hook

Junior Member Beiträge: 27 Beitrittsdatum: 19.03.10 Neueste Beiträge
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
Rajeeva Lochana .B.R, geändert vor 7 Jahren.

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

Junior Member Beiträge: 67 Beitrittsdatum: 04.01.10 Neueste Beiträge
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