Calling groovy from a form field

2023-01-21 Thread Ernest Hocking
Hi everyone I'd like to use groovy to implement some business logic and call that logic from a button in a form. E.g Add a button on the product measures form to calculate the volume given a product's dimensions.. I've tried

Re: Codenarc integration process

2023-01-21 Thread Gil Portenseigne
Haha, i understand, I will continue reviewing and testing while others can review also, Thanks Jacques 21 janv. 2023 10:43:08 Jacques Le Roux : > Thanks Gil, > > OK, seems good to me to avoid gstring indeed. > > I had a glance, I was too optimistic. I'll not review the 455(!) files and >

Re: Codenarc integration process

2023-01-21 Thread Jacques Le Roux
Thanks Gil, OK, seems good to me to avoid gstring indeed. I had a glance, I was too optimistic. I'll not review the 455(!) files and will rather call our CTR mode as I'm much confident in your (big) work :) +1 from my side Jacques Le 21/01/2023 à 09:57, Gil Portenseigne a écrit : Yes, it

Re: Codenarc integration process

2023-01-21 Thread Gil Portenseigne
Yes, it is considered best practice to avoid gstring usage when not needed. Like for others, we can decide to not apply this rule. The detailed rule from codenarc documentation : *UnnecessaryGString** Rule* /Since //CodeNarc// 0.13/ String objects should be created with single quotes, and

Re: Codenarc integration process

2023-01-21 Thread Jacques Le Roux
Hi Gil, So we need to use single quotes instead of double quotes now in Groovy? Thanks Jacques Le 20/01/2023 à 17:01, Jacques Le Roux a écrit : Thank you very much Gil, +1 for a big squash... after some reviews... Jacques Le 20/01/2023 à 15:53, gil.portenseigne a écrit : Hello Devs,