<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Listen page updates</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120499154" />
  <subtitle>Listen page updates</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120499154</id>
  <updated>2026-04-07T02:19:33Z</updated>
  <dc:date>2026-04-07T02:19:33Z</dc:date>
  <entry>
    <title>Listen page updates</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120499153" />
    <author>
      <name>Nikita Laitinen</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120499153</id>
    <updated>2020-12-10T14:19:11Z</updated>
    <published>2020-12-10T14:19:11Z</published>
    <summary type="html">&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I would like to listen to page updates  and run my own logic.&lt;br /&gt;If
  html structure of the page was changed I need to know it.&lt;/p&gt;
&lt;p&gt;I noticed that I can use service override approach (like write a
  class that will extend LayoutService and override updateLayout method
  ). It works. &lt;br /&gt;I can see when user updates page (save it, resave
  it or move portlets on the page)&lt;/p&gt;
&lt;p&gt;But the question is how to be with web content portlets?&lt;/p&gt;
&lt;p&gt;If user update web content then web page will include the newest
  version of it.&lt;br /&gt;User does not update page straight, but just
  updates web content that is used on the page.&lt;br /&gt;Technically page
  was updated but the problem is I can't catch this event  using
  approach above (LayoutService overriding)&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</summary>
    <dc:creator>Nikita Laitinen</dc:creator>
    <dc:date>2020-12-10T14:19:11Z</dc:date>
  </entry>
</feed>
