We've had the same problem today. We fixed it by putting the editbar into the paragraph rendering template (the template that is included). I'm not sure, but I don't think that I've had this Problem in Version 3.6.1, but in 3.6.3 it is.
Cheers Tom -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Algesten Sent: Friday, November 28, 2008 7:13 PM To: Magnolia User-List Subject: Re: [magnolia-user] cms:editBar after cms:includeTemplate? Thanks! Is this a bug or by design? Martin On 28 Nov 2008, at 17:24, Ralf Hirning wrote: > > Martin, > > the cms:includeTemplate tag removes the information about the active > paragraph in the cms:contentNodeIterator. > This little hack makes the edit button work again: > > <jsp:scriptlet> > Content node = Resource.getLocalContentNode(); > </jsp:scriptlet> > <cms:includeTemplate /> > <jsp:scriptlet> > Resource.setLocalContentNode(node); > </jsp:scriptlet> > > <cms:editBar/> > > Ralf > > > Martin Algesten schrieb: >> >> >> I've hit something that seems rather odd. >> >> In my template I have something like: >> >> <cms:contentNodeIterator >> contentNodeCollectionName="images"> >> >> <div class="imageholder"> >> >> <cms:editBar/> >> <cms:includeTemplate /> >> >> </div> >> >> </cms:contentNodeIterator> >> >> If I just change the order of so that the edit bar comes after the >> paragraph: >> >> <cms:includeTemplate /> >> <cms:editBar/> >> >> The "edit" button stops working and throws exception: >> >> info.magnolia.module.admininterface.InvalidDialogHandlerException: >> No dialog handler for [null] found >> at >> info >> .magnolia >> .module >> .admininterface >> .DialogHandlerManager.getDialogHandler(DialogHandlerManager.java:177) >> at >> info >> .magnolia >> .module >> .admininterface.DialogMVCServlet.getHandler(DialogMVCServlet.java:88) >> at info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java: >> 112) >> >> I've tried to comment the whole of my paragraph renderer out and >> still it doesn't work - the mere order seems to be enough to trip it. >> >> It's almost as if includeTemplate ruins what content node data is >> currently set as active - is anyone else seeing this?! >> >> Martin >> >> >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: <[EMAIL PROTECTED]> >> ---------------------------------------------------------------- >> >> > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[EMAIL PROTECTED]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[EMAIL PROTECTED]> ---------------------------------------------------------------- *************************************************** Thomas Negeli Software Developer BeagleSoft GmbH Ritterstr. 11 10969 Berlin Germany Tel: +49 (30) 76 10 683 - 39 Fax: +49 (30) 76 10 683 - 33 Mail: [EMAIL PROTECTED] Web: www.beaglesoft.de Geschäftsführer: Christoph Hoffmann Sitz: Berlin Handelsregister: Amtsgericht Berlin-Charlottenbrug, HRB 103412B Ust.IdNr: DE 178817800 St.-Nr: 29 130 02038 FA für Körperschaften III *************************************************** This e-mail and any files transmitted with it is intended for the use of the addressee only and may contain information that is confidential and privileged and protected from disclosure. If you are not the intended recipent of this e-mail you are hereby notified that any dissemination, distrubution of copying of this e-mail or any of its attachments is strictly prohibited. If you have received this e-mail in errror please notify us immediately or by return the e-mail to the sender and delete the original e-mail. Thank you. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[EMAIL PROTECTED]> ----------------------------------------------------------------
