Hi all, Sorry for my question! It was a stupid issue. The dialog was defined twice in the configuration. Now it works.
Best Regards, Benoît -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Benoit Segaert Sent: mardi 29 septembre 2009 12:43 To: Magnolia User-List Subject: RE: [magnolia-user] Excel Renderer I am working on the modification of the Excel Renderer module. I first decide to change the dialog. But each dialog modification in the configuration of the module (exelrenderer-Wdialogs->excel-dms->tabGeneral) does not change it. I removed the cache, restart Magnolia, ... Nothing changed! Can you help me? Why the modification in the configuration does not change the dialog? Benoît -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Christian Ringele Sent: jeudi 30 juillet 2009 8:38 To: Magnolia User-List Subject: Re: [magnolia-user] Excel Renderer Hi Benoit, Thanks for the information. The points you write sound correct/complete. As you write this would be a complete overworking of the module (not just having it run again). We hope, if your client accepts it, that you would probably share some of the efforts you made on this module with us. Cheers Christian On Jul 29, 2009, at 09:49 , Benoit Segaert wrote: > > Christian, > > Thanks a lot for your information. > It solves the issue but after the downloaded of the JExelAPI > (http://jexcelapi.sourceforge.net > ). > > I check the module and I already modified some stuffs for a demo: > - Modification of the HTML Div for the compatibility of the > Templating Kit > - Add of the Edit toolbar > > But I think that this module needs the following modifications: > - Replace the imported style to a pure CSS mechanism (based on Excel > style?) > - Manage alignment, bold, italic from Excel (it is compatible with > CSS) > - Manage the Header (row and column) of a table with TH (We need to > find a convention base on Excel style?) > - Selection of the table width in dialog (e.g. width="100%") > - Migration to Freemarker > - Add some Exception handling in paragraph > - Possibility to update the table after saving the dialog via the > Edit toolbar (currently, you have to change the Excel file) > > If my client accept this module, I will work on it. > > Cheers > Benoît > > -----Original Message----- > From: [email protected] > [mailto:[email protected] > ] On Behalf Of Christian Ringele > Sent: lundi 27 juillet 2009 16:59 > To: Magnolia User-List > Subject: Re: [magnolia-user] Excel Renderer > > > Hi Benoit, > > The Resource object is deprecated since 4.0. > So getting for example the current content can be done like this java > wise: > Content currentContent = > MgnlContext.getAggregationState().getCurrentContent(); > > But in a template this should directly be possible over $ > {content.someproperty}. > > I hope this is some help. > > Cheers > Christian > > > On Jul 27, 2009, at 16:47 , Grégory Joseph wrote: > >> >> Hi Benoit, >> >> These templates were written against Magnolia 3.5, if memory serves >> right. >> It shouldn't be too complex to update them to 4.x if you have >> minimal templating experience (this could be your first;)) - see the >> templating guide for some tips. The offending line here simply needs >> to get the current paragraph/document. >> >> hth, >> >> -g >> >> ----- Original Message ----- >> From: Benoit Segaert >> [mailto:[email protected]] >> To: Magnolia User-List >> [mailto:[email protected]] >> Sent: Mon, 27 Jul 2009 16:24:50 >> +0200 >> Subject: [magnolia-user] Excel Renderer >> >> >>> >>> I deployed the Excel renderer module in Magnolia 4.1 and I received >>> this >>> error: >>> >>> The method getLocalContentNode() in the type Resource is not >>> applicable for >>> the arguments (HttpServletRequest) >>> <%@ taglib prefix="cms" uri="cms-taglib" %> >>> <div class="excel"> >>> <% >>> final Content paragraphNode = >>> Resource.getLocalContentNode(request); >>> ... >>> 2009-07-27 15:49:41,460 ERROR info.magnolia.cms.taglibs.Include >>> : Can't render paragraph template >>> /templates/excelrenderer/paragraphs/excel-dms.jsp >>> info.magnolia.module.templating.RenderException: Can't render >>> paragraph >>> template /templates/excelrenderer/paragraphs/excel-dms.jsp >>> at >>> info >>> .magnolia >>> .module >>> .templating >>> .paragraphs.JspParagraphRenderer.onRender(JspParagraphRenderer.java: >>> 58) >>> at >>> info >>> .magnolia >>> .module.templating.AbstractRenderer.render(AbstractRenderer.java:83) >>> at >>> info >>> .magnolia >>> .module >>> .templating >>> .paragraphs >>> .AbstractParagraphRenderer.render(AbstractParagraphRenderer.java:64) >>> at >>> info >>> .magnolia >>> .module >>> .templating >>> .ParagraphRenderingFacade.render(ParagraphRenderingFacade.java:111) >>> >>> Can you help me? >>> >>> Benoît >>> >>> >>> >>> ---------------------------------------------------------------- >>> 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]> > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > 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]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
