+

Search Tips   |   Advanced Search

Server side: WebDock portlet as publisher


The WebDock portlet is capable of publishing a JSR 286 based portlet event.

Set the preference...

...in the Edit Shared Settings mode of the WebDock portlet. Then create a wire from the WebDock portlet to a target portlet using the Portlet Wiring Tool.

The WebDock portlet publishes a JSON string containing the id and value of the source element. If the source element is "a", then value will be the href property of the element.

The source element contains user actions. The preference...

...is used to specify the type of elements (a comma separated list like button, a ) which can result in the publishing of an event. The preference...

...is used to specify the type of events (a comma separated list like onclick, onchange) that need to be captured from inside the iframe of the WebDock portlet. Only events captured from inside the iframe of the WebDock portlet will result in the publishing of an event.

Set the event definition in WebDock's portlet.xml...


Parent: Web application bridge inter-portlet communication