Message Boards
How Getting questinid of the newly created question in liferay hook
ALex joubert, modified 7 Years ago.
How Getting questinid of the newly created question in liferay hook
Junior Member Posts: 27 Join Date: 3/19/10 Recent Posts
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
}
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
}
Rajeeva Lochana .B.R, modified 7 Years ago.
RE: How Getting questinid of the newly created question in liferay hook
Junior Member Posts: 67 Join Date: 1/4/10 Recent Posts
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
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