Configuring REL

If you intend to publish to REL, configure your Component Templates, Publication Targets, and the SmartTarget Tag bundle in the cd_dynamic_conf.xml file.

About this task

When set to REL, TCDL code on your published Web page, is transformed and executed by a Java class at request time. To make Content Delivery transform TCDL tags at request time:

Procedure

  1. In your Component Templates:
    1. Set the Output format property to REL (Render Engine Language).
    2. Set the Component Presentations based on this Component Template will be to the value Published as a Dynamic Component.
  2. In your Publication Targets, set the Target Language property to REL.
  3. Navigate to the location of your Dynamic Content Delivery configuration file:
    • In a .NET Web application, navigate to bin\config\.
    • In a Java Web application, navigate to WEB-INF/classes/.
  4. Open cd_dynamic_conf.xml in a text editor.
  5. In the <TCDLEngine> element, add the following element:
    <TCDLEngine>
       <TagBundle Resource="smarttarget_renderers_bundle.xml"/>
    </TCDLEngine>
  6. Save and close cd_dynamic_conf.xml .
  7. Optional: Open smarttarget_conf.xml in a text editor and configure TCDL settings for SmartTarget in the <Tcdl> section of the configuration file.
    For example, the <Pattern> section defines the regular expression that you can use in your code to indicate where a replacement string is inserted. By default, double-hash (##()##) signs are used to demarcate the string to be replaced (these indicate content that requires processing by SmartTarget).

What to do next

To access REL objects, use the following notation to evaluate an expression in your Dreamweaver Template:
 #{expression}
For example:
<tcdl:navigationSectionHeader>
    #{section.customFieldValues['MyNavigationLabel']}
</tcdl:navigationSectionHeader>