Hi Arthur,
The include request made to render your control goes to
/.magnolia/dialogs/topicpages/pages/topicLayout.jsp because you specify a
relative path to the JSP. That's why it starts with /.magnolia/dialogs/. If
that's not intended you should use an absolute path to your JSP. The request is
handled by a Spring DispatcherServlet named 'controller' which does not have a
controller (handler) that matches this path.
Try placing the JSP directly in the WEB-INF folder and see if you can reach it
with addInclude("/WEB-INF/topicLayout.jsp").
If you're trying to do an include to a Spring DispatcherServlet where a
controller will render the controller then you can configure it in your module
descriptor and target the include to it and the controller inside it. In this
case the .jsp extension isn't necessary. It could be something like:
addInclude("/custom-controls/topicLayout");
Note that it's always a good idea to keep JSP files in the WEB-INF folder where
they're not accessible from the outside for security reasons. Likewise you
should take care that functionality you add to support your editors within the
admin interface should not be publicly available from the outside. Everything
mapped below /.magnolia is protected and requires login.
Hope that helps!
// Tobias
--
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]>
----------------------------------------------------------------