Re: Freemarker missing

2018-11-30 Thread Frank Herrman
n/aditya-p-sharma/] <https://www.linkedin.com/in/aditya-p-sharma/> On Wed, Nov 28, 2018 at 9:58 PM Frank Herrman wrote: > Hi all, > > After restarting Ofbiz I suddenly found an error in the logs relating to > Freemarker. This was the error: >

Re: Freemarker missing

2018-11-28 Thread Aditya Sharma
rma/] <https://www.linkedin.com/in/aditya-p-sharma/> On Wed, Nov 28, 2018 at 9:58 PM Frank Herrman wrote: > Hi all, > > After restarting Ofbiz I suddenly found an error in the logs relating to > Freemarker. This was the error: > > /framework/base/src/main/java

Freemarker missing

2018-11-28 Thread Frank Herrman
Hi all, After restarting Ofbiz I suddenly found an error in the logs relating to Freemarker. This was the error: /framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java:74: error: cannot find symbol public static final Version version

Re: Online FreeMarker Template Tester

2017-12-19 Thread Jacques Le Roux
It has moved to http://try.freemarker.org/ which should the final version when using HTTPS (not yet) Jacques Le 24/09/2015 à 20:51, Jacques Le Roux a écrit : You might find this useful in some cases http://freemarker-online.kenshoo.com/ Jacques

Re: url encoding of java string in freemarker template file

2017-07-26 Thread Wai
Thanks -- View this message in context: http://ofbiz.135035.n4.nabble.com/url-encoding-of-java-string-in-freemarker-template-file-tp4708874p4708921.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: url encoding of java string in freemarker template file

2017-07-26 Thread Wai
ate a StringWrapper for the _test_ variable and then use the freemarker ?url method. eg... <#assign test=Static["java.lang.String"].format("http://example.com/page?a=1&b=2";) > <#assign test=StringUtil.wrapString(test)> result1=${test} result2=${test?url('utf-8

Re: url encoding of java string in freemarker template file

2017-07-25 Thread Deepak Dixit
lkhateeb < slidingfilame...@gmail.com> wrote: > I'm not sure there is a problem? FreeMarker is doing exactly what > you're telling it to do by escaping any URL characters. This behavior > is well documented [1] > > So I guess the question is, why and in what conte

Re: url encoding of java string in freemarker template file

2017-07-25 Thread Taher Alkhateeb
I'm not sure there is a problem? FreeMarker is doing exactly what you're telling it to do by escaping any URL characters. This behavior is well documented [1] So I guess the question is, why and in what context are you using the url() built-in for. [1] http://freemarke

url encoding of java string in freemarker template file

2017-07-25 Thread Wai
In a freemarker template, I have the following. Of course, it can also come from a java method. <#assign test=Static["java.lang.String"].format("http://example.com/page?a=1&b=2";) > result1=${test} result2=${test?url('utf-8')} The output to the webbrowser

RE: Freemarker

2017-06-12 Thread Max Peak
Michael, Perfect. Thanks. Max -Original Message- From: Michael Brohl [mailto:michael.br...@ecomify.de] Sent: Monday, June 12, 2017 3:57 PM To: user@ofbiz.apache.org Subject: Re: Freemarker Hi Max, try ${StringUtil.wrapString(yourHTMLstring!)} in your Freemarker code. Regards

Re: Freemarker

2017-06-12 Thread Michael Brohl
Hi Max, try ${StringUtil.wrapString(yourHTMLstring!)} in your Freemarker code. Regards, Michael Am 13.06.17 um 00:26 schrieb Max Peak: Greetings All, I am trying to insert generated HTML string to Freemarker from groovy. It's getting escaped somewhere and so shows up literally o

Freemarker

2017-06-12 Thread Max Peak
Greetings All, I am trying to insert generated HTML string to Freemarker from groovy. It's getting escaped somewhere and so shows up literally on the web page rather than being interpreted as HTML by the browser. I have tried the Freemarker format/no format directives; no effect (or e

AW: AW: AW: Render HTML markup in Freemarker

2015-11-08 Thread Ingo Wolfmayr
2015 14:03 An: user@ofbiz.apache.org Betreff: Re: AW: AW: Render HTML markup in Freemarker Thanks for feedback Ingo, Did you define your own PERMISSIVE_POLICY or simply used the one I created? I think I will anyway provide a base property to allow users using it without coding, with a comment to

Re: AW: AW: Render HTML markup in Freemarker

2015-11-08 Thread Jacques Le Roux
: AW: Render HTML markup in Freemarker I submitted a last patch in OFBIZ-6669. It's now complete and get rid of the content.properties, see my 2 last comments in OFBIZ-6669. HTH Jacques Le 07/11/2015 09:20, Jacques Le Roux a écrit : Ingo, Mmm, it's a bit more complex and unfortunate

AW: AW: Render HTML markup in Freemarker

2015-11-08 Thread Ingo Wolfmayr
Betreff: Re: AW: Render HTML markup in Freemarker I submitted a last patch in OFBIZ-6669. It's now complete and get rid of the content.properties, see my 2 last comments in OFBIZ-6669. HTH Jacques Le 07/11/2015 09:20, Jacques Le Roux a écrit : > Ingo, > > Mmm, it's a b

Re: AW: Render HTML markup in Freemarker

2015-11-07 Thread Jacques Le Roux
" if the p-tag is not allowed. My result is that the whole tag is rendered as text with the markup-tag Best regards, Ingo -Ursprüngliche Nachricht- Von: Jacques Le Roux [mailto:jacques.le.r...@les7arts.com] Gesendet: Freitag, 6. November 2015 16:32 An: user@ofbiz.apache.org Betreff: Re: R

Re: AW: Render HTML markup in Freemarker

2015-11-07 Thread Jacques Le Roux
y? So from my understanding with the example "Test" it should result in "" if the p-tag is not allowed. My result is that the whole tag is rendered as text with the markup-tag Best regards, Ingo -Ursprüngliche Nachricht- Von: Jacques Le Roux [mailto:jacques.le.r

AW: Render HTML markup in Freemarker

2015-11-06 Thread Ingo Wolfmayr
Re: Render HTML markup in Freemarker This is due to https://issues.apache.org/jira/browse/OFBIZ-6669 I see only one solution: use also the content.sanitize properties from content.properties (here you want it false) in *ContentWrapper classes (where the content is encoded). This also means that y

Re: Render HTML markup in Freemarker

2015-11-06 Thread Jacques Le Roux
This is due to https://issues.apache.org/jira/browse/OFBIZ-6669 I see only one solution: use also the content.sanitize properties from content.properties (here you want it false) in *ContentWrapper classes (where the content is encoded). This also means that you are then assuming your code is se

Render HTML markup in Freemarker

2015-11-06 Thread Ingo Wolfmayr
Hi everybody, I am trying to display text content with embedded HTML markup tags: Test I tried ${productContentWrapper.get("DESCRIPTION","html") ${StringUtil.wrapString(productContentWrapper.get("DESCRIPTION","html")) For some reason it does print the text including the markup tags. I use the

Online FreeMarker Template Tester

2015-09-24 Thread Jacques Le Roux
You might find this useful in some cases http://freemarker-online.kenshoo.com/ Jacques

Re: How to update Freemarker in ofbiz

2015-07-30 Thread Deepak Dixit
Which ofbiz version are you uisng? And what do you mean by “ I have downloaded freemarker 2.3.22.jar from ofbiz trunk 14.02 version.I placed under the folder framework/lib."? Could you please explain little bit more? Thanks & Regards — Deepak Dixit > On Jul 30, 2015, at 12:

How to update Freemarker in ofbiz

2015-07-29 Thread Arjun Rajappan
I have downloaded freemarker 2.3.22.jar from ofbiz trunk 14.02 version. I placed under the folder framework/lib. But still i am getting the error as freemarker.core.ParseException for Keep_before. I don't know which are all the files needed to be changed when we updating freemarker jar

Re: How to add an input of type calendar in freemarker ?

2014-10-21 Thread Thiep LE VAN
" > > timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" > > pmSelected="" compositeType="" formName=""/> > > > > > > > > On Tue, Oct 21, 2014 at 10:46 AM, wule

Re: How to add an input of type calendar in freemarker ?

2014-10-21 Thread Lei Wu
imeString="" localizedIconTitle="" > timeDropdown="" timeHourName="" classString="" hour1="" hour2="" > timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" >

Re: How to add an input of type calendar in freemarker ?

2014-10-20 Thread Thiep LE VAN
" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/> On Tue, Oct 21, 2014 at 10:46 AM, wulei.bj...@gmail.com < wulei.bj...@gmail.com> wrote

How to add an input of type calendar in freemarker ?

2014-10-20 Thread wulei.bj...@gmail.com
Dear all, I am trying to add a calendar input in my main.ftl, I searched all of the freemarker files in the OOTB package(12.04.02) without finding an example, could anyone give me a hand here? Thanks so much ! -- 发自我的ONEPLUS智能手机

Re: How can I call the servicedef/service.xml in the freemarker?

2014-03-31 Thread gavinju
Thank you very much. I have solved the problem follow your solution. Best Regards Gavin.Ju -- View this message in context: http://ofbiz.135035.n4.nabble.com/How-can-I-call-the-servicedef-service-xml-in-the-freemarker-tp4650039p4650046.html Sent from the OFBiz - User mailing list archive at

Re: How can I call the servicedef/service.xml in the freemarker?

2014-03-31 Thread Rong Nguyen
;${uiLabelMap.CommonSecurity}"> > > main-action="VIEW"/> > > > > " > Now, because some reasean, I have rewrite the code using freemarker. > In my freemarker, my code is : > href="${contextPath}/control/FindSecurityGroup&qu

Re: How can I call the servicedef/service.xml in the freemarker?

2014-03-31 Thread gavinju
Thank you for your help. My case is, For example, in PartyMenus.xml: " " Now, because some reasean, I have rewrite the code using freemarker. In my freemarker, my code is : ${uiLabelMap.CommonSecurity} <${contextPath}/control/FindSecurityGroup> but

Re: How can I call the servicedef/service.xml in the freemarker?

2014-03-31 Thread Rong Nguyen
- Rong Nguyen Olbius JSC Deliver highest business value http://www.olbius.com/ -- View this message in context: http://ofbiz.135035.n4.nabble.com/How-can-I-call-the-servicedef-service-xml-in-the-freemarker-tp4650039p4650043.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: How can I call the servicedef/service.xml in the freemarker?

2014-03-31 Thread Rong Nguyen
Deliver highest business value http://www.olbius.com/ -- View this message in context: http://ofbiz.135035.n4.nabble.com/How-can-I-call-the-servicedef-service-xml-in-the-freemarker-tp4650039p4650041.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: How can I call the servicedef/service.xml in the freemarker?

2014-03-31 Thread Rong Nguyen
m> wrote: > Hello, > I have defined a service in the servicedef/services.xml, So how can I call > the service in my freemarker? > Who can help me, Please give me some ideas ? > > > Thank you. > > -- > If you reply to this email, your messag

Re: Problem while rendering Freemarker templates through CMS

2013-08-29 Thread Robert G.
hello Scot, Have you got the solution here? I have the same problem. Thanks a lot in advance Robert -- View this message in context: http://ofbiz.135035.n4.nabble.com/Problem-while-rendering-Freemarker-templates-through-CMS-tp2316152p4643576.html Sent from the OFBiz - User mailing list

RE: Using Freemarker code inside of JavaScript

2012-06-05 Thread Skip
Robert This is server side code that generates javascript with Freemarker that is then sent to the client. Works a charm by the way -Original Message- From: Robert G. [mailto:g...@mercon24.de] Sent: Tuesday, June 05, 2012 4:37 AM To: user@ofbiz.apache.org Subject: Re: Using Freemarker

Re: Using Freemarker code inside of JavaScript

2012-06-05 Thread Robert G.
you are right, that way should work... Deepak Dixit-2 wrote > > We can write JS code inside the html code using <script tag. > We can use js code inside freemarker template. > > Thanks & Regards > -- > Deepak Dixit > HotWax Media Pvt. Ltd. > www.hotwaxmedi

Re: Using Freemarker code inside of JavaScript

2012-06-05 Thread Deepak Dixit
We can write JS code inside the html code using

Re: Using Freemarker code inside of JavaScript

2012-06-05 Thread Robert G.
I dont know, why that should work. Freemarker is a serverside, java script a client side language... so fremarker syntax is parsed on the server...not on the client...I dont think, that it works SkipDever wrote > > Does anyone know if it is possible to use Freemarker ${} syntax inside

RE: Using Freemarker code inside of JavaScript

2012-05-31 Thread Skip
Deepak Thanks a load, an example was just the ticket. Skip -Original Message- From: Deepak Dixit [mailto:deepak.di...@hotwaxmedia.com] Sent: Wednesday, May 30, 2012 10:16 PM To: user@ofbiz.apache.org Subject: Re: Using Freemarker code inside of JavaScript You can refer javascript.ftl

Re: Using Freemarker code inside of JavaScript

2012-05-30 Thread Deepak Dixit
You can refer javascript.ftl from ordermgr. Thanks & Regards -- Deepak Dixit On May 31, 2012, at 4:44 AM, Skip wrote: > Does anyone know if it is possible to use Freemarker ${} syntax inside of a > javascript segment to generate javascript code based on incoming parameters? >

Using Freemarker code inside of JavaScript

2012-05-30 Thread Skip
Does anyone know if it is possible to use Freemarker ${} syntax inside of a javascript segment to generate javascript code based on incoming parameters? Thanks in advance Skip

Re: List all variables accesible to a freemarker template (ftl file)

2012-04-10 Thread Jacques Le Roux
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6553757 Jacques Boris Hamanov wrote: Hi, I am trying to see all data that is available to use inside my freemarker template. So far I was able to list: <#list requestAttributes?keys as var> ${var}

Re: Using Freemarker 2.3.19

2012-03-07 Thread Foo Shyn Chung
nk i have to find a workaround on this...we can pass >> current date from Screens.xml into the freemarker right? >> >> Thanx for the reply Hans. >> >> FooShyn >> >> On Thu, Mar 8, 2012 at 2:02 PM, Hans Bakker >> wrote: >> >> The new

Re: Using Freemarker 2.3.19

2012-03-07 Thread Adrian Crum
Use nowTimestamp. -Adrian On 3/8/2012 6:25 AM, Foo Shyn Chung wrote: I see.. then i think i have to find a workaround on this...we can pass current date from Screens.xml into the freemarker right? Thanx for the reply Hans. FooShyn On Thu, Mar 8, 2012 at 2:02 PM, Hans Bakker wrote: The new

Re: Using Freemarker 2.3.19

2012-03-07 Thread Hans Bakker
as usual look at existing code, search for nowdate in ftl. Regards, Hans On 03/08/2012 01:25 PM, Foo Shyn Chung wrote: I see.. then i think i have to find a workaround on this...we can pass current date from Screens.xml into the freemarker right? Thanx for the reply Hans. FooShyn On

Re: Using Freemarker 2.3.19

2012-03-07 Thread Foo Shyn Chung
I see.. then i think i have to find a workaround on this...we can pass current date from Screens.xml into the freemarker right? Thanx for the reply Hans. FooShyn On Thu, Mar 8, 2012 at 2:02 PM, Hans Bakker wrote: > The new version is significantly slower, i contacted the creator

Re: Using Freemarker 2.3.19

2012-03-07 Thread Hans Bakker
The new version is significantly slower, i contacted the creator of freemarker, but he could not reproduce the problem. Regards, Hans On 03/08/2012 11:33 AM, Foo Shyn Chung wrote: Hi all, I found out that for freemarker to support the .now syntax i need to upgrade the freemarker library

Using Freemarker 2.3.19

2012-03-07 Thread Foo Shyn Chung
Hi all, I found out that for freemarker to support the .now syntax i need to upgrade the freemarker library to 2.3.17 or above. I check the trunk repository, and found that it was upgraded to 2.3.15 but then was subsequently downgraded to 2.3.10 by Hans. Just wondering is it that running

Re: FreeMarker requestAttribute issue

2011-05-05 Thread Justin Robinson
> there was some way to see what was in it at any time. The only thing I > can > > think of is to pass the productId and other required parameters through > the > > createSurveyResponseAndRestoreParameters or a new service based on it as > > INOUT so they are available o

Re: FreeMarker requestAttribute issue

2011-05-04 Thread Scott Gray
eters through the > createSurveyResponseAndRestoreParameters or a new service based on it as > INOUT so they are available on the other side of the request, have yet to > try this... > But there must be a better way? > > On Wed, May 4, 2011 at 4:55 PM, Justin Robinson >

Re: FreeMarker requestAttribute issue

2011-05-04 Thread Adrian Crum
must be a better way? On Wed, May 4, 2011 at 4:55 PM, Justin Robinsonwrote: Brilliant thanks...for saving me some time... been reading the freemarker manual& looking at the the ofbiz freemarker framework all afternoon. *That code was on OrderEvents but I moved it to a groovy script, were all t

Re: FreeMarker requestAttribute issue

2011-05-04 Thread Justin Robinson
he productId and other required parameters through the createSurveyResponseAndRestoreParameters or a new service based on it as INOUT so they are available on the other side of the request, have yet to try this... But there must be a better way? On Wed, May 4, 2011 at 4:55 PM, Justin Robinson wrote: > Brilliant thanks

Re: FreeMarker requestAttribute issue

2011-05-04 Thread Justin Robinson
Brilliant thanks...for saving me some time... been reading the freemarker manual & looking at the the ofbiz freemarker framework all afternoon. *That code was on OrderEvents but I moved it to a groovy script, were all the parameters gotten from the request seem to be available anyway.* On

Re: FreeMarker requestAttribute issue

2011-05-04 Thread Scott Gray
You need to put it in the screen context and not in the request attributes, if you're using groovy then it's just: context.surveyWrapper = surveyWrapper Reason being that the request attributes (and session attributes and parameters) have already been placed in the context at the start of the sc

FreeMarker requestAttribute issue

2011-05-04 Thread Justin Robinson
surveyWrapper?has_content always returns false no matter that the debug shows that it's not null when it's set. Have tried setting it as a session attribute, with no effect. Am really stumped on this one no idea what to tryAny ideas? the ftl: <#-- Render the survey --> <

Re: Freemarker RSS Template

2010-11-17 Thread Hans Bakker
Mabie wrote: > Hi > > > > Has anybody developed a RSS Freemarker template for use in Ofbiz? > > > > Thanks > > > > Gavin >

Re: Users - Can any body of you update the new Freemarker Template jar file

2010-10-04 Thread Shereen
I'm searching for a freemarker eclipse plugin it will help me a lot writing ftl but I duno from where do download it would anyone please tell me a link where i can download this jar.? I searched in some other forums and links the gave me are no longer available. I'm using eclipse galile

Re: Users - Can any body of you update the new Freemarker Template jar file

2010-10-04 Thread pankaj savita
Hi Shereen, You can download freemarker jar from here: http://www.freemarker.org/eclipse/freemarker/plugins/ -- Thanks & Regards, Pankaj Savita Mob: +91 9890262476 Mail to: pankajsav...@gmail.com On Mon, Oct 4, 2010 at 2:40 PM, Shereen wrote: > > I'm searching f

Re: Users - Can any body of you update the new Freemarker Template jar file

2010-10-04 Thread Jacques Le Roux
Try freemarker plugin in Google you will get to http://freemarker.sourceforge.net/editors.html Jacques From: "Shereen" I'm searching for a freemarker eclipse plugin it will help me a lot writing ftl but I duno from where do download it would anyone please tell me a link where

Re: Problem while rendering Freemarker templates through CMS

2010-08-06 Thread Ganesh Bawne
es sound like a very similar problem though. > screens.render(...) is probably using the response's writer whereas the > content rendering is using it's own that later gets pushed to the response. > One option is to write a freemarker TemplateDirective to use in place of > the

Re: Problem while rendering Freemarker templates through CMS

2010-08-06 Thread Scott Gray
Hmm that's strange. It does sound like a very similar problem though. screens.render(...) is probably using the response's writer whereas the content rendering is using it's own that later gets pushed to the response. One option is to write a freemarker TemplateDirective to

Re: Problem while rendering Freemarker templates through CMS

2010-08-06 Thread Ganesh Bawne
render* methods. >> >> Regards >> Scott >> >> HotWax Media >> http://www.hotwaxmedia.com >> >> On 6/08/2010, at 10:26 PM, Ganesh Bawne wrote: >> >> > I am using CMS to store Freemarker templates. These freemarker templates >> are >&

Re: Problem while rendering Freemarker templates through CMS

2010-08-06 Thread Ganesh Bawne
otwaxmedia.com > > On 6/08/2010, at 10:26 PM, Ganesh Bawne wrote: > > > I am using CMS to store Freemarker templates. These freemarker templates > are > > called inside the Screen Widgets using Content element. My freemarker > > templates also include other screens as w

Re: Problem while rendering Freemarker templates through CMS

2010-08-06 Thread Scott Gray
e: > I am using CMS to store Freemarker templates. These freemarker templates are > called inside the Screen Widgets using Content element. My freemarker > templates also include other screens as well as HTML tags such as . > Screens inside the freemarker template are rendered using >

Problem while rendering Freemarker templates through CMS

2010-08-06 Thread Ganesh Bawne
I am using CMS to store Freemarker templates. These freemarker templates are called inside the Screen Widgets using Content element. My freemarker templates also include other screens as well as HTML tags such as . Screens inside the freemarker template are rendered using render.screen(“ScreenName

Re: URL : Freemarker transforms slash "/" into a special caracterfrom CatalogUrlServlet.makeCatalogUrl

2010-06-11 Thread Jacques Le Roux
I'd suggest to assign to a var and to use ${StringUtil.wrapString(var)} Jacques From: "eric" It isn't a SEO mailing list : ok For security reason, Freemarker transforms caracter But "makeCatalogUrl" is an internal function Why our ecommerce sites have to

Re: URL : Freemarker transforms slash "/" into a special caracter from CatalogUrlServlet.makeCatalogUrl

2010-06-10 Thread eric
It isn't a SEO mailing list : ok For security reason, Freemarker transforms caracter But "makeCatalogUrl" is an internal function Why our ecommerce sites have to build links with "/" as slash "/" ? Do you know other sites with "/" into URL ? Thanks

Re: URL : Freemarker transforms slash "/" into a special caracter from CatalogUrlServlet.makeCatalogUrl

2010-06-10 Thread BJ Freeman
k=tab_pro> eric sent the following on 6/10/2010 5:23 PM: Hi, To create an URL : Freemarker transforms slash into a special caracter "/" (ISO code) Because "makeCatalogUrl" returns a string So, if "makeCatalogUrl" returns the original type StringBuilder problem disapears "/" is it efficient for SEO ? Thanks Eric

URL : Freemarker transforms slash "/" into a special caracter from CatalogUrlServlet.makeCatalogUrl

2010-06-10 Thread eric
Hi, To create an URL : Freemarker transforms slash into a special caracter "/" (ISO code) Because "makeCatalogUrl" returns a string So, if "makeCatalogUrl" returns the original type StringBuilder problem disapears "/" is it efficient for SEO ? Thanks Eric

Re: How To Use JSP Custom Tag Within Freemarker Template Page?

2010-04-22 Thread BrettS
Hi, I am *still* failing to get a JSP tag working in an FTL file. Since last time, I have added the following to web.xml. (so I am using the stock freemarker.ext.servlet.FreemarkerServlet) freemarker freemarker.ext.servlet.FreemarkerServlet

security freemarker tags

2010-03-09 Thread chris snow
Are there any security freemarker transform tags? E.g. something like: <@ofbizHasPermission> <@ofbizHasRole>

Re: security freemarker tags

2010-03-09 Thread Jacques Le Roux
Actually no (yet?), only security.hasPermission( security.hasEntityPermission( security.hasRolePermission( Jacques From: "chris snow" Are there any security freemarker transform tags? E.g. something like: <@ofbizHasPermission> <@ofbizHasRole>

How To Use JSP Custom Tag Within Freemarker Template Page?

2010-03-09 Thread BrettS
Hi, I am attempting to use a custom JSP tag within a Freemarker template within OFBiz without success. In a JSP, the tag syntax is as follows: <%@ taglib uri="/WEB-INF/imps.tld" prefix="imps"%> So, I attempted the following in Freemarker: <#assign imps=

Re: about macro in freemarker

2009-12-14 Thread Michael Xu (xudong)
: > I guess it get cached so maybe not a big deal... > > Jacques > > From: "Michael Xu (xudong)" > > hi all, >> >> Macro is a great feature in freemarker. But How much impact on performance >> will be caused by Macro? Any best practic

Re: about macro in freemarker

2009-12-14 Thread Jacques Le Roux
I guess it get cached so maybe not a big deal... Jacques From: "Michael Xu (xudong)" hi all, Macro is a great feature in freemarker. But How much impact on performance will be caused by Macro? Any best practice for macro? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Off

about macro in freemarker

2009-12-14 Thread Michael Xu (xudong)
hi all, Macro is a great feature in freemarker. But How much impact on performance will be caused by Macro? Any best practice for macro? -- Regards, Michael Xu (xudong) www.wizitsoft.com | Office: (8610) 6267 0615 ext 806 | Mobile: (86) 135 0135 9807 | Fax: (8610) 62670096

Integrate Dojo with Freemarker !

2009-07-07 Thread Prashant Punekar
Hi All, Has anyone tried integrating Dojo with Freemarker? Please give details. Thanks in advance. Regards, Prashant http://www.mindtree.com/email/disclaimer.html

Re: Unwanted escaping in Freemarker or ofbiz

2009-05-21 Thread lns_lns
ead? http://markmail.org/message/hkjljbqgm7auqvgf > > Jacques > > From: "lns_lns" >> >> Hi, >> I have a little problem: >> if I generate html data in beanshell, put it to the context and display >> it >> with freemarker something escape

Re: Unwanted escaping in Freemarker or ofbiz

2009-05-20 Thread Jacques Le Roux
Did you try html.encode.on in general.properties? Did you read this thread? http://markmail.org/message/hkjljbqgm7auqvgf Jacques From: "lns_lns" Hi, I have a little problem: if I generate html data in beanshell, put it to the context and display it with freemarker something escape

Unwanted escaping in Freemarker or ofbiz

2009-05-20 Thread lns_lns
Hi, I have a little problem: if I generate html data in beanshell, put it to the context and display it with freemarker something escapes the tags... I'm not sure where this happens, all I know for sure is that it's not Beanshell, but it would make almost no sense if Freemarker escaped

freemarker variablmes

2009-03-24 Thread lahmar
-- View this message in context: http://www.nabble.com/freemarker-variablmes-tp22681406p22681406.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: freemarker

2009-03-23 Thread Santosh Malviya
Hello lahmar, Following link will be of your interest in order to start with freemarker and you can also see existing code in OFBiz http://freemarker.sourceforge.net/docs/index.html lahmar wrote: Hi, I amnew in using freemarker. I would like to learn it to manipulte ftl file and change user

Re: freemarker

2009-03-23 Thread Sumit Porwal
Hi, http://freemarker.sourceforge.net/docs/ HTH... Thanks & Regards Sumit Porwal On Mon, Mar 23, 2009 at 7:06 PM, lahmar wrote: > > Hi, > > I amnew in using freemarker. I would like to learn it to manipulte ftl file > and change user interface. > Did someone has any

freemarker

2009-03-23 Thread lahmar
Hi, I amnew in using freemarker. I would like to learn it to manipulte ftl file and change user interface. Did someone has anything about freemerker? Best regars -- View this message in context: http://www.nabble.com/freemarker-tp22660265p22660265.html Sent from the OFBiz - User mailing list

Re: Javascript is parsed to HTML (Freemarker ?)

2009-03-04 Thread David E Jones
On Feb 16, 2009, at 11:06 AM, Eric DE MAULDE wrote: A precision : *** Error comes from Groovy Because I have the problem only with generated Javascript script with Groovy. An idea ? Thanks Eric - Original Message - From: "Eric DE MAULDE" > To: Sent: Monday, Febru

Re: Javascript is parsed to HTML (Freemarker ?)

2009-03-04 Thread Jacques Le Roux
h Groovy. An idea ? Thanks Eric - Original Message - From: "Eric DE MAULDE" To: Sent: Monday, February 16, 2009 6:24 PM Subject: Javascript is parsed to HTML (Freemarker ?) Hi, I updated my working copy *** Now all javascript are parsed to HTML (and appear in screen, just

Re: Javascript is parsed to HTML (Freemarker ?)

2009-03-04 Thread Adrian Crum
al Message - From: "Eric DE MAULDE" To: Sent: Monday, February 16, 2009 6:24 PM Subject: Javascript is parsed to HTML (Freemarker ?) Hi, I updated my working copy *** Now all javascript are parsed to HTML (and appear in screen, just for my own application, Ecommerce is OK) Script tags

Re: Javascript is parsed to HTML (Freemarker ?)

2009-03-04 Thread Jacques Le Roux
k, -David On Feb 16, 2009, at 11:06 AM, Eric DE MAULDE wrote: A precision : *** Error comes from Groovy Because I have the problem only with generated Javascript script with Groovy. An idea ? Thanks Eric - Original Message - From: "Eric DE MAULDE" To: Sent: Monday, Februa

Re: Javascript is parsed to HTML (Freemarker ?)

2009-03-04 Thread Stephen Rufle
a side note, I know that the OOTB code isn't the best example of >>>>> this, but usually it is best to generate your JavaScript in the FTL >>>>> file. If you are dynamically generating any sort of text a template >>>>> file is usually the best tool to

Re: Javascript is parsed to HTML (Freemarker ?)

2009-03-04 Thread Jacques Le Roux
he problem only with generated Javascript script with Groovy. An idea ? Thanks Eric - Original Message - From: "Eric DE MAULDE" To: Sent: Monday, February 16, 2009 6:24 PM Subject: Javascript is parsed to HTML (Freemarker ?) Hi, I updated my working copy *** Now all javascr

Re: Javascript is parsed to HTML (Freemarker ?)

2009-03-04 Thread Stephen Rufle
id >>> >>> >>> On Feb 16, 2009, at 11:06 AM, Eric DE MAULDE wrote: >>> >>>> A precision : >>>> >>>> *** Error comes from Groovy >>>> Because I have the problem only with generated Javascript script with >&g

Re: Javascript is parsed to HTML (Freemarker ?)

2009-03-04 Thread Jacques Le Roux
rated Javascript script with Groovy. An idea ? Thanks Eric - Original Message - From: "Eric DE MAULDE" To: Sent: Monday, February 16, 2009 6:24 PM Subject: Javascript is parsed to HTML (Freemarker ?) Hi, I updated my working copy *** Now all javascript are parsed to HTML (and a

Re: Javascript is parsed to HTML (Freemarker ?)

2009-03-04 Thread Stephen Rufle
e the problem only with generated Javascript script with >> Groovy. >> >> An idea ? >> >> Thanks >> >> Eric >> - Original Message - From: "Eric DE MAULDE" >> To: >> Sent: Monday, February 16, 2009 6:24 PM >> Subject:

Re: Javascript is parsed to HTML (Freemarker ?)

2009-02-16 Thread Eric DE MAULDE
David, Thank you so much You have got me out of a spot Sorry, I'm not regular Eric - Original Message - From: "David E Jones" To: Sent: Monday, February 16, 2009 11:34 PM Subject: Re: Javascript is parsed to HTML (Freemarker ?) Have you been following the di

Re: Javascript is parsed to HTML (Freemarker ?)

2009-02-16 Thread David E Jones
: Javascript is parsed to HTML (Freemarker ?) Hi, I updated my working copy *** Now all javascript are parsed to HTML (and appear in screen, just for my own application, Ecommerce is OK) Script tags are ok. Ex. in source : <script language="JavaScript" type="text/javascri

Re: Javascript is parsed to HTML (Freemarker ?)

2009-02-16 Thread Eric DE MAULDE
A precision : *** Error comes from Groovy Because I have the problem only with generated Javascript script with Groovy. An idea ? Thanks Eric - Original Message - From: "Eric DE MAULDE" To: Sent: Monday, February 16, 2009 6:24 PM Subject: Javascript is parsed to HTML (

Javascript is parsed to HTML (Freemarker ?)

2009-02-16 Thread Eric DE MAULDE
Hi, I updated my working copy *** Now all javascript are parsed to HTML (and appear in screen, just for my own application, Ecommerce is OK) Script tags are ok. Ex. in source : <script language="JavaScript" type="text/javascript"><!-- Do you know where I can co

Re: Freemarker/HTML editor recommendations?

2009-01-19 Thread CJay Horton
Thanks Tim and Jacques! On Mon, Jan 19, 2009 at 12:48 AM, Jacques Le Roux < jacques.le.r...@les7arts.com> wrote: > Plugin : > http://docs.ofbiz.org/display/OFBIZ/Plugins#Plugins-Freemarker(.ftl) > No IDE, actually it's easy to simply refresh the page in the browser > &

Re: Freemarker/HTML editor recommendations?

2009-01-18 Thread Jacques Le Roux
Plugin : http://docs.ofbiz.org/display/OFBIZ/Plugins#Plugins-Freemarker(.ftl) No IDE, actually it's easy to simply refresh the page in the browser Jacques From: "Tim Pizey" On Thursday 15 January 2009 16:22:30 cjhorton wrote: Hi Everyone, What do you recommend for editing f

Re: Freemarker/HTML editor recommendations?

2009-01-18 Thread Tim Pizey
On Thursday 15 January 2009 16:22:30 cjhorton wrote: > > Hi Everyone, > > What do you recommend for editing freemarker pages? I am customizing some > of the checkout pages and keeping track of the HTML tags is becoming > tedious. Also, is there anyway of viewing or incorpor

  1   2   >