Property transfer using wires

 

+

Search Tips   |   Advanced Search

 

Wires allow portlets to communicate. They are used to save property transfers between portlets.

Standard portlets can only be connected by wires through the Portlet Wiring Tool. IBM portlets can be connected by wires through the Portlet Wiring Tool or using Click-to-Action. If a wire is present when the user clicks on the Click-to-Action icon, no selection menu is shown. Instead the wired action is automatically fired. Wires may also be used to initiate property value transfers in the absence of Click-to-Action icons, simply as a side effect of an action being executed on the source portlet.

If a wired action is associated with output parameters, the property broker checks for values for the properties associated with the parameters once the action has finished executing. If such properties are found, the property broker examines wires with source ends that correspond to the output properties of the action. If such wires are found:

  • If the target end of the wire is an input parameter, the actions on the target are invoked and the property value delivered using the input parameter information.

  • For IBM portlets only: If the target end of the wire is an input property, the property value will be delivered to the portlet's setProperties() method, (using the PropertyListener interface).

 

Related information