Is there a way to pass a variable through when calling RenderComponentPresentation? [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Variable setting in Dreamweaver template in SDL Tridion We use RenderComponentPresentation (on Tridion 2009) to render internal and external links so that the code base is in only one Dreamweaver template. It would be helpful if we could pass through an optional CSS Class to use when rendering the link. Any ideas how this could be done? 回答1: It is possible to set a value in the RenderContext and then retrieve it