-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Has anybody managed editing Freemarker templates that include macros with the new elRTE editor? Inserting this: <a href="<@ofbizUrl>something</@ofbizUrl">some text</a> is escaped to this: <a href="%3C@ofbizUrl%3Esomething%3C/@ofbizUrl">some text</a> Any ideas how to prevent escaping? Regards, René Scheibe - -- René Scheibe * [hidden email] TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock Sitz: Unterföhring * Amtsgericht München * HRB 135082 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1BuhkACgkQUXs9EHvIuCq/IACff2skJfKzjrViOG0zrl2Yky8S ugYAn2G69+Pfl610yOdht3TLtsOI0toa =UsPc -----END PGP SIGNATURE----- |
Administrator
|
Hi René,
Did you find a solution? Jacques From: "René Scheibe" <[hidden email]> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Has anybody managed editing Freemarker templates that include macros > with the new elRTE editor? > > Inserting this: > > <a href="<@ofbizUrl>something</@ofbizUrl">some text</a> > > is escaped to this: > > <a href="%3C@ofbizUrl%3Esomething%3C/@ofbizUrl">some text</a> > > Any ideas how to prevent escaping? > > Regards, > René Scheibe > - -- > René Scheibe * [hidden email] > TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring > Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock > Sitz: Unterföhring * Amtsgericht München * HRB 135082 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk1BuhkACgkQUXs9EHvIuCq/IACff2skJfKzjrViOG0zrl2Yky8S > ugYAn2G69+Pfl610yOdht3TLtsOI0toa > =UsPc > -----END PGP SIGNATURE----- > |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hi Jacques, I have learned that HTML-WYSIWYG editors are not suited for this as templates are not valid HTML. Anyway, elRTE has hooks to customize some behaviour. So I got editing Freemarker templates working most of the time. I had to patch the editor itself for handling XHTML correctly with Freemarker macros. There are chances that this change is incorporated in the next version of the editor. In case I get it 100% done and I have time I will contribute it to OFBiz. Regards, René Scheibe On 02/05/2011 02:05 PM, Jacques Le Roux wrote: > Hi René, > > Did you find a solution? > > Jacques > > From: "René Scheibe" <[hidden email]> > Has anybody managed editing Freemarker templates that include macros > with the new elRTE editor? > > Inserting this: > > <a href="<@ofbizUrl>something</@ofbizUrl">some text</a> > > is escaped to this: > > <a href="%3C@ofbizUrl%3Esomething%3C/@ofbizUrl">some text</a> > > Any ideas how to prevent escaping? > > Regards, > René Scheibe René Scheibe * [hidden email] TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock Sitz: Unterföhring * Amtsgericht München * HRB 135082 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1Nc4UACgkQUXs9EHvIuCql5QCferk2KNwFn692ByyTsEnY6+AI wU4Amwf1+C/dFU4+6dsXoC9qJmYAYGmz =qO+d -----END PGP SIGNATURE----- |
Hi René Scheibe,
How about your patch for the elRTE editor? Could you please commit it if you have time? I also have the same problem. Thank you, Regards Chatree Srichart On Sat, Feb 5, 2011 at 10:57 PM, René Scheibe <[hidden email]>wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Jacques, > > I have learned that HTML-WYSIWYG editors are not suited for this as > templates are not valid HTML. > > Anyway, elRTE has hooks to customize some behaviour. So I got editing > Freemarker templates working most of the time. I had to patch the editor > itself for handling XHTML correctly with Freemarker macros. There are > chances that this change is incorporated in the next version of the editor. > > In case I get it 100% done and I have time I will contribute it to OFBiz. > > Regards, > René Scheibe > > On 02/05/2011 02:05 PM, Jacques Le Roux wrote: > > Hi René, > > > > Did you find a solution? > > > > Jacques > > > > From: "René Scheibe" <[hidden email]> > > Has anybody managed editing Freemarker templates that include macros > > with the new elRTE editor? > > > > Inserting this: > > > > <a href="<@ofbizUrl>something</@ofbizUrl">some text</a> > > > > is escaped to this: > > > > <a href="%3C@ofbizUrl%3Esomething%3C/@ofbizUrl">some text</a> > > > > Any ideas how to prevent escaping? > > > > Regards, > > René Scheibe > - -- > René Scheibe * [hidden email] > TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring > Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock > Sitz: Unterföhring * Amtsgericht München * HRB 135082 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iEYEARECAAYFAk1Nc4UACgkQUXs9EHvIuCql5QCferk2KNwFn692ByyTsEnY6+AI > wU4Amwf1+C/dFU4+6dsXoC9qJmYAYGmz > =qO+d > -----END PGP SIGNATURE----- > |
Hi,
we finally ended up removing the WYSIWYG altogether because elRTE broke too much of the HTML and Freemarker code we are using. Martin On 20.07.2011 11:09, Chatree Srichart wrote: > Hi René Scheibe, > How about your patch for the elRTE editor? Could you please commit it if you > have time? I also have the same problem. > > Thank you, Regards > Chatree Srichart > > On Sat, Feb 5, 2011 at 10:57 PM, René Scheibe <[hidden email]>wrote: > > Hi Jacques, > > I have learned that HTML-WYSIWYG editors are not suited for this as > templates are not valid HTML. > > Anyway, elRTE has hooks to customize some behaviour. So I got editing > Freemarker templates working most of the time. I had to patch the editor > itself for handling XHTML correctly with Freemarker macros. There are > chances that this change is incorporated in the next version of the editor. > > In case I get it 100% done and I have time I will contribute it to OFBiz. > > Regards, > René Scheibe > > On 02/05/2011 02:05 PM, Jacques Le Roux wrote: >>>> Hi René, >>>> >>>> Did you find a solution? >>>> >>>> Jacques >>>> >>>> From: "René Scheibe" <[hidden email]> >>>> Has anybody managed editing Freemarker templates that include macros >>>> with the new elRTE editor? >>>> >>>> Inserting this: >>>> >>>> <a href="<@ofbizUrl>something</@ofbizUrl">some text</a> >>>> >>>> is escaped to this: >>>> >>>> <a href="%3C@ofbizUrl%3Esomething%3C/@ofbizUrl">some text</a> >>>> >>>> Any ideas how to prevent escaping? >>>> >>>> Regards, >>>> René Scheibe |
Free forum by Nabble | Edit this page |