Forums de discussion

How Getting questinid of the newly created question in liferay hook

thumbnail
ALex joubert, modifié il y a 7 années.

How Getting questinid of the newly created question in liferay hook

Junior Member Publications: 27 Date d'inscription: 19/03/10 Publications récentes
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, modifié il y a 7 années.

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

Junior Member Publications: 67 Date d'inscription: 04/01/10 Publications récentes
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