Inserting Click-to-Action encodeProperty
To insert a Click-to-Action Output Property (encodeProperty), perform the following steps:
- Open a JSP file in the Design page in the Page Designer.
- Select the Portlet drawer in the Palette view.
- Drag and drop the
Click-to-Action Output Property object from the Palette view onto the page. Alternatively select Insert > Portlet >
Click-to-Action Output Property from the menu. The Insert Click-to-Action Output Property dialog opens.
- Provide values for the applicable fields. For more information about the fields, refer to Enabling cooperative sources, which uses the same fields.
- Click OK. The inserted output property is displayed in the JSP page in the Design page as an output property icon (
).
- Refer to Editing Click-to-Action encodeProperty for a description of how to update attributes of the inserted Output Property (encodeProperty). You must specify the Value property, at a minimum.
Inserting the
Click-to-Action Output Property object performs the following tasks:
- Enabling cooperative sources if necessary.
- Inserts a <c2a:encodeProperty> tag and the taglib directive in the JSP file. The <c2a:encodeProperty> tag contains the specified type and the namespace property values. In addition to this, you must specify the Value property. You can also specify any other applicable properties. For details about updating these properties, refer to Editing Click-to-Action encodeProperty.
- Value: Required.
- Broadcast: Optional. The default setting.
- Generate markup: Optional. The default is false.
Related concepts
Developing cooperative portlets
Related tasks
Enabling existing portlets for cooperation
Enabling cooperative sources
Enabling cooperative targets
Inserting Click-to-Action encodeProperties
Editing Click-to-Action encodeProperty
Editing Click-to-Action encodeProperties
Related information
Web