How to retrieve the component presentations using DWT in Page Template templating?

How to retrieve the component presentation using DWT in a Page Template where the component have neither content nor any fields in it.The component is a dummy component created using empty schema linked along with a component template on a page. I tried the following DWT code

 <!-- TemplateBeginRepeat name="Components" --> 
 <!-- TemplateEndRepeat -->

But I am getting the following error while running the page template in template builder..

Length cannot be less than zero.
Parameter name: length
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   at Tridion.ContentManager.Templating.Dreamweaver.DreamweaverMediator.TransformValueReferences(Package package, StringReference templateReference, Regex startTagExpression, String endTag)
   at Tridion.ContentManager.Templating.Dreamweaver.DreamweaverMediator.TransformRegions(Package package, String dreamweaverTemplate)
   at Tridion.ContentManager.Templating.Dreamweaver.DreamweaverMediator.Transform(Engine engine, Template templateToTransform, Package package


Have you add Extract components from Page TBB before your DWT? Extract components from Page tbb will create "Components" package for you...

Need Your Help

efficient circular buffer?

python circular-buffer

I want to create an efficient circular buffer in python (with the goal of taking averages of the integer values in the buffer).

remove the workflow via the Java code at bootstartup

java workflow alfresco bootstrapping

I need to remove the workflow via the Java code at bootstartup. My code works correctly at runtime, but it throw exception if I run it at boot startup. What should I do to remove the workflow at