Re: Auto Suggest

2010-09-01 Thread Ankit Jain
Hi Gavin, Auto Completer is already implemented in Ofbiz you can check it here https://demo-trunk.ofbiz.apache.org:8443/catalog/control/main in the Search Products Column just type any letter/number in the categoryId or product search field. -- Thanks& Regards: Ankit Jain :-) On Thursday

Re: Auto Suggest

2010-09-01 Thread Carsten Schinzer
Gavin, if you may explain a little more on the term "auto-suggest"? I have no clue what you may mean by that. Regards Carsten 2010/9/2 Gavin Mabie > Any ideas on how to implement auto-suggest in Ofbiz? > > -- Best Carsten Schinzer Waisenhausstr. 53a 80637 München Germany

Auto Suggest

2010-09-01 Thread Gavin Mabie
Any ideas on how to implement auto-suggest in Ofbiz?

How to associate content document

2010-09-01 Thread S.Hage
Hi All, I used Party Manager to upload a Document file. The document is in the list of content. But the problem is when I click the View button, I get the following error: "You do not have permission to download the Data Resource with ID [1], ie you are not associated with it." How do I ass

Re: Show SQL Statements in Log

2010-09-01 Thread sakthi vadivel
excellent, thank you for your information. I'll take it forward with regards and thanks sakthi On Wed, Sep 1, 2010 at 11:38 PM, David E Jones wrote: > > Take a look at GenericDAO.java, line 755. There is code there to log the SQL > if the query takes longer than 150ms to run. When I'm worki

Re: Show SQL Statements in Log

2010-09-01 Thread David E Jones
Take a look at GenericDAO.java, line 755. There is code there to log the SQL if the query takes longer than 150ms to run. When I'm working on the Entity Engine I usually modify this to log all queries. -David On Sep 1, 2010, at 11:51 AM, sakthi vadivel wrote: > Hi, > >I'm eager to s

Re: Show SQL Statements in Log

2010-09-01 Thread sakthi vadivel
Hi, I'm eager to see the queries generated by ofbiz, what if i use different database than derby. I have checked mysql.properties that doesn't has any specific properties to display the queries in log. Please guide me to view all the queries from console or write it to some log files. wi

Re: groovy and fo.ftl

2010-09-01 Thread pierre
Hi Erwan, I think you should call groovy from action of the screen widget and not from ftl. Pierre Erwan de FERRIERES a écrit : Hi all, is there a way to call groovy scripts directly in a fo.ftl file ? Cheers,

Re: name of the day in local

2010-09-01 Thread Scott Gray
I'm 99% sure there is a service for this that is used for printing invoices and the like, something like getPartyNameDated or similar. Regards Scott On 2/09/2010, at 1:24 AM, "Jacques Le Roux" wrote: > Not directly, but using methods in UtilDateTime.java it should be doable I > guess. Then c

Re: groovy and fo.ftl

2010-09-01 Thread Erwan de FERRIERES
Le 01/09/2010 17:01, Nicolas Malin a écrit : hi erwan, in your case You can use substring : http://freemarker.sourceforge.net/docs/ref_builtins_string.html#ref_builtin_substring ${partyName?substring(0, 20)} Ok nice for this one.. time to go to bed ? -- Erwan de FERRIERES www.nereide.bi

Re: groovy and fo.ftl

2010-09-01 Thread Nicolas Malin
hi erwan, in your case You can use substring : http://freemarker.sourceforge.net/docs/ref_builtins_string.html#ref_builtin_substring ${partyName?substring(0, 20)} Nicolas Le 01/09/2010 16:55, Erwan de FERRIERES a écrit : Le 01/09/2010 15:25, Erwan de FERRIERES a écrit : Hi all, is there a wa

Re: groovy and fo.ftl

2010-09-01 Thread Erwan de FERRIERES
Le 01/09/2010 15:25, Erwan de FERRIERES a écrit : Hi all, is there a way to call groovy scripts directly in a fo.ftl file ? Cheers, Ok, this was a bit not enough, for example, I want to transpose this in a fo.ftl : description="${groovy:partyName.size()>20?partyName[0..20]:partyName}"/> o

groovy and fo.ftl

2010-09-01 Thread Erwan de FERRIERES
Hi all, is there a way to call groovy scripts directly in a fo.ftl file ? Cheers, -- Erwan de FERRIERES www.nereide.biz

Re: name of the day in local

2010-09-01 Thread Jacques Le Roux
Not directly, but using methods in UtilDateTime.java it should be doable I guess. Then could be contributed Jacques From: "Pierre Smits" Hi all, Is there a function available in OFBiz to get the name of the day of a given date? Regards, Pierre

name of the day in local

2010-09-01 Thread Pierre Smits
Hi all, Is there a function available in OFBiz to get the name of the day of a given date? Regards, Pierre

Re: Discount if paid within x days - supported?

2010-09-01 Thread BJ Freeman
my apologies, My answer was too cryptic. it was meant to say, no it is not implemented and here is what you have to consider in implementing it start at this point. as you found there is seed data in the party component. there are a couple direction you can go you can setup ext data that generat

Re: Show SQL Statements in Log

2010-09-01 Thread Scott Gray
If you're using derby then you can turn it on via derby.properties Typically it is left to the database to do this type of logging simply because the bulk of them already support it in one form or another. Regards Scott HotWax Media http://www.hotwaxmedia.com On 1/09/2010, at 7:33 PM, Koon Sang

Show SQL Statements in Log

2010-09-01 Thread Koon Sang
Hello, I would like to know how I can configure OFBIZ to show the SQL statements for all DB query in the log. I tried starting OFBIZ in debug mode but no SQL statements are displayed. Anyone can advise? Thank you. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Show-S