<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Messages API for manipulating the DOM on sillysky.net</title>
    <link>https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/</link>
    <description>Recent content in Messages API for manipulating the DOM on sillysky.net</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 09 Dec 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CRecordWebDeregisterWidgetOwner</title>
      <link>https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/crecordwebderegisterwidgetowner/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/crecordwebderegisterwidgetowner/</guid>
      <description>&lt;p&gt;Browser messages are always associated with an HTML element ID. If you&#xA;registered element IDs using the &lt;a href=&#34;https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/crecordwebregisterwidgetowner/&#34;&gt;CRecordWebRegisterWidgetOwner&lt;/a&gt; message,&#xA;you need to deregister them when your service is deleted. You can either&#xA;deregister specific element IDs or all IDs linked to your microservice.&lt;/p&gt;&#xA;&lt;p&gt;The message is part of the &lt;a href=&#34;https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/&#34;&gt;RemoteSkin Web API&lt;/a&gt;.&lt;br&gt;&#xA;The API is located in the plugin NY_RemoteSkinWebProtocolAPI.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;  &#34;id&#34;: &#34;43e176e2-e502-4cce-aedf-1ce5ab35aa0b&#34;,&#xA;  &#34;name&#34;: &#34;WEB_DEREGISTER_WIDGET_OWNER&#34;,&#xA;  &#34;description&#34;: &#34;Deregister a widget owner.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;1&#34;,&#xA;      &#34;name&#34;: &#34;WIDGET_IDS&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;OPTIONAL&#34;,&#xA;      &#34;type&#34;: &#34;STRING_ARRAY&#34;,&#xA;      &#34;description&#34;: &#34;Optional: The IDs of HTML widgets to deregister.\nIf missing, all widgets for this address will be deregistered.&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;h3 id=&#34;deregister-all-element-ids&#34;&gt;Deregister all element IDs&lt;/h3&gt;&#xA;&lt;p&gt;The RemoteSkin target address is also required.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CRecordWebRegisterWidgetOwner</title>
      <link>https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/crecordwebregisterwidgetowner/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/crecordwebregisterwidgetowner/</guid>
      <description>&lt;p&gt;The CRecordWebRegisterWidgetOwner message enables the forwarding of&#xA;notifications from the browser to your microservice. Browser messages are&#xA;always associated with an HTML element ID. You can register any number of&#xA;element IDs with your microservice address to receive these events.&lt;/p&gt;&#xA;&lt;p&gt;The message is part of the &lt;a href=&#34;https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/&#34;&gt;RemoteSkin Web API&lt;/a&gt;.&lt;br&gt;&#xA;The API is located in the plugin NY_RemoteSkinWebProtocolAPI.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;  &#34;id&#34;: &#34;738d3f34-a5a0-4431-a9ed-6064d39910cd&#34;,&#xA;  &#34;name&#34;: &#34;WEB_REGISTER_WIDGET_OWNER&#34;,&#xA;  &#34;description&#34;: &#34;Register a target address for a widget.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;1&#34;,&#xA;      &#34;name&#34;: &#34;WIDGET_IDS&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;STRING_ARRAY&#34;,&#xA;      &#34;description&#34;: &#34;The IDs of HTML widgets which belong to the sender.&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;h3 id=&#34;registration&#34;&gt;Registration&lt;/h3&gt;&#xA;&lt;p&gt;This method registers an array of HTML element IDs in order to receive&#xA;notifications from the browser for these elements.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CWebApi</title>
      <link>https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/cwebapi/</link>
      <pubDate>Wed, 27 Nov 2024 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/cwebapi/</guid>
      <description>&lt;p&gt;This is the documentation of the helper class CWebApi of the RemoteSkin Web&#xA;API. This class can be used to send messages to the browser with which the DOM&#xA;tree of the website can be changed.&lt;/p&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;p&gt;You have a target that should send commands to the browser. Create a private&#xA;field in the target class:&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;private final &lt;a href=&#34;https://sillysky.net/docs/doc-remoteskin/remoteskin-for-the-web/messages-api-for-manipulating-the-dom/cwebapi/&#34;&gt;CWebApi&lt;/a&gt; mWebApi;&#xA;    &lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;p&gt;Initialize the field (e.g. in the constructor). In any case, you need the&#xA;target address of the web socket connection.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
