title: Programmatically add composer while creating a component
body: <p>I need to create a window component from a ZUML using different composers. But i cant figure out how to do this programmatically. It works fine when I apply the composer to the window within the ZUML file. </p>
  
  <p><strong>This works</strong></p>
  
  <p>dataTemplate.zul</p>
  
  <pre><code>&lt;window id="dataTemplateWindow"
  apply="dk.dataproces.cpraap.controllers.DataTemplateWindowController"&gt;
            ....
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>dataTemplateWindow = (Window) Executions.createComponents(
                  "dataTemplate.zul", homeWindow, null);
  </code></pre>
  
  <p><strong>I would like to do something like this</strong></p>
  
  <p>No composer is attached within the ZUML, and it is instead added programmatically.</p>
  
  <pre><code>Map data = new HashMap();
  data.put("composer","dk.dataproces.cpraap.controllers.DataTemplateWindowController");
  dataTemplateWindow = (Window) Executions.createComponents("dataTemplate.zul", homeWindow, data);
  </code></pre>
  
  <p>The reason is I need to attach different controllers to the same ZUML.</p>