Re: date/time in groovy

2010-09-08 Thread Scott Gray
Hi Pierre, Sounds like getDayStart() is being passed a null argument. Either parameters.psd is returning null or toTimestamp() is. Regards Scott HotWax Media http://www.hotwaxmedia.com On 6/09/2010, at 8:55 PM, Pierre Smits wrote: > Hi all, > > In a .groovy file I want to captu

date/time in groovy

2010-09-06 Thread Pierre Smits
Hi all, In a .groovy file I want to capture from a query-string a date-time string for the start of a period ( &psd=2010-09-01 09:14:00.000) and a date-time string for the end of a period (&ped=2010-09-06 10:46:13.000). In the .groovy file I have following code: periodStartDate = parame

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: 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
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}"/> or if I want to include a groovy file, which is used in a

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]:p

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: Fetching array list data from groovy into rptdesign

2010-08-31 Thread Erwan de FERRIERES
Le 31/08/2010 08:47, Keerti Sharma a écrit : Hi, I have passed an arraylist from groovy into rptdesign by birt parameters. I want to iterate that arraylist and fetch its data and display all data of array list in my report. Thanx I think you have to create a dataset, where the open method is

Fetching array list data from groovy into rptdesign

2010-08-30 Thread Keerti Sharma
Hi, I have passed an arraylist from groovy into rptdesign by birt parameters. I want to iterate that arraylist and fetch its data and display all data of array list in my report. Thanx -- View this message in context: http://ofbiz.135035.n4.nabble.com/Fetching-array-list-data-from-groovy-into

Re: Groovy question regarding passing html parameters

2010-08-24 Thread Scott Gray
profileOwnerId= '10010, experienceId IN('10010','10003')) > > > > And finally I get my pdf with both experiences. > > > > And if I don't send any experienceId's in the query string I get all > > experiences asso

Re: Groovy question regarding passing html parameters

2010-08-24 Thread Pierre Smits
et all > experiences associated with profileOwnerId (which is what I want).:) > > > > Thanks for your patience and help. > > > > Regards, > > > > Pierre > > > > 2010/8/23 Pierre Smits > > When removing 'as list' from the groovy code, I

Re: Groovy question regarding passing html parameters

2010-08-24 Thread Jacques Le Roux
es associated with profileOwnerId (which is what I want).:) Thanks for your patience and help. Regards, Pierre 2010/8/23 Pierre Smits When removing 'as list' from the groovy code, I get following error: Problems with the response writer/output stream: org.ofbiz.widget.screen.ScreenRender

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Scott Gray
want).:) > > Thanks for your patience and help. > > Regards, > > Pierre > > 2010/8/23 Pierre Smits > When removing 'as list' from the groovy code, I get following error: > > Problems with the response writer/output stream: > org.ofbiz.widget.scr

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Pierre Smits
;s in the query string I get all experiences associated with profileOwnerId (which is what I want).:) Thanks for your patience and help. Regards, Pierre 2010/8/23 Pierre Smits > When removing 'as list' from the groovy code, I get following error: > > Problems with the response writer/

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Scott Gray
; > > Pierre > > > > > > 2010/8/23 Pierre Smits > > > > > >> Hi Scott, > > >> > > >> Thanks for the pointer. I think it should be on the money However > > >> after > > >> some tweaking I got following err

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Pierre Smits
tion: No such property: >> EntityCondition for >> > > class: ProfileExperiences (No such property: EntityCondition for >> class: >> > > ProfileExperiences) >> > > >> > > Regards, >> > > >> > > Pierre >> > > >> &g

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Pierre Smits
; >> > > >> Problems with the response writer/output stream: > > >> > > >> org.ofbiz.widget.screen.ScreenRenderException: > > >> Error rendering screen > [component://profiler/widget/ProfilerPrintScreens.xml#PrintProfilePDF]: > > >>

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Scott Gray
gt; Problems with the response writer/output stream: > >> > >> org.ofbiz.widget.screen.ScreenRenderException: > >> Error rendering screen > >> [component://profiler/widget/ProfilerPrintScreens.xml#PrintProfilePDF]: > >> > >> groovy.lang.MissingPropertyException: No such property: &

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Pierre Smits
; >> > >> Problems with the response writer/output stream: > >> > >> org.ofbiz.widget.screen.ScreenRenderException: > >> Error rendering screen > [component://profiler/widget/ProfilerPrintScreens.xml#PrintProfilePDF]: > >> > >> groovy.lang.Miss

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Scott Gray
eption: No such property: >> EntityCondition for class: ProfileExperiences (No such property: >> EntityCondition for class: ProfileExperiences) >> >> >> >> >> The complete code in the groovy file is: >> import org.ofbiz.base.util.*;

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Pierre Smits
s: ProfileExperiences (No such property: > EntityCondition for class: ProfileExperiences) > > > > > The complete code in the groovy file is: > import org.ofbiz.base.util.*; > import org.ofbiz.entity.*; > import org.ofbiz.entity.util.*; > import org.ofbiz.party.

Re: Groovy question regarding passing html parameters

2010-08-23 Thread Pierre Smits
/ProfilerPrintScreens.xml#PrintProfilePDF]: groovy.lang.MissingPropertyException: No such property: EntityCondition for class: ProfileExperiences (No such property: EntityCondition for class: ProfileExperiences) The complete code in the groovy file is: import org.ofbiz.base.util.*; import org.ofbiz.entity.*; import

Re: Groovy question regarding passing html parameters

2010-08-20 Thread Michał Cukierman
Regards, > > Michał > > > > > > > > Dnia 2010-08-20, pią o godzinie 23:27 +1200, Scott Gray pisze: > >> Hi Pierre, > >> > >> You'll want to use delegator.findList(...) with an EntityOperator.IN > >> condition for the

Re: Groovy question regarding passing html parameters

2010-08-20 Thread Scott Gray
Hi Pierre, See my other response to Michal for the correct code, it was only from memory though so may not actually work without tweaking. Regards Scott On 21/08/2010, at 12:02 AM, Pierre Smits wrote: > Hi Scott, > > Thanks for the pointer! > > Unfortunately, I am a tota

Re: Groovy question regarding passing html parameters

2010-08-20 Thread Scott Gray
> Hi Pierre, >> >> You'll want to use delegator.findList(...) with an EntityOperator.IN >> condition for the experience field. >> >> Regards >> Scott >> >> HotWax Media >> http://www.hotwaxmedia.com >> >> On 20/08/2010,

Re: Groovy question regarding passing html parameters

2010-08-20 Thread James McGill
2010/8/20 Michał Cukierman > > There should be a method for doing sth like: > EntityCondition.makeCondition("shipmentId", EntityOperator.IN, > CustomWhereCondition). > There should be extended methods for making joins. > As long as those do not exist - we should at least try use P > "IN" (and "N

Re: Groovy question regarding passing html parameters

2010-08-20 Thread Michał Cukierman
xperience field. > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 20/08/2010, at 10:31 PM, Pierre Smits wrote: > > > In a url I pass following parameters: > > > > ?profile=1&experience=1,100010 > > > > I

Re: Groovy question regarding passing html parameters

2010-08-20 Thread Jacques Le Roux
url I pass following parameters: ?profile=1&experience=1,100010 In a groovy file I get the parameters parameter.profile parameter.experience My question is: how do I get the delegator to find entities in the database based on both parameter.profile and parameter.experience? In

Re: Groovy question regarding passing html parameters

2010-08-20 Thread Pierre Smits
Hi Scott, Thanks for the pointer! Unfortunately, I am a total groovy-newbie Would selectedExperiences = parameter.selectedExperiences; if (selectedExperiences==""){ experienceItemList = delegator.findByAnd("ProfileExperience", [profileOwnerId : profileOwner

Re: Groovy question regarding passing html parameters

2010-08-20 Thread Jacques Le Roux
http://en.wikipedia.org/wiki/Query_string Jacques Pierre Smits wrote: In a url I pass following parameters: ?profile=1&experience=1,100010 In a groovy file I get the parameters parameter.profile parameter.experience My question is: how do I get the delegator to find entitie

Re: Groovy question regarding passing html parameters

2010-08-20 Thread Scott Gray
000&experience=1,100010 > > In a groovy file I get the parameters > parameter.profile > parameter.experience > > My question is: how do I get the delegator to find entities in the database > based on both parameter.profile and parameter.experience? > > In all

Groovy question regarding passing html parameters

2010-08-20 Thread Pierre Smits
In a url I pass following parameters: ?profile=1&experience=1,100010 In a groovy file I get the parameters parameter.profile parameter.experience My question is: how do I get the delegator to find entities in the database based on both parameter.profile and parameter.experience?

RE: Passing error message from groovy to XML screen

2010-08-12 Thread Swapnil Sawant
28 PM To: user@ofbiz.apache.org Subject: Re: Passing error message from groovy to XML screen Hello swapnil , you can give a try to this by the following : based on the return from groovy file which may be success or error , you can provide the view . HTH Regards Ravindra Mandre On Thu, Aug 12, 2

Re: Passing error message from groovy to XML screen

2010-08-12 Thread Ravindra Mandre
Hello swapnil , you can give a try to this by the following : based on the return from groovy file which may be success or error , you can provide the view . HTH Regards Ravindra Mandre On Thu, Aug 12, 2010 at 3:17 PM, Swapnil Sawant < swapnil.saw...@lntinfotech.com> wrote:

RE: Passing error message from groovy to XML screen

2010-08-12 Thread Swapnil Sawant
Hi Ravindra, Thanks for your reply. I want to set the error message while processing in groovy and then display that error message on XML corresponding to " " If you have any such code, could you pl paste it here. It would be of great help to us. Thanks & Regards, Swapnil

Re: Passing error message from groovy to XML screen

2010-08-12 Thread Ravindra Mandre
Hello Swapnil, In groovy you can show error message by setting them in request , as follows request.setAttribute("_ERROR_MESSAGE_", "your custom or standard message here" ); this returns your messge on UI, Regards Ravindra Mandre On Thu, Aug 12, 2010 at 11:4

Passing error message from groovy to XML screen

2010-08-11 Thread Swapnil Sawant
Hi, I wish to achieve following functionality in ofbiz : - From controller , I am calling a groovy file - In groovy file, I am checking if data corresponding to request parameters from screen is existing in some entity or not - If data is not preset in that entity

Re: help with groovy file

2010-07-24 Thread Santosh Malviya
entity > OrderHeader: > (An attempt was made to get a data value of type 'VARCHAR' from a data > value > of type 'Types.JAVA_OBJECT'.)) (Error running Groovy script at location > > [component://snjPurchasing/webapp/snjPurchasing/WEB-INF/actions/Vie

Re: help with groovy file

2010-07-24 Thread rohit
i did, now it shows the below error: (SQL Exception while setting value on field [orderId] of entity OrderHeader: (An attempt was made to get a data value of type 'VARCHAR' from a data value of type 'Types.JAVA_OBJECT'.)) (Error running Groovy script at location [component://

Re: help with groovy file

2010-07-24 Thread Santosh Malviya
ible solutions: > tail(), wait(), any(), wait(long), any(groovy.lang.Closure), > each(groovy.lang.Closure)) > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/help-with-groovy-file-tp2300959p2300959.html > Sent from the OFBiz - User mailing list archive at Nabble.com. >

help with groovy file

2010-07-24 Thread rohit
.lang.Closure)) -- View this message in context: http://ofbiz.135035.n4.nabble.com/help-with-groovy-file-tp2300959p2300959.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: groovy screen widget

2010-06-21 Thread varun bhansaly
kporting the ajax lookup code from > 10.04 to 9.04, and encountered the problem where the "set field" function > gives a String instead of the EntityCondition object. So if I were to use > the makeCondition function, many extra groovy files will be created. > > Regards, > J

Re: groovy screen widget

2010-06-21 Thread james_sg
, I was backporting the ajax lookup code from >> 10.04 to 9.04, and encountered the problem where the "set field" function >> gives a String instead of the EntityCondition object. So if I were to use >> the makeCondition function, many extra groovy files will be created

Re: groovy screen widget

2010-06-21 Thread Jacques Le Roux
was backporting the ajax lookup code from 10.04 to 9.04, and encountered the problem where the "set field" function gives a String instead of the EntityCondition object. So if I were to use the makeCondition function, many extra groovy files will be created. Regards, James Scott Gray-2 wr

Re: groovy screen widget

2010-06-21 Thread james_sg
Hi Scott, I agree. In my special case, I was backporting the ajax lookup code from 10.04 to 9.04, and encountered the problem where the "set field" function gives a String instead of the EntityCondition object. So if I were to use the makeCondition function, many extra groovy fil

Re: groovy screen widget

2010-06-20 Thread Scott Gray
I would argue that using groovy is the right approach regardless of the version. Screen actions are intended to speed up simple tasks, they are not a substitute for actual scripting. Especially when you consider that whenever you try and do something complicated with them you end up spending

Re: groovy screen widget

2010-06-20 Thread james_sg
Hi Varun, What you had wanted to do will work if you are using 10.04. So coding it in groovy file is the right approach when using 9.04 Regards, James Hi Scott, I have already put the groovy part in a .groovy file, though just wanted to know if i had missed something. Thanks again. On Sat

Re: groovy screen widget

2010-06-19 Thread Scott Gray
Hi Varun, But I don't understand why you don't just create the entity condition in the groovy file: isVirtualCondition = org.ofbiz.entity.condition.EntityCondition.makeCondition("isVirtual", "Y") Why try and create a condition in the screen widget when it is easie

Re: groovy screen widget

2010-06-19 Thread varun bhansaly
Hi Scott, I have already put the groovy part in a .groovy file, though just wanted to know if i had missed something. Thanks again. On Sat, Jun 19, 2010 at 12:56 PM, varun bhansaly wrote: > Hi Atul, > Thanks for ur reply. > I had already tried that with type = "Object", it

Re: groovy screen widget

2010-06-19 Thread varun bhansaly
lf. > > > varun bhansaly wrote: > >> Hi, >> I am using ofbiz 09.04, facing an issue with groovy & screen widget. >> my screen widget action contains - >> > "Y")}* >> " /> >> In my groovy script *andCondition *is an instanceof

Re: groovy screen widget

2010-06-18 Thread Atul Vani
g ofbiz 09.04, facing an issue with groovy & screen widget. my screen widget action contains - In my groovy script *andCondition *is an instanceof *String* (isVirtual = Y) instead of *EntityCondition*. *What could be possibly wrong, am i missing something ? *

Re: groovy screen widget

2010-06-18 Thread Scott Gray
What are there asterisks everywhere in your code? Why aren't you just creating the condition in groovy? Regards Scott HotWax Media http://www.hotwaxmedia.com On 19/06/2010, at 4:23 AM, varun bhansaly wrote: > Hi, > I am using ofbiz 09.04, facing an issue with groovy & scre

groovy screen widget

2010-06-18 Thread varun bhansaly
Hi, I am using ofbiz 09.04, facing an issue with groovy & screen widget. my screen widget action contains - In my groovy script *andCondition *is an instanceof *String* (isVirtual = Y) instead of *EntityCondition*. *What could be possibly wrong, am i missing something ? * -- Regards, V

Re: Groovy file as a service

2010-04-14 Thread Joe Eckard
Take a look at /framework/service/src/org/ofbiz/service/engine/ GroovyEngine.java... all you need to do to is create a map called "result" in your groovy script and put your OUT parameters there. The error below is just a type mismatch... groovy strings in with variables in them (

Re: Groovy file as a service

2010-04-14 Thread Kranti Agrawal
Can you please give some examples of groovy services which return a List? Regards, Kranti Agrawal Student, IIIT Bangalore krantiagrawal.blogspot.com On Wed, Apr 14, 2010 at 7:53 PM, Robert Morley wrote: > We had a period of time where people wrote some services in groovy. > However,

Re: Groovy file as a service

2010-04-14 Thread Robert Morley
We had a period of time where people wrote some services in groovy. However, in our Obiz code we report the same error as what is listed here (with testGroovy). The groovy services we currently have in play (for the most part) have no OUT parameters and the ones that do return a

Re: Groovy file as a service

2010-04-14 Thread Kranti Agrawal
oding=[UTF-8]- total:0.0,since last(Begin):0.0]] [java] 2010-04-14 19:09:06,307 (http-0.0.0.0-8443-6) [ CallSiteArray.java:40 :INFO ] -=-=-=- TEST GROOVY SERVICE -=-=-=- [java] 2010-04-14 19:09:06,308 (http-0.0.0.0-8443-6) [ ?:? :INFO ] - Message is: hello - [java] 201

Re: Groovy file as a service

2010-04-14 Thread Kranti Agrawal
; invoke="ShowProductionRun.groovy"/> >> >> Thanks and Regards >> Brajesh Patel >> >> Kranti Agrawal wrote: >> >>> Hi, >>> >>> Can I call a groovy file as a service? >>> >>> Regards, >>> Kranti Agrawal >>> Student, IIIT Bangalore >>> krantiagrawal.blogspot.com >>> >> >

Re: Groovy file as a service

2010-04-14 Thread Jacques Le Roux
Note that an event is not a service though... Jacques Brajesh Patel wrote: Hi Kranti, hope following code will help you. Thanks and Regards Brajesh Patel Kranti Agrawal wrote: Hi, Can I call a groovy file as a service? Regards, Kranti Agrawal Student, IIIT Bangalore

Re: Groovy file as a service

2010-04-14 Thread Brajesh Patel
Hi Kranti, hope following code will help you. invoke="ShowProductionRun.groovy"/> Thanks and Regards Brajesh Patel Kranti Agrawal wrote: Hi, Can I call a groovy file as a service? Regards, Kranti Agrawal Student, IIIT Bangalore krantiagrawal.blogspot.com

Groovy file as a service

2010-04-13 Thread Kranti Agrawal
Hi, Can I call a groovy file as a service? Regards, Kranti Agrawal Student, IIIT Bangalore krantiagrawal.blogspot.com

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Anurag Walia
Hi, Some times if the java file exist inside hot-deploy then problem come like this. can you specify the path of your java and groovy file. Regards Anurag Walia -- View this message in context: http://n4.nabble.com/any-reason-a-groovy-file-can-t-execute-my-java-class-tp1837571p1837980.html

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Jacques Le Roux
Yes, that's a problem indeed Jacques From: "Patrick" I guess you can't have a groovy file with the same name as your java class file :( On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum wrote: Make sure the update method is public, and that it takes no arguments and return

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Patrick
I guess you can't have a groovy file with the same name as your java class file :( On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum wrote: > Make sure the update method is public, and that it takes no arguments and > returns a number. > > -Adrian > > Patrick wrote: >>

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Adrian Crum
Make sure the update method is public, and that it takes no arguments and returns a number. -Adrian Patrick wrote: I made a little java class but it won't execute for me in groovy, I can execute other classes orh = new OrderReadHelper(); //i can execute this z = new NextPickupDateUp

any reason a groovy file can't execute my java class?

2010-04-12 Thread Patrick
I made a little java class but it won't execute for me in groovy, I can execute other classes orh = new OrderReadHelper(); //i can execute this z = new NextPickupDateUpdater(); //this is my class, it doesn't complain, but it doesn't execute, inspecting the value gives a memory a

Re: Calling groovy from scheduled job (OFVIZ 9.04)

2010-04-06 Thread Koon Sang
Thanks, Joe. It is working fine now. -- View this message in context: http://n4.nabble.com/Calling-groovy-from-scheduled-job-OFVIZ-9-04-tp1752673p1753750.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Calling groovy from scheduled job (OFVIZ 9.04)

2010-04-06 Thread Joe Eckard
You can get the delegator from the dispatch context, which is populated in the binding for groovy services as "dctx". delegator = dctx.getDelegator(); // add to RunAutoNotification.groovy On Apr 6, 2010, at 7:06 AM, Koon Sang wrote: Hello, I have created a scheduled job to run

Calling groovy from scheduled job (OFVIZ 9.04)

2010-04-06 Thread Koon Sang
erviceJob.exec(GenericServiceJob.java:69) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:241) java.lang.Thread.run(Unknown Source) Looking at the error log, I guess "delegator" cannot be found. I just wonder how I can get a reference of delegator and dispatcher to pass to groovy for schedu

Re: variable from groovy to ftl file

2010-03-13 Thread Ashish Vijaywargiya
<#assign> tag should be closed. For ex: <#assign xx=testname/> -- Ashish On Sat, Mar 13, 2010 at 4:39 AM, Patrick wrote: > I am modifying the order confirmation email, I've tracked it down to > the "orderstatus" screen. > > >  

Re: variable from groovy to ftl file

2010-03-12 Thread Brajesh Patel
Hi Patrick, it will work, in groovy : context.testname = "hello"; in ftl: <#assign xx=testname /> I think you are putting in side of the condition that is not satisfy. On Sat, Mar 13, 2010 at 4:39 AM, Patrick wrote: > I am modifying the order confirmation email, I&#x

Re: variable from groovy to ftl file

2010-03-12 Thread BJ Freeman
yes I gave you part so you could find examples in code. find other code in other ftls that show this or use the tutorial. take a look at /framework/webapp/src/org/ofbiz/webapp/ftl = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation

Re: variable from groovy to ftl file

2010-03-12 Thread Patrick
that gives a parse error Error rendering included template at location [component://ecommerce/webapp/ecommerce/order/orderitems.ftl]: freemarker.core.ParseException: Encountered "{" at line 309, column 14 in component://ecommerce/webapp/ecommerce/order/orderitems.ftl. Was expecting one of: "in" ..

Re: variable from groovy to ftl file

2010-03-12 Thread BJ Freeman
try using "${testname}" = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation Specialtymarket.com Systems Integrator-- Glad to Assist Cha

variable from groovy to ftl file

2010-03-12 Thread Patrick
I am modifying the order confirmation email, I've tracked it down to the "orderstatus" screen. basically OrderStatus.groovy loads up some variables which should be available to the ftl file. In the groovy file I've got this simple line context.testname = "

Re: groovy code completion

2010-03-12 Thread Jacques Le Roux
Hi Erwan, I have added back the groovy nature at r922190 Cheers Jacques From: "Jacques Le Roux" Hi Erwan, I did not do it but looks like it's done automatically at the plugin installation. That's why I removed it from the .project file. Though

Re: groovy code completion

2010-03-12 Thread Jacques Le Roux
David added building and completion at r742053 Due to slowness (in 3.4) I reverted both at r911202 I have added back completion at r922190 Jacques From: "zhiyongcui" Why my groovy code completion is disabled in ofbiz project? The IDE I used is eclipse 3.5. -- View this message

Re: groovy code completion

2010-03-10 Thread Jacques Le Roux
e don't need to build anything (so far) and I suspect this was uselessly using a lot of resources HTH Jacques From: "Erwan de FERRIERES" Le 09/03/2010 15:35, Christopher Snow a écrit : Does the plugin work with other groovy projects? What operating system are you using? The

Re: groovy code completion

2010-03-09 Thread Jacques Le Roux
What kind of completion do you get? How deep it is? Could youy give us some examples? Did you set something special? I use Groovy-Eclipse plugin Version: 2.0.0.xx-20100115-0900-e35-RELEASE in Eclipse 3.5.1 on XP Thanks Jacques From: "Ravindra Mandre" Yes, these works on ot

Re: groovy code completion

2010-03-09 Thread Erwan de FERRIERES
Le 09/03/2010 15:35, Christopher Snow a écrit : Does the plugin work with other groovy projects? What operating system are you using? The groovy plugin doesn't work for example with the ubuntu supplied eclipse. Ravindra Mandre wrote: Using its plug-in may solve your problem. Ravindra

Re: groovy code completion

2010-03-09 Thread Ravindra Mandre
Yes, these works on other groovy projects too. I am working on Ubuntu. Ravindra On Tue, Mar 9, 2010 at 8:05 PM, Christopher Snow < sno...@snowconsulting.co.uk> wrote: > Does the plugin work with other groovy projects? > > What operating system are you using? The groovy plugin d

Re: groovy code completion

2010-03-09 Thread zhiyongcui
It works fine with other groovy projects. I am using windows xp os. -- View this message in context: http://n4.nabble.com/groovy-code-completion-tp1585483p1586740.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: groovy code completion

2010-03-09 Thread Christopher Snow
Does the plugin work with other groovy projects? What operating system are you using? The groovy plugin doesn't work for example with the ubuntu supplied eclipse. Ravindra Mandre wrote: Using its plug-in may solve your problem. Ravindra On Tue, Mar 9, 2010 at 8:21 AM, zhiyongcui

Re: groovy code completion

2010-03-09 Thread Ravindra Mandre
Using its plug-in may solve your problem. Ravindra On Tue, Mar 9, 2010 at 8:21 AM, zhiyongcui wrote: > > Why my groovy code completion is disabled in ofbiz project? > The IDE I used is eclipse 3.5. > -- > View this message in context: > http://n4.nabble.com/groo

Re: groovy code completion

2010-03-09 Thread zhiyongcui
how? -- View this message in context: http://n4.nabble.com/groovy-code-completion-tp1585483p1585739.html Sent from the OFBiz - User mailing list archive at Nabble.com.

groovy code completion

2010-03-08 Thread zhiyongcui
Why my groovy code completion is disabled in ofbiz project? The IDE I used is eclipse 3.5. -- View this message in context: http://n4.nabble.com/groovy-code-completion-tp1585483p1585483.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: groovy service code instead of minilang

2010-02-23 Thread Jacques Le Roux
Ruth, This explains better your feeling about minilang. You thought you had only the choice between minilang or Java (like trapped with minilang ;o) Actually it's open, we could even consider to use a Groovy DSL like suggested Chris http://docs.codehaus.org/display/GROOVY/Writing+D

Re: groovy service code instead of minilang

2010-02-23 Thread Tim Ruppert
nged. Perhaps you overlooked this: >> Please add a procedural language to the mix. PHP, Groovy, Bean Shell etc. I >> don't care which. >> Regards, >> Ruth >> Adrian Crum wrote: >>> Maybe the next time you try to use it, you could create a list of things

Re: groovy service code instead of minilang

2010-02-23 Thread Ruth Hoffman
Neat! I never knew. Thanks much. Ruth David E Jones wrote: I'd recommend using groovy instead of bsh, it's a much better language and much more stable and flexible. To see the list of supported "engines" for the service engine look at the serviceengine.xml file. T

Re: groovy service code instead of minilang

2010-02-23 Thread David E Jones
I'd recommend using groovy instead of bsh, it's a much better language and much more stable and flexible. To see the list of supported "engines" for the service engine look at the serviceengine.xml file. To use groovy on your service definition just use engine="groovy&

Re: groovy service code instead of minilang

2010-02-23 Thread Ruth Hoffman
Hi David: How can I use BSH to write a service? I don't mean embed a BSH call inside XML, I mean can I, today write a service using BSH? If so, thats great! How do I set this up? Regards, Ruth David E Jones wrote: How would this be different from the java, groovy, bsh, jython, and

Re: groovy service code instead of minilang

2010-02-23 Thread David E Jones
How would this be different from the java, groovy, bsh, jython, and other scripting languages supported right now by the service engine? I'll tell you what's really cool about supporting all of these languages, and for work groups allowing people to use whatever they want: the

Re: groovy service code instead of minilang

2010-02-23 Thread Matt Warnock
omments by > non-committers (except me and the original comment) concerning > Mini-language use. > Regards, > Ruth > > Jacopo Cappellato wrote: > > On Feb 23, 2010, at 3:53 AM, Ruth Hoffman wrote: > > > > > >> If it takes 2-3 days to lea

Re: groovy service code instead of minilang

2010-02-23 Thread Adrian Crum
Sorry, I meant things you would like to see changed in mini-language. -Adrian Ruth Hoffman wrote: Hi Adrian: I think I already said what I'd like changed. Perhaps you overlooked this: Please add a procedural language to the mix. PHP, Groovy, Bean Shell etc. I don't care which.

Re: groovy service code instead of minilang

2010-02-23 Thread Ruth Hoffman
Hi Adrian: I think I already said what I'd like changed. Perhaps you overlooked this: Please add a procedural language to the mix. PHP, Groovy, Bean Shell etc. I don't care which. Regards, Ruth Adrian Crum wrote: Maybe the next time you try to use it, you could create a list of

Re: groovy service code instead of minilang

2010-02-23 Thread Ruth Hoffman
ime I need to use it. Java (PHP, Bean Shell, Groovy...) takes me 5-10 minutes no matter how long I've been away from it. This is an interesting idiosyncrasy :-) Jacopo

Re: groovy service code instead of minilang

2010-02-23 Thread Ruth Hoffman
acopo Cappellato wrote: On Feb 23, 2010, at 3:53 AM, Ruth Hoffman wrote: If it takes 2-3 days to learn the mini-language, then I have to do that it each and every time I need to use it. Java (PHP, Bean Shell, Groovy...) takes me 5-10 minutes no matter how long I've been away from it.

Re: groovy service code instead of minilang

2010-02-23 Thread Adrian Crum
Maybe the next time you try to use it, you could create a list of things you would like to see changed and submit it to the community. -Adrian Ruth Hoffman wrote: Hi Adrian: To tell the truth, I don't use it to build my services anymore. Too much trouble to try and figure out each time how i

Re: groovy service code instead of minilang

2010-02-23 Thread Abhishake Agarwal
t; non-committers (except me and the original comment) concerning Mini-language >> use. >> Regards, >> Ruth >> >> Jacopo Cappellato wrote: >> >>> On Feb 23, 2010, at 3:53 AM, Ruth Hoffman wrote: >>> >>> >>> >>>>

Re: groovy service code instead of minilang

2010-02-23 Thread Raj Saini
wrote: If it takes 2-3 days to learn the mini-language, then I have to do that it each and every time I need to use it. Java (PHP, Bean Shell, Groovy...) takes me 5-10 minutes no matter how long I've been away from it. This is an interesting idiosyncrasy :-) Jacopo

<    1   2   3   4   >