Re: svn commit: r810807 - in /ofbiz/trunk/framework/widget: src/org/ofbiz/widget/screen/MacroScreenRenderer.java templates/htmlScreenMacroLibrary.ftl

2009-09-06 Thread Scott Gray
I've reopened the issue and attached a patch that takes advantage of FreeMarker's character escaping ability. Regards Scott HotWax Media http://www.hotwaxmedia.com On 6/09/2009, at 12:41 AM, Jacques Le Roux wrote: If in Eclipse I swtich encoding to UTF8 (Menu Edit/Set encoding) I get rid

Re: svn commit: r810807 - in /ofbiz/trunk/framework/widget: src/org/ofbiz/widget/screen/MacroScreenRenderer.java templates/htmlScreenMacroLibrary.ftl

2009-09-05 Thread Jacques Le Roux
I think it's because it's used around and you need to have another separator, but maybe it's doable I have no tried, Nicolas ? Jacques From: Scott Gray scott.g...@hotwaxmedia.com Why not just escape the quotation mark with \ Regards Scott HotWax Media http://www.hotwaxmedia.com On

Re: svn commit: r810807 - in /ofbiz/trunk/framework/widget: src/org/ofbiz/widget/screen/MacroScreenRenderer.java templates/htmlScreenMacroLibrary.ftl

2009-09-05 Thread Jacques Le Roux
Nicolas, I'm not sure why (I will look at this soon) but one way to have it (I mean the character) is to copy it from the currency found for Configurable PC on http://demo.ofbiz.org/ecommerce/control/main or to copy it from this message. Jacques From: Malin Nicolas

Re: svn commit: r810807 - in /ofbiz/trunk/framework/widget: src/org/ofbiz/widget/screen/MacroScreenRenderer.java templates/htmlScreenMacroLibrary.ftl

2009-09-05 Thread Jacques Le Roux
If in Eclipse I swtich encoding to UTF8 (Menu Edit/Set encoding) I get rid of this warning, even using ¤. I don't know yet if this has others implications... We could also use ¨ or ^ BTW... At http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5071879 I read his is not a bug. It's a source

Re: svn commit: r810807 - in /ofbiz/trunk/framework/widget: src/org/ofbiz/widget/screen/MacroScreenRenderer.java templates/htmlScreenMacroLibrary.ftl

2009-09-04 Thread Scott Gray
FYI, I now get the following warning during compilation: [javac15] /Users/lektran/Documents/workspace/amazon/framework/ widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java:676: warning: unmappable character for encoding UTF-8 [javac15] sr.append(menuString.replaceAll(\,

Re: svn commit: r810807 - in /ofbiz/trunk/framework/widget: src/org/ofbiz/widget/screen/MacroScreenRenderer.java templates/htmlScreenMacroLibrary.ftl

2009-09-04 Thread Jacques Le Roux
The idea is to find a separator that will not be found in any string. BTW, that could be also a string and not a sole character, as it's only used internally. I suggested Nicolas to use ¤ (because I never found this character used in a string) but I guess he used µµ because he found a problem

Re: svn commit: r810807 - in /ofbiz/trunk/framework/widget: src/org/ofbiz/widget/screen/MacroScreenRenderer.java templates/htmlScreenMacroLibrary.ftl

2009-09-04 Thread Malin Nicolas
Jacques Le Roux a écrit : The idea is to find a separator that will not be found in any string. BTW, that could be also a string and not a sole character, as it's only used internally. I suggested Nicolas to use ¤ (because I never found this character used in a string) but I guess he used µµ

Re: svn commit: r810807 - in /ofbiz/trunk/framework/widget: src/org/ofbiz/widget/screen/MacroScreenRenderer.java templates/htmlScreenMacroLibrary.ftl

2009-09-04 Thread Scott Gray
Why not just escape the quotation mark with \ Regards Scott HotWax Media http://www.hotwaxmedia.com On 5/09/2009, at 6:40 AM, Malin Nicolas wrote: Jacques Le Roux a écrit : The idea is to find a separator that will not be found in any string. BTW, that could be also a string and not a sole