Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Sushma Reddy
How to write action class in hook
October 28, 2010 11:41 AM
Answer

Sushma Reddy

Rank: Junior Member

Posts: 35

Join Date: October 28, 2010

Recent Posts

Hi,
I am new to liferay,how to write a hook so that when you create a hyper link in navigation.jsp i need to call one of our user defined class.
i am able to write hook for jsp and created hyper link in navigation.jsp, but i dont know how to write the user defined action class which will be called when you click on user defined hyperlink in navigation.jsp.
i aM USING LIFERAY 6
Thanks,
Sushma
Archana S
RE: How to write action class in hook
February 5, 2013 10:38 PM
Answer

Archana S

Rank: Junior Member

Posts: 45

Join Date: January 30, 2013

Recent Posts

Hello eveyone,

I too have same doubt, can anyone share some idea with some snippet !! how and where to implement action class .

Thanks
Riya MS
Jitendra Rajput
RE: How to write action class in hook
February 5, 2013 10:44 PM
Answer

Jitendra Rajput

Rank: Liferay Master

Posts: 858

Join Date: January 7, 2011

Recent Posts

You mean custom struts action class ? If so then check below link
http://www.liferay.com/web/mika.koivisto/blog/-/blogs/7132115
Archana S
RE: How to write action class in hook
February 6, 2013 2:33 AM
Answer

Archana S

Rank: Junior Member

Posts: 45

Join Date: January 30, 2013

Recent Posts

Hi Jitendra Rajput,
Thanks for your reply i am using spring frame work !! so can you pls help me on that ? and I am using Liferay 6.1 CE GA2 .
Chirag Patadia
RE: How to write action class in hook
February 6, 2013 2:14 AM
Answer

Chirag Patadia

Rank: Junior Member

Posts: 29

Join Date: February 2, 2012

Recent Posts

Hi Sushma,

Can you please share which service pack version you are using? Liferay 6.0 SP1 or Liferay 6.0 SP2? Also share whether you are using CE or EE version of Liferay?