Hello,
I am trying to follow the "tutorial" in the Developer section of the
official documentation.
I have the problem that the server says that a certain paragraph has no
dialog registered. However, I have registered a dialog for that
paragraph: so something must be wrong with my settings.
The exception is: info.magnolia.cms.beans.config.ConfigurationException:
no dialog registered for name: mainbarParagraph.
Details:
I have followed the tutorial, except for some names:
- I have a folder quickstart in the templates dir. This folder has a
content node with a node data: name=quickstart and
path=/templates/quickstart/templates/main.jsp
- the file /templates/quickstart/templates/main.jsp contains:
<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:cms="cms-taglib"
xmlns:cmsu="cms-util-taglib"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<jsp:directive.page contentType="text/html; charset=utf-8" />
<html>
<head>
<title>
<cms:out nodeDataName="title" />
</title>
</head>
<cms:setNode var="pageProperties" />
<body style="background-color:${pageProperties.bgcolor}" >
<cms:mainBar
paragraph="mainbarParagraph"
label="Page Properties"
adminButtonVisible="true"/>
<h2>Hello World</h2>
</body>
</html>
</jsp:root>
- I have a dialog in quickstart/myPageProperties which is a copy of the
pageProperties from the siteDesigner.
- Finally, I have paragraph in folder quickstart, I have a content node
with node data: dialogPath=quickstart/myPageProperties
Now when I access a webpage with that template, and press the Page
Properties button, I get the server exception:
info.magnolia.cms.beans.config.ConfigurationException: no dialog
registered for name: mainbarParagraph
info.magnolia.module.admininterface.DialogMVCServlet.getHandler(DialogMVCServlet.java:77)
info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:96)
Regards,
- Karl
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------