EntityConditionBuilder for Groovy WAS: Re: [jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2010-04-18 Thread Scott Gray
There were a few quirks with words like in and equals so I had to go with upper case but it all works now. Here's some example usage code: import org.ofbiz.entity.condition.EntityConditionBuilder expBldr = new EntityExpressionBuilder() // build regular EntityConditions equalsExp =

Re: EntityConditionBuilder for Groovy WAS: Re: [jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2010-04-18 Thread Jacopo Cappellato
Very cool, Scott! Jacopo On Apr 18, 2010, at 11:39 AM, Scott Gray wrote: There were a few quirks with words like in and equals so I had to go with upper case but it all works now. Here's some example usage code: import org.ofbiz.entity.condition.EntityConditionBuilder expBldr = new

Re: EntityConditionBuilder for Groovy WAS: Re: [jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2010-04-18 Thread Scott Gray
Thanks, I liked it enough myself that I just went ahead and committed it :-) Based on a couple of conversions over to it, I think it should result in a lot less typing and better readability. Regards Scott On 18/04/2010, at 9:48 PM, Jacopo Cappellato wrote: Very cool, Scott! Jacopo On

Re: EntityConditionBuilder for Groovy WAS: Re: [jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2010-04-18 Thread Adrian Crum
Bravo! -Adrian --- On Sun, 4/18/10, Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com wrote: From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com Subject: Re: EntityConditionBuilder for Groovy WAS: Re: [jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

Re: EntityConditionBuilder for Groovy WAS: Re: [jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2010-04-18 Thread chris snow
Very nice!

[jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2010-04-17 Thread Scott Gray (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12858252#action_12858252 ] Scott Gray commented on OFBIZ-1968: --- Here's an example of using groovy's Categories with

[jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2010-04-17 Thread Scott Gray (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12858261#action_12858261 ] Scott Gray commented on OFBIZ-1968: --- Here's an example I can actually get to work for

Re: [jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2010-04-17 Thread Ean Schuessler
That's some very interesting stuff you have going there. I'd definitely use that. - Scott Gray (JIRA) wrote: [ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12858261#action_12858261 ] Scott Gray

[jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2009-05-23 Thread Ashish Vijaywargiya (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12712439#action_12712439 ] Ashish Vijaywargiya commented on OFBIZ-1968: +1 to have feature something like

[jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2009-05-21 Thread Scott Gray (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12711534#action_12711534 ] Scott Gray commented on OFBIZ-1968: --- Part of a presentation I saw today covered DSLs with

[jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2008-09-25 Thread Jacopo Cappellato (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12634395#action_12634395 ] Jacopo Cappellato commented on OFBIZ-1968: -- Anil, this is a very interesting

[jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2008-09-25 Thread Jacopo Cappellato (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12634396#action_12634396 ] Jacopo Cappellato commented on OFBIZ-1968: -- Sorry for the bad code formatting of

[jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2008-09-25 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12634416#action_12634416 ] Jacques Le Roux commented on OFBIZ-1968: Hi Jacopo, Simply put {code} around when

[jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2008-09-25 Thread Jacopo Cappellato (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12634433#action_12634433 ] Jacopo Cappellato commented on OFBIZ-1968: -- Ok, following Jacques's suggestion,

[jira] Commented: (OFBIZ-1968) Enrich Groovy integration with Ofbiz framework

2008-09-25 Thread Anil K Patel (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12634466#action_12634466 ] Anil K Patel commented on OFBIZ-1968: - Jacopo, Jacques, Thanks for interest in this