Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
M M
Terms Of Use
December 1, 2011 2:48 PM
Answer

M M

Rank: New Member

Posts: 11

Join Date: June 17, 2010

Recent Posts

I'm trying to figure out how to hook the 'Terms Of Use' action, so I can perform a custom action when the user clicks either the Accept or the Decline button. Is there an easy way to do this?

Thanks!
Jelmer Kuperus
RE: Terms Of Use
December 1, 2011 4:02 PM
Answer

Jelmer Kuperus

Rank: Liferay Legend

Posts: 1192

Join Date: March 10, 2010

Recent Posts

What do you want to happen when the user presses decline ? i think many scenarios could be solved with a simple jsp hook.

If you really need to change the action then you need to override it in ext if you are using liferay 6.0.x or you supposedly can use a hook if you use liferay 6.1
M M
RE: Terms Of Use
December 1, 2011 4:06 PM
Answer

M M

Rank: New Member

Posts: 11

Join Date: June 17, 2010

Recent Posts

I intended to call a method in our EJB tier. As I dig a little deeper, I think I may want to replace the whole terms of use portlet. I could probably redirect to a hidden page with a custom terms of use portlet and handle all the logic in there. This does seem a little hokey though.

Thanks!