Re: Calling groovy from a form field

2023-01-23 Thread Daniel Watford
Hi Ernest, I'm not aware of any examples in OFBiz that exactly fit your use case. You may implement a solution using javascript to send your request to the testCalc service and then apply the results to the current form. An example of executing javascript from clicking a hyperlink can be seen in

Re: [OFBIZ-12400] Releasing the 22.01.01 version under Gradle 7.6 and JDK 17

2023-01-23 Thread Jacques Le Roux
I just restarted the demos a last time to check all is correct after the commits. About SDKMAN, this link is useful: https://sdkman.io/usage Jacques Le 23/01/2023 à 17:03, Jacques Le Roux a écrit : Hi, I got it to work, as often this was not as simple as expected, long story as short as

Re: [OFBIZ-12400] Releasing the 22.01.01 version under Gradle 7.6 and JDK 17

2023-01-23 Thread Jacques Le Roux
Hi, I got it to work, as often this was not as simple as expected, long story as short as possible. It was not possible to set java env vars (JAVA_HOME and PATH). Because The VM uses "Ubuntu 20.04.5 LTS". Ubuntu by default uses update-java-alternatives to handle Java versions. We had only

Calling groovy from a form field

2023-01-23 Thread ernest.hock...@computer.org
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