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
Listen page updates
Hello!
I would like to listen to page updates and run my own logic.
If
html structure of the page was changed I need to know it.
I noticed that I can use service override approach (like write a
class that will extend LayoutService and override updateLayout method
). It works.
I can see when user updates page (save it, resave
it or move portlets on the page)
But the question is how to be with web content portlets?
If user update web content then web page will include the newest
version of it.
User does not update page straight, but just
updates web content that is used on the page.
Technically page
was updated but the problem is I can't catch this event using
approach above (LayoutService overriding)
Any ideas?
Thanks!
Powered by Liferay™