RE: Can we redirect a page using LayoutModellistner?

Sanat D, modified 4 Years ago. New Member Posts: 17 Join Date: 9/8/20 Recent Posts

Is there a way after creation of widget page the request should redirect to same page.As the functionality is there for page type content.we don't have any actionRequest or renderrequest so anybody who has knowlege regarding this will light up on this topic.

 

Please help.Thanks in advance.

thumbnail
Olaf Kock, modified 4 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

A ModelListener fires when the entity is updated (e.g. a page is renamed). It has nothing to do with any request being served - that's why you don't have any request associated with it, and there's nothing to redirect at that time.

Let us know what you want to achieve (e.g. the underlying problem), and we might be able to give you a hint how to achieve it.