Using Blossom 2 and Magnolia 4.5, I am trying to do something like this:
@Controller
@Template(id = "topicpages:pages/topics", title = "MyTemplate")
public class TopicTemplate {
...
@TabFactory("DialogInclude2")
public void topicTagTab2(TabBuilder tab){
tab.addInclude("topicpages/pages/topicLayout.jsp");
}
...
}
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'
I am familiar with the tutorial on dialoginclude at
http://wiki.magnolia-cms.com/display/WIKI/Creating+a+custom+control+with+DialogInclude,
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.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=d7ce67c2-eb30-42d0-ab74-f1039b5c4b57
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------