title: Magnolia Blossom addinclude
body: <p>Using Blossom 2 and Magnolia 4.5, I am trying to do something like this:</p>
  
  <pre><code>@Controller
  @Template(id = "topicpages:pages/topics", title = "MyTemplate")
  public class TopicTemplate {
  ...
  @TabFactory("DialogInclude2")
  public void topicTagTab2(TabBuilder tab){
  tab.addInclude("topicpages/pages/topicLayout.jsp");
  }
  ...
  }
  </code></pre>
  
  <p>There's a little bit more to the code, but I think this is the relevant piece. The problem is that when I attempt to include a JSP in this manner, I get the following error:
  Jan 3, 2013 2:48:33 PM org.springframework.web.servlet.DispatcherServlet noHandlerFound
  WARNING: No mapping found for HTTP request with URI [/.magnolia/dialogs/topicpages/pages/topicLayout.jsp] in DispatcherServlet with name 'controller'</p>
  
  <p>I am familiar with the tutorial on dialoginclude at <a href="http://wiki.magnolia-cms.com/display/WIKI/Creating+a+custom+control+with+DialogInclude" rel="nofollow">http://wiki.magnolia-cms.com/display/WIKI/Creating+a+custom+control+with+DialogInclude</a>, but I'm not sure how to do this: "For a dialog to use the control it needs to define a content node named controlType with a value of 'include' and another named file whose value is the location of the JSP to be included." since all of my dialogs are created through Blossom.</p>