Enabling processing of UGC tags by JSP assembler classes

To enable the assembler classes PageAssembler and ComponentPresentationAssembler to process UGC TCDL tags at runtime, you need to add a tag bundle to your dynamic configuration file (cd_dynamic_conf.xml).

About this task

The default Template Building Blocks for UGC create TCDL tags. These tags are handled differently depending on the Target Language setting in the Publication Target:

  • if the Target Language is set to JSP or ASP.NET, the UGC tags are transformed into JSP or ASP.NET code during publishing that require no further processing.
  • if the Target Language is set to REL, the UGC tags are published as is (TDCL) to the Web site that require processing at request time.

Procedure

  1. Access the WEB-INF/classes/ subdirectory of the location where your Web site is running.
  2. Open the file cd_dynamic_conf.xml in a plain-text or XML editor.
  3. In the <TCDLEngine> section, insert the following element just before the end tag:
    <TagBundle Resource="ugc_renderer_bundle.xml"/>
  4. Save and close cd_dynamic_conf.xml.
  5. Access the SDL Tridion installation media.
  6. Navigate to the subfolder Content Delivery\resources\tld\ and copy ugc.tld to the WEB-INF/lib/ subdirectory.
  7. Restart the Java/JSP Web application.