Context Engine Cartridge ships with a custom element for rendering content only if a certain context expression evaluates to true, and another custom element for rendering the result of evaluating a context expression. This topic explains how to enable the transformation of these custom elements for JSP as Custom Tags, or for ASP.NET as Server Controls.
Procedure
- Access the server on which the Content Deployer runs that deploys content to the Web site on which you want to make the Custom Tags or Server Controls available. If you have multiple Content Deployers and/or servers that fit this description, change each of them in turn.
- On this server, navigate to the Content Deployer root location.
- Then navigate to bin\lib\ (.NET) or WEB-INF/lib/ (Java).
- On your SDL Tridion installation media, navigate to Content Delivery\roles\cwd-extensions\java\lib\.
- Copy cwd_transformer.jar from the installation media to the server:
- Navigate to bin\config\ (.NET) or WEB-INF/classes/ (Java).
- Open cd_deployer_conf.xml for editing.
- Inside the <TCDLEngine> section, insert the following
TagBundle element:
<TagBundle Resource="com/sdl/context/transform/contextTagTransformerBundle.xml" />
- Save and close cd_deployer_conf.xml.
- Repeat these steps for other Content Deployers that publish to the Web site on which you want to make these Custom Tags or Server Controls available.