2

I am creating/extending a simple TCDL tag following this link: http://www.tridiondeveloper.com/cleaning-and-extending-dynamic-linking

However, the IMPORT statement: import com.tridion.tcdl.TagRenderer; is having error as not found. I have added all possible JAR files references to my Java project(in Eclipse). All the JAR files were taken from the lib folder of my tridion website.

Below is the Error shown. Which JAR file am I missing ?

enter image description here

3

The class com.tridion.tcdl.TagRenderer is available in the cd_dynamic.jar, and it can be found in your SDL Tridion 2013 SP1 installation media under Content Delivery\roles\api\java\lib.

Basically for we website you should have the following jars from the above mentioned location:

  • cd_ambient.jar
  • cd_broker.jar
  • cd_cache.jar
  • cd_core.jar
  • cd_datalayer.jar
  • cd_dynamic.jar
  • cd_linking.jar
  • cd_model.jar
  • cd_tcdl.jar
  • cd_wai.jar

Next to that you will also need all 37 jars from the Content Delivery\roles\api\java\third-party-lib folder.

3
  • Can you please confirm atleast for this solution i am developing adding cd_dynamic.jar is required for now? Is all other 37 jars also must be referenced by my solution ? Jul 25 '17 at 7:39
  • I can confirm that if you need to implement a TagRenderer you will need to import com.tridion.tcdl.TagRenderer which means you need to reference the cd_dynamic.jar in your project, and that jar has dependencies on other jars etc. etc., so you should reference all 10 jars from the lib folder and all 37 jars from the third-party-lib in order to be able to compile your project. Jul 25 '17 at 8:18
  • Thank you very much Bart. I understand now how these dependencies work Jul 25 '17 at 9:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.