RE: FTL and HTML

2016-05-25 Thread Skip
Thanks Jacques. That worked a charm. Thanks so much. Skip -Original Message- From: Jacques Le Roux [mailto:jacques.le.r...@les7arts.com] Sent: Tuesday, May 24, 2016 10:44 PM To: user@ofbiz.apache.org Subject: Re: FTL and HTML Hi Skip, Did you try ${StringUtil.wrapString(helpDesc

Re: FTL and HTML

2016-05-24 Thread Jacques Le Roux
Hi Skip, Did you try ${StringUtil.wrapString(helpDesc)} ? Jacques Le 25/05/2016 à 01:35, Skip a écrit : I have this bit of ftl in an ftl file: ${helpDesc} helpDesc contains a string of help text and sometimes has some html in it like "This is line 1This is line2" This used to work fine a

FTL and HTML

2016-05-24 Thread Skip
I have this bit of ftl in an ftl file: ${helpDesc} helpDesc contains a string of help text and sometimes has some html in it like "This is line 1This is line2" This used to work fine a while ago, but now, ftl now outputs "This is line 1brThis is line2" I have tried ${helpDesc?html}

Replace ftl with html in ofbiz_2

2016-02-04 Thread hoboy2
. Nicolas - Simply rename the file extension from html to ftl, is that a big deal? Jacques

Re: Replace ftl with html in ofbiz_2

2016-02-04 Thread Heidi Dehaes - Olagos
f you set only html code in a ftl file, it's work fine. > > Nicolas > > --------- >

Re: Replace ftl with html in ofbiz_2

2016-02-04 Thread Julien NICOLAS
. Nicolas - Simply rename the file extension from html to ftl, is that a big deal? Jacques

Re: Replace ftl with html in ofbiz

2016-01-29 Thread hoboy2
Julien NICOLAS Thanks very much you have answered to my question Thanks to everybody who have used time and effort to help. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html-in-ofbiz-tp4676594p4676627.html Sent from the OFBiz - User mailing list archive

Re: Replace ftl with html in ofbiz

2016-01-29 Thread hoboy2
to use that ui in ofbiz. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html-in-ofbiz-tp4676594p4676623.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Replace ftl with html in ofbiz

2016-01-29 Thread Jacques Le Roux
Le 29/01/2016 10:18, Jacques Le Roux a écrit : I'd not go the JSP way, it's insane when you compare with FTL+Groovy (OFBiz switched from JSP to FTL+BSH 12 years ago, and later from BSH to Groovy 9 years ago) I mean better for you to convince them to use FTL+Groovy Jacques

Re: Replace ftl with html in ofbiz

2016-01-29 Thread Julien NICOLAS
/01/2016 08:55, hoboy2 a écrit : Julien NICOLAS Thanks very much you have answered to my question Thanks to everybody who have used time and effort to help. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html-in-ofbiz-tp4676594p4676627.html Sent from

Re: Replace ftl with html in ofbiz

2016-01-29 Thread Jacques Le Roux
-- View this message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html-in-ofbiz-tp4676594p4676629.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Replace ftl with html in ofbiz

2016-01-29 Thread hoboy2
Taher and Julien NICOLAS. Thanks for the advices. it is a task outsourced to a different company. Thanks -- View this message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html-in-ofbiz-tp4676594p4676629.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Replace ftl with html in ofbiz

2016-01-29 Thread Julien NICOLAS
Ok, so I understand. Just let them create pages with html and just put them in ftl. You can use the html in the ftl but the power is, if you need something available in OFBiz in your html, you can call it from the ftl \o/ If you want to include javascript or jquery files just do it like

Re: Replace ftl with html in ofbiz

2016-01-29 Thread Jacques Le Roux
, and later from BSH to Groovy 9 years ago) Jacques Le 29/01/2016 09:09, hoboy2 a écrit : Taher and Julien NICOLAS. Thanks for the advices. it is a task outsourced to a different company. Thanks -- View this message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html

Re: Replace ftl with html in ofbiz

2016-01-29 Thread hoboy2
>OK this was in 2008 and this person was smart :/ Monsieur Jaques... je devine .. some people are smart :) -- View this message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html-in-ofbiz-tp4676594p4676637.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Replace ftl with html in ofbiz

2016-01-29 Thread Taher Alkhateeb
or ui implementation have told us that they can > not do this using ftl. > they are familiar with jquery, javaScript, html. > So I am trying to find out how to use that ui in ofbiz. > > > > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Replace-ftl-

Re: Replace ftl with html in ofbiz

2016-01-29 Thread Nicolas Malin
is message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html-in-ofbiz-tp4676594p4676629.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Replace ftl with html in ofbiz

2016-01-29 Thread Nicolas Malin
Hoboy2, re read the thread, all people said, you can write your html file as html file and name it .ftl insteadof .html Nicolas Le 29/01/2016 08:44, hoboy2 a écrit : Thanks Taher We have to create severals new screens for our currents application, normally one will just used ftl

Re: Replace ftl with html in ofbiz

2016-01-28 Thread Taher Alkhateeb
r the new screen we will like to use html instead of ftl. > Can jsp or something else be used ? > > Example: > > bellow is a portion of fetch_category_sector.ftl. > > -- > f

Re: Replace ftl with html in ofbiz

2016-01-28 Thread Pierre Smits
ubator.apache.org/docs/ref_directive_noparse.html > > Julien. > > Le 28/01/2016 15:48, hoboy2 a écrit : > >> Hi >> >> Ok I have partially asked this question before. >> I have looked into ofbiz doc I can not find an example >> of where to

Re: Replace ftl with html in ofbiz

2016-01-28 Thread Julien NICOLAS
Sorry but this link is not... linked to this subject ;) Le 28/01/2016 16:33, Julien NICOLAS a écrit : ...new Jira creation ;)

Re: Replace ftl with html in ofbiz

2016-01-28 Thread Jacques Le Roux
Le 28/01/2016 17:01, gil portenseigne a écrit : Indeed like Pierre shows, only *.ftl files are supported. Simply rename the file extension from html to ftl, is that a big deal? Jacques So depending on your need, you can use ftl files... Gil On 28/01/2016 16:20, gil portenseigne wrote:

Re: Replace ftl with html in ofbiz

2016-01-28 Thread gil portenseigne
Hello, In OFBiz ftl files contain html, if you read http://freemarker.incubator.apache.org/ You'll see that freemarker improve your html content with loop, variables, etc. If you want to use pure static html, it could be done in screens with (not tested but i guess it works

Re: Replace ftl with html in ofbiz

2016-01-28 Thread Julien NICOLAS
Yes, but it could be interesting to understand the needs of Jean-Luc and maybe the solution is in OFBiz and not in the new Jira creation ;) Le 28/01/2016 16:29, Pierre Smits a écrit : Feel free to file a JIRA issue pertaining this matter.

Re: Replace ftl with html in ofbiz

2016-01-28 Thread Julien NICOLAS
e.html Julien. Le 28/01/2016 15:48, hoboy2 a écrit : Hi Ok I have partially asked this question before. I have looked into ofbiz doc I can not find an example of where to use html instead of ftl. I will like to use html instead of ftl any link ? Thanks -- View this message in context:

Re: Replace ftl with html in ofbiz

2016-01-28 Thread Barou
Thanks guys. I have an ofbiz application running fine using ftl. I want to use the same services(it can be groovy or java) of the that application to use html instead of ftl in screen design. I was hoping for something like what Pierre did. so maybe my last option is jsp I am right ? if ftl

Re: Replace ftl with html in ofbiz

2016-01-28 Thread gil portenseigne
Indeed like Pierre shows, only *.ftl files are supported. So depending on your need, you can use ftl files... Gil On 28/01/2016 16:20, gil portenseigne wrote: location="component://mycomponent/path/to/my/index.html"/>

Re: Replace ftl with html in ofbiz

2016-01-28 Thread hoboy2
tion is can I code fetch_category_sector.ftl in html ? and use it in the testscreen ? Thanks -- View this message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html-in-ofbiz-tp4676594p4676620.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Replace ftl with html in ofbiz

2016-01-28 Thread Nicolas Malin
Hi Can you explain more your problem ? Because if you set only html code in a ftl file, it's work fine. Nicolas Le 28/01/2016 15:48, hoboy2 a écrit : Hi Ok I have partially asked this question before. I have looked into ofbiz doc I can not find an example of where to use html instead of ftl

Replace ftl with html in ofbiz

2016-01-28 Thread hoboy2
Hi Ok I have partially asked this question before. I have looked into ofbiz doc I can not find an example of where to use html instead of ftl. I will like to use html instead of ftl any link ? Thanks -- View this message in context: http://ofbiz.135035.n4.nabble.com/Replace-ftl-with-html