Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Can we redirect a page using LayoutModellistner?
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.
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.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™