Inserting Click-to-Action encodeProperty

To insert a Click-to-Action Output Property (encodeProperty), perform the following steps:

  1. Open a JSP file in the Design page in the Page Designer.

  2. Select the Portlet drawer in the Palette view.

  3. Drag and drop the

    Click-to-Action Output Property (encodeProperty) icon Click-to-Action Output Property object from the Palette view onto the page. Alternatively select Insert > Portlet >

    Click-to-Action Output Property (encodeProperty) icon Click-to-Action Output Property from the menu. The Insert Click-to-Action Output Property dialog opens.

  4. Provide values for the applicable fields. For more information about the fields, refer to Enabling cooperative sources, which uses the same fields.

  5. Click OK. The inserted output property is displayed in the JSP page in the Design page as an output property icon (

    Click-to-Action Output Property (encodeProperty) icon).

  6. 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 (encodeProperty) icon Click-to-Action Output Property object performs the following tasks:

  1. Enabling cooperative sources if necessary.

  2. 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