Foren
ServicePreAction and ServicePostAction
Riya M S, geändert vor 11 Jahren.
ServicePreAction and ServicePostAction
Junior Member Beiträge: 45 Beitrittsdatum: 30.01.13 Neueste Beiträge
Hello Guys what is ServicePreAction and ServicePostAction how can i call using hooks ?
Pankaj Kathiriya, geändert vor 11 Jahren.
RE: ServicePreAction and ServicePostAction
Liferay Master Beiträge: 722 Beitrittsdatum: 05.08.10 Neueste Beiträge
These are actions which intercepts any request [ServicePreAction: Before struts action performed, ServicePostAction: After struts action performed].
You can have your own Action class having your custom logic in hook and specify class entry for example : servlet.service.events.pre=classname in portal.properties of hook.
Thanks,
Pankaj
You can have your own Action class having your custom logic in hook and specify class entry for example : servlet.service.events.pre=classname in portal.properties of hook.
Thanks,
Pankaj
Apoorva Prakash, geändert vor 11 Jahren.
RE: ServicePreAction and ServicePostAction
Liferay Master Beiträge: 658 Beitrittsdatum: 15.06.10 Neueste BeiträgeRiya M S:
Hello Guys what is ServicePreAction and ServicePostAction how can i call using hooks ?
Hello Riya,
See this link. It deals about events in details.
HTH.
Thanks and Regards,
Apoorva Prakash
Riya M S, geändert vor 11 Jahren.
RE: ServicePreAction and ServicePostAction
Junior Member Beiträge: 45 Beitrittsdatum: 30.01.13 Neueste Beiträge
Thanks all for valuable reply !!