掲示板
How write my own render method for announcment view page in liferay.
7年前 に Kiran Kumar Boyini によって更新されました。
How write my own render method for announcment view page in liferay.
Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
Hi All,
I want to write some logic before rendering to announcement view page. I want to be this done by hook.
This is liferay hook .xml which is extending BaseStrutsPortletAction class
We have already customized on existed announcment view page which is in this path in root level
ROOT\html\portlet\announcements\view_entries.jspf .
Now I want to write logic before rendering the above page
How can I do this , I tried the above hook.xml but it is not at all going to render page of the above class.
Regards,
Kiran
I want to write some logic before rendering to announcement view page. I want to be this done by hook.
This is liferay hook .xml which is extending BaseStrutsPortletAction class
<struts-action>
<struts-action-path>/announcements/view</struts-action-path>
<struts-action-impl> com.unisys.vantagepoint.struts.action.AnnouncementListingAction</struts-action-impl>
</struts-action>
We have already customized on existed announcment view page which is in this path in root level
ROOT\html\portlet\announcements\view_entries.jspf .
Now I want to write logic before rendering the above page
How can I do this , I tried the above hook.xml but it is not at all going to render page of the above class.
Regards,
Kiran
7年前 に David H Nebinger によって更新されました。
RE: How write my own render method for announcment view page in liferay.
Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
It's not possible. Struts actions are not portlets, they will never be invoked for renders.