Hi Mahi,
Please see
https://cwiki.apache.org/confluence/display/OFBIZ/Variables+always+available+in+screen+context
HTH
Jacques
Le 22/04/2023 à 14:04, Mahi maheshwari a écrit :
Hello Community,
how can I know the session object values in .groovy
I want to know where the session object
Hello Community,
how can I know the session object values in .groovy
I want to know where the session object values are set and which file and
module. please share the path of that file.
I've included the piece of code for reference below.
println "hey context==="+context.detailScree
not already, I recommend you to read/view this page
> https://cwiki.apache.org/confluence/display/OFBIZ/Framework+Introduction+Videos+and+Diagrams
> when you get time,
> particularly
> https://cwiki.apache.org/confluence/download/attachments/7045155/18ArtRefDia.pdf?version=1=12670534930
/attachments/7045155/18ArtRefDia.pdf?version=1=1267053493000=v2
Of course BSH is now Groovy.
HTH
Jacques
Le 12/06/2022 à 01:05, Dibe koffi a écrit :
Hi,
I’m koffi a beginner OFBiz developper. I’m facing a problem while developing
car rental Application
I want to do this: I define an entity named “Car
ing the “carId"
There is a screen named “car" in which a put a link to the carDetail with
parameter carId. When a click on this link the parameter will be send to the
screen carDetail which will run groovy script to fetch the corresponding car.
Then the result ( the match car ) will be then se
[10046]
> > > Possible solutions: getCompanyName(java.lang.String)
> > > groovy.lang.MissingMethodException: No signature of method: static
> > > com.akm.exim.events.DataUtils.getcompanyName() is applicable for
> > > argument types: (java.lang.String) values: [
> groovy.lang.MissingMethodException: No signature of method: static
> > com.akm.exim.events.DataUtils.getcompanyName() is applicable for
> > argument types: (java.lang.String) values: [10046]
> > Possible solutions: getCompanyName(java.lang.String)
> > at
> groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClas
> groovy.lang.MissingMethodException: No signature of method: static
> com.akm.exim.events.DataUtils.getcompanyName() is applicable for
> argument types: (java.lang.String) values: [10046]
> Possible solutions: getCompanyName(java.lang.Strin
dException: No signature of method: static
com.akm.exim.events.DataUtils.getcompanyName() is applicable for
argument types: (java.lang.String) values: [10046]
Possible solutions: getCompanyName(java.lang.String)
at
groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1501)
~[
Groovy has significant goodies to adopt over java like easy to learn due to
java like syntax, scripting language can be use to develop services faster
than java, default packages and type casting shorten syntax makes it easy
to understand. No build and server restart require.
The only reason
Exactly a very important point, even in production (though on the edge in this
case), same with Freemarker and Minilang (deprecated in favour of Groovy)
Jacques
Le 16/04/2021 à 17:03, Tomek a écrit :
Hi Danny,
Thank you for your response. I prefer Java rather than Groovy. But as
far as I
Hi Danny,
Thank you for your response. I prefer Java rather than Groovy. But as
far as I know writing services in Java required restart the server. It
seems that choosing Groovy is better option from productivity point of view.
Tomek
On 16.04.2021 15:49, Danny Trunk wrote:
> Additiona
+Tutorial+-+From+Mini+Language+to+Groovy
HTH
Jacques
Le 16/04/2021 à 15:49, Danny Trunk a écrit :
Additionally Regarding your question to choose between Java and Groovy: That
depends on your personal preferences. You can choose whatever you want.
Tomek hat am 16.04.2021 14:48 geschrieben
Additionally Regarding your question to choose between Java and Groovy: That
depends on your personal preferences. You can choose whatever you want.
> Tomek hat am 16.04.2021 14:48 geschrieben:
>
>
> Hi,
>
> I'am browsing the code of OFBiz and I see that the se
rvices are written
> in multiple languages like Java or Groovy and even XML. Are there some
> rules that help me to choose between Java and Groovy?
>
> Tomek
Hi,
I'am browsing the code of OFBiz and I see that the services are written
in multiple languages like Java or Groovy and even XML. Are there some
rules that help me to choose between Java and Groovy?
Tomek
ft, Double cntl)
> to search and run anything.
>
> In Eclipse I had been trying ofbizDebug task, vs in here I used ofbiz from
> the debug menu.
>
> Thanks.
>
>
> On Fri, Jan 10, 2020 at 6:42 PM James Yong wrote:
>
> > Hi Robert,
> >
> > Debuggin
PM James Yong wrote:
> Hi Robert,
>
> Debugging groovy scripts should work in IntelliJ IDEA Community Edition.
>
> Also see
> https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Intellij+IDEA
>
> Regards,
> James
>
> On 2020/01/1
out.
Using Eclipse:
Version: 2019-09 R (4.13.0)
Build id: 20190917-1200
Installed Plugin that may be relevant:
Groovy Development Tools 3.7.0
Buildship Gradle Integration 3.0
EGradle Editor and IDE 2.6.1
Thanks for your time.
Robert Wynkoop
On Fri, Jan 10, 2020 at 4:06 PM Jacques Le Roux
Hi Robert,
Debugging groovy scripts should work in IntelliJ IDEA Community Edition.
Also see
https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Intellij+IDEA
Regards,
James
On 2020/01/10 15:46:20, Robert Wynkoop wrote:
> How do I debug the Groovy scri
Jacques,
If I can get it working in Eclipse, then I will be able to figure Netbeans
out.
Using Eclipse:
Version: 2019-09 R (4.13.0)
Build id: 20190917-1200
Installed Plugin that may be relevant:
Groovy Development Tools 3.7.0
Buildship Gradle Integration 3.0
EGradle Editor and IDE 2.6.1
Thanks
Le 10/01/2020 à 22:38, Robert Wynkoop a écrit :
Any ideas of what I might try?
Using Eclipse or IntelliJ ?
Sorry ;)
Jacques
Jacques,
Thanks. Well I'm having fun. New to Gradle, new to Goovy, I'm not making
progress.
I added
getDirectoryInActiveComponentsIfExists('groovyScripts')
to sourceSets {main { groovy {
But no joy in Netbeans. I then ran the task "eclipse" and
tried eclipse(
You might be interested by https://issues.apache.org/jira/browse/OFBIZ-10226
HTH
Jacques
Le 10/01/2020 à 16:46, Robert Wynkoop a écrit :
How do I debug the Groovy scripts?
In netbeans and eclipse, the groovy file does not seem to be on the class path.
I'm unable to set break points. Any
On Fri, Jan 10, 2020 at 11:00 AM Daniel Watford wrote:
> Hi Robert,
>
>
> Groovy scripts are not on the classpath in the normal sense, but are
> loaded (and I guess compiled) at runtime from the script's .groovy file.
>
> This is handled in the GroovyEngine#serviceInvoker wh
Hi Robert,
Groovy scripts are not on the classpath in the normal sense, but are loaded
(and I guess compiled) at runtime from the script's .groovy file.
This is handled in the GroovyEngine#serviceInvoker where you'll see a line
similar to:
Script script =
InvokerHelper.createScript
Debugger might not work given that these scripts are not directly called
within the classpath (they are enhanced with OFBiz-specific context
information. I would use print statements to debug things.
On Fri, Jan 10, 2020 at 6:55 PM Robert Wynkoop
wrote:
> How do I debug the Groovy scri
How do I debug the Groovy scripts?
In netbeans and eclipse, the groovy file does not seem to be on the class
path.
I'm unable to set break points. Any tips to configure so I can debug OFBiz
Java embedded Groovy.
[image: 2020-01-10 09_40_18-ofbiz-framework - Apache NetBeans IDE 11.2.jpg
ious observation.
>
> Many services with groovy are getting exported
>
> Looks like none of the services defined in are getting loaded.
>
> --> file:
> /opt/ofbiz/ofbiz-latest/applications/product/servicedef/services.xml
>
> default-entity-name="ProductCategory
observation.
Many services with groovy are getting exported
Looks like none of the services defined in are getting loaded.
--> file:
/opt/ofbiz/ofbiz-latest/applications/product/servicedef/services.xml
in /opt/ofbiz/ofbiz-latest/applications/product/ofbiz-component.xml the
above file is
alre
Sorry pls ignore previous observation.
Many services with groovy are getting exported
Looks like none of the services defined in are getting loaded.
--> file:
/opt/ofbiz/ofbiz-latest/applications/product/servicedef/services.xml
in /opt/ofbiz/ofbiz-latest/applications/product/of
Hi ,
In my installation using ofbiz trunk service using groovy engine are
not getting exported inspite of export="true" attribute in service xml
files.
other engine methods are getting exported.
Please suggest where should i check.
Regds
mallah.
Moving discussion to user list.
Thanks & Regards,
Aditya Sharma
Enterprise Software Engineer
Hotwax Systems
http://www.hotwaxsystems.com/
On Fri, Mar 10, 2017 at 8:51 AM, Aditya Sharma <
aditya.sha...@hotwaxsystems.com> wrote:
> Hello Ahmad,
>
> If your question is "*Ho
so a écrit :
Groovy in Action is the bible.
p
On Thu, Jul 21, 2016 at 2:38 PM, Jacques Le Roux <jacques.le.r...@les7arts.com
<mailto:jacques.le.r...@les7arts.com>> wrote:
Hi,
What books would you recommend today as references for Groovy and Gradle? A
best couple would be enough ;)
TIA
Jacques
For Groovy itself:
https://www.manning.com/books/groovy-in-action-second-edition
:-)
On Thu, Jul 21, 2016 at 2:45 PM, Taher Alkhateeb <slidingfilame...@gmail.com
> wrote:
> My favorite book for Gradle is Gradle in action. I also like groovy in
> action. Both books are reasona
My favorite book for Gradle is Gradle in action. I also like groovy in
action. Both books are reasonably designed with an easy to follow design
for the chapters and they work as a reference whenever you need to come
back for advanced topics
On Jul 21, 2016 3:38 PM, "Jacques Le Roux" <
Hi,
What books would you recommend today as references for Groovy and Gradle? A
best couple would be enough ;)
TIA
Jacques
, i...@agentur-m3.de i...@agentur-m3.de
wrote:
A test of Groovy DSL turned out an error
due to unknown function select:
import java.util.ArrayList;
import javolution.util.FastList;
import org.ofbiz.base.util.Debug;
import org.ofbiz.base.util.UtilProperties;
import
I am working on this, I will let you know something soon.
Jacopo
On Jan 22, 2015, at 8:45 AM, i...@agentur-m3.de wrote:
A test of Groovy DSL turned out an error
due to unknown function select:
import java.util.ArrayList;
import javolution.util.FastList;
import org.ofbiz.base.util.Debug
A test of Groovy DSL turned out an error
due to unknown function select:
import java.util.ArrayList;
import javolution.util.FastList;
import org.ofbiz.base.util.Debug;
import org.ofbiz.base.util.UtilProperties;
import org.ofbiz.base.util.UtilHttp;
import org.ofbiz.base.util.UtilMisc;
import
the dead link.
Was just trying to help sorry.
-
Joel Fradkin
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/findList-method-in-Groovy-tp278232p4654966.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
reference that helped me, so I thought I would post it
in case anyone else searched the list and found the dead link.
Was just trying to help sorry.
-
Joel Fradkin
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/findList-method-in-Groovy-tp278232p4654966.html
Sent from
entityCondition,
java.util.Setjava.lang.String fieldsToSelect,
java.util.Listjava.lang.String orderBy, EntityFindOptions findOptions,
boolean useCache)
-
Joel Fradkin
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/findList-method-in-Groovy-tp278232p4654892.html
Sent from
entityCondition,
java.util.Setjava.lang.String fieldsToSelect,
java.util.Listjava.lang.String orderBy, EntityFindOptions findOptions,
boolean useCache)
-
Joel Fradkin
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/findList-method-in-Groovy-tp278232p4654892.html
Sent from the OFBiz
Helllo
I'm new to ofbiz (12.04.02)
I'm trying to implement my first groovy service.
According to the documentationOFBiz DSL for Groovy Services and Events
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+DSL+for+Groovy+Services+and+Events
I have my service method implemented as
def
of the system and your feedback will be valuable.
Jacopo
On Feb 19, 2014, at 2:03 PM, Paolo Piersanti pa...@micso.it wrote:
Helllo
I'm new to ofbiz (12.04.02)
I'm trying to implement my first groovy service.
According to the documentationOFBiz DSL for Groovy Services and Events
https
On 19/02/14 15:27, Jacopo Cappellato wrote:
Hi Paolo,
you are indeed right, the code is still experimental and needs some love! I
have committed your fix in rev. 1569743 (trunk), rev. 1569746 (for 13.07) and
rev. 1569750 (for 12.04).
Please keep us updated on the results of your tests and
BTW before applying whatever patches...
I think you should describe more your problem say what you're exactly
doing.
Perhaps your problem is totally different!
-
Jad El Omeiri
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/groovy-service-engine-tp4648270p4648324.html
Omeiri
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/groovy-service-engine-tp4648270p4648275.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
--
叶双明
Hello,
I tried several times previously calling java services from java events. It
was always successful.
Now, I am trying to call groovy services (which are fully working) instead
of java services. But I'm having problems calling them. I am getting the
following message in the logs:
/Message
if anyone has same problem, pay attention to use /GenericDispatcher/ and not
/LocalDispatcher/.
That partly soved calling the service.
-
Jad El Omeiri
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/groovy-service-engine-tp4648270p4648275.html
Sent from the OFBiz - User
Groovy things as
jobs, great!
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Groovy-call-a-service-within-a-while-loop-wait-notify-tp4641435p4641451.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
thanks Deepak, your hints helped me a lot to use Groovy things as
jobs, great!
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Groovy-call-a-service-within-a-while-loop-wait-notify-tp4641435p4641451.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
hey guys, I have the following question (maybe groovy basics)...:
I do read a csv file with opencsv, so I get it line by line within a while
loop. Within this loop I call a simple method service to store selected data
from each line in database. With that I thought not to overload my memory
, May 21, 2013 at 9:49 PM, Robert G. g...@mercon24.de wrote:
hey guys, I have the following question (maybe groovy basics)...:
I do read a csv file with opencsv, so I get it line by line within a while
loop. Within this loop I call a simple method service to store selected
data
from each line
ha, that was fast :)
I see and this sounds reasonable. But on the otherhand I can change the
timeout for the browser, and 10.000 lines is not that much in my opinion.
The transaction stops after 2.5 minutes.
Or do you have a hint, how I can change the groovy code to a job? btw. what
Yes, you are right, scheduled service is a job. Considering Adrian's
suggestion you should keep a low transaction timeout for exampleService and
use-transaction=false for the groovy running this service.
Groovy files can be used as ofbiz service. You need to prepare a map and
put your OUT param
is not that good concerning memory.
my situation is:
a screen includes a submit button to call a ftl with groovy logic. The
groovy file calls the opencsv classes in java and gives back an iterator for
the array (each line is one array, ittereated with the while loop). within
this loop (groovy) I call
.135035.n4.nabble.com/Groovy-call-a-service-within-a-while-loop-wait-notify-tp4641435p4641441.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
suspend the (surrouding)
transaction in which your Groovy file is (I guess you have one automatically,
normally you should), and create a new one for your called service. Else the
current (surrouding) transaction, in which your groovy file was called, will be
used by the called service. By using
Btw, Use camel case pattern for naming the groovy file - tips and tricks -
https://cwiki.apache.org/OFBIZ/tips-tricks-while-working-with-groovy.html
Regards
Vikas
On Feb 7, 2013, at 10:10 AM, Deepak Dixit wrote:
You use same with groovy, rename helloworld.bsh to helloworld.groovy
Thanks Deepak,
Do you know how to make it a global variable(globalContext)?
Thanks in advance.
John
On Thu, Feb 7, 2013 at 3:40 PM, Deepak Dixit
deepak.di...@hotwaxmedia.comwrote:
You use same with groovy, rename helloworld.bsh to helloworld.groovy
helloworld.groovy
{code}
hello=world
You use same with groovy, rename helloworld.bsh to helloworld.groovy
helloworld.groovy
{code}
hello=world;
context.hello = hello;
{code}
include groovy file in action tag.
then you can use using ${hello} and in you are using form widget then you can
use the from-field attribute.
Thanks
Jacques,
please confirm that you applied the patch I shared in this thread.
Are you using Eclipse? I know that there are some config steps required before
you can debug Groovy in Eclipse... I would suggest you search the web as they
are not specific to OFBiz.
Let me know if you are able
can't use
ctrl+shift+i to evaluate expressions, nor use the Eclipse
Expressions tab. Also only a this variable is accessible in the Eclipse
Variables tab. Its value is the name of the Groovy class.
It contains a pointer on the groovy file where the breakpoint is. From there I
tried this morning
On May 27, 2012, at 9:44 AM, Jacques Le Roux wrote:
I was able to stop on breakpoints and then step in code.
well, if you were able to do this it means that the trick worked; I think that
the limitations you are seeing are related to the eclipse plugin and I doubt
there is anything we can do
I tried the trick today. I was able to put breakpoints in groovy but was not able to see variables in debug mode. Is there a way to
do that?
Thanks
Jacques
From: Jacques Le Roux jacques.le.r...@les7arts.com
+1
Jacques
From: Adrian Crum adrian.c...@sandglass-software.com
That looks fine
{
+if (filePath.endsWith(.groovy)) {
+return GroovyUtil.runScriptAtLocation(filePath, context);
+}
return executeScript(filePath, functionName,
createScriptContext(context), args);
} catch (Exception e) {
String errMsg = Error
That looks fine to me. We can leave it that way until the problem is
solved in Groovy.
-Adrian
On 4/13/2012 10:40 AM, Jacopo Cappellato wrote:
Leon, all,
until we find a good solution I can share the following patch/tweak for data
preparation scripts (screen, forms etc...):
Index
+1
Jacques
From: Adrian Crum adrian.c...@sandglass-software.com
That looks fine to me. We can leave it that way until the problem is solved in
Groovy.
-Adrian
On 4/13/2012 10:40 AM, Jacopo Cappellato wrote:
Leon, all,
until we find a good solution I can share the following patch/tweak
Thanks,
I had removed the Groovy plugin from my environment because it was giving me
more pain than help. Since then I have updated Eclipse
from 3.6.2 to 3.7.2 and tried it again. I must say most of the time I simply use println for Groovy debugging (no IDE need). But in
some case the debugger
hi, Jacqies.
I'm using latest groovy plugin which version is 2.6.1, groovy runtime plugin
1.7.10 and 1.8.6.
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Unable-to-debug-groovy-script-called-by-screen-widget-tp4533949p4536704.html
Sent from the OFBiz - User mailing list
From: ki...@objectedge.com
To: user@ofbiz.apache.org
Date: 08/08/2011 08:01 PM
Subject:Using Groovy-Eclipse plugin
Hello Friends,
I am new to OfBiz project. I have download the project
(ofbiz-trunk-2011-07-29-v1152132) and able to use it build new e-commerce
application. Got
Hello
I am trying to modify the session from a Groovy script and was wondering if
there were changes in 11.04 that would prevent me from doing this. For
example:
In Groovy, I would do the following:
aList = session.getAttribute(aList);
aList.add(item);
session.setAttribute(aList, aList);
Now
the .classpath to include groovy
folders? I found few compilation errors in ecommerce project after doing
so.
E.g:
1. duplicate classes in the default package (ContentPrep.groovy from
ecommerce)
2. Missing ')' in RespondPermAndPrep.groovy on line 98.
I am able to step through groovy files
I was going to resurrect the ebay minilanq example till I went there and
found it has been replaced by service that are java based.
Luckily I have copied that Ebay into a project not effected by svn.
I want to take the minilang and put up the bsh example I have then redo
it in groovy.
so my
oops forgot URL
https://cwiki.apache.org/confluence/display/OFBIZ/Minlang+%28simple-methods%29+examples+using+Groovy
=
BJ Freeman
Strategic Power Office with Supplier Automation
http://www.businessesnetwork.com/automation/viewforum.php?f=52
Specialtymarket.com http
hi all
Can I now integrate write groovy in minilang as the bsh? if so how?
the same way e call bsh?
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/bsh-or-groovy-in-services-tp152367p3020941.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
minilanq is xml Groovy is more java.
they are not compatible.
if you asking if you can call a groovy file from minilanq like bsh
call-bsh![CDATA[org.ofbiz.commonapp.product.product.KeywordSearch.induceKeywords(newEntity);]]/call-bsh
then use script instead of call-bsh.
for future if you have
From: BJ Freeman bjf...@free-man.net
minilanq is xml Groovy is more java.
they are not compatible.
if you asking if you can call a groovy file from minilanq like bsh
call-bsh![CDATA[org.ofbiz.commonapp.product.product.KeywordSearch.induceKeywords(newEntity);]]/call-bsh
then use script instead
/
Systems Integrator-- Glad to Assist
Chat Y! messenger: bjfr33man
From: BJ Freeman bjf...@free-man.net
minilanq is xml Groovy is more java.
they are not compatible.
if you asking if you can call a groovy file from minilanq like bsh
call-bsh![CDATA
So are you saying that the script tag can be used in minilang
SimpleMethods just like it is used in Screen actions?
I wish there was an example, but in 9.04 at least the only examples are
Screens, Forms and Menus.
--
James McGill
Phoenix AZ
as Jacques said, using a autocomplete XML editor helps.
or read the docs in the xsd.
James McGill sent the following on 10/31/2010 12:25 PM:
So are you saying that thescript tag can be used in minilang
SimpleMethods just like it is used in Screen actions?
I wish there was an example, but in
Hi All,
I was using delegator.find() in my groovy.
My problem:- My application requires 3 where clause that is
EntityCondition.makeCondition in the delegator.find(), but it is taking only
2 condition when third condition is given it is giving error, can any one
suggest me how to do
Hi Naveen,
You need prepare a EntityConditionList to embedeed your three
conditions, and pass EntityConditionList to findList function
Nicolas
Le 06/10/2010 08:11, Naveen Kumar a écrit :
Hi All,
I was using delegator.find() in my groovy.
My problem:- My application requires 3 where clause
/10/2010 08:11, Naveen Kumar a écrit :
Hi All,
I was using delegator.find() in my groovy.
My problem:- My application requires 3 where clause that is
EntityCondition.makeCondition in the delegator.find(), but it is taking
only
2 condition when third condition is given it is giving error, can
Nicolas
Le 06/10/2010 08:11, Naveen Kumar a écrit :
Hi All,
I was using delegator.find() in my groovy.
My problem:- My application requires 3 where clause that is
EntityCondition.makeCondition in the delegator.find(), but it is taking
only
2 condition when third condition is given
to findList function
Nicolas
Le 06/10/2010 08:11, Naveen Kumar a écrit :
Hi All,
I was using delegator.find() in my groovy.
My problem:- My application requires 3 where clause that is
EntityCondition.makeCondition in the delegator.find(), but it is taking
only
2 condition when
in groovy
Hi Sumit,
Thanks for the information, But i am looking for a documentation, where i
will get all delegator information like delegator.find(),
delegator.findByAnd(),, Please provide me links to some online
documentation.
Regards,
Naveen.
On Wed, Oct 6, 2010 at 12:01 PM, Sumit
:
Hi Naveen,
You need prepare a EntityConditionList to embedeed your three conditions,
and pass EntityConditionList to findList function
Nicolas
Le 06/10/2010 08:11, Naveen Kumar a écrit :
Hi All,
I was using delegator.find() in my groovy.
My problem:- My application
, Sep 29, 2010 at 3:54 PM, Naveen Kumar naveen.new...@gmail.com
wrote:
Hi All,
I am using *delegator.makeValue* in groovy to store Payment Entity, I am
not
getting any error in logs but data is not inserting to Entity, can anyone
help me to solve the issue.
Regards,
Naveen.
suggest me
how to implement this in groovy.
Regards,
Naveen.
updates payment table to collect
payment for next consecutive 5 months on the same date, that is, If today is
the first payment (30-09-2010) then next 4 payment will be on the same date
of subsequent months(30-10-2010, 30-11-2010, ), Can anyone suggest me
how to implement this in groovy.
Regards
Take a look at the temporal expressions:
https://cwiki.apache.org/confluence/display/OFBENDUSER/Temporal+Expressions
-Adrian
--- On Thu, 9/30/10, Naveen Kumar naveen.new...@gmail.com wrote:
From: Naveen Kumar naveen.new...@gmail.com
Subject: Groovy DateTime Issue
To: user@ofbiz.apache.org
payment will be on the same
date
of subsequent months(30-10-2010, 30-11-2010, ), Can anyone suggest me
how to implement this in groovy.
Regards,
Naveen.
, Naveen Kumar naveen.new...@gmail.com wrote:
From: Naveen Kumar naveen.new...@gmail.com
Subject: Groovy DateTime Issue
To: user@ofbiz.apache.org
Date: Thursday, September 30, 2010, 4:15 AM
Hi All,
I am writing an automated script which updates payment
table to collect
payment
Hi All,
I am using *delegator.makeValue* in groovy to store Payment Entity, I am not
getting any error in logs but data is not inserting to Entity, can anyone
help me to solve the issue.
Regards,
Naveen.
makeValue - Creates a Entity in the form of a GenericValue without
persisting it
Then you have to use .create() method to persist it.
Bilgin
On Wed, Sep 29, 2010 at 3:54 PM, Naveen Kumar naveen.new...@gmail.comwrote:
Hi All,
I am using *delegator.makeValue* in groovy to store Payment
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 capture from a query
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 = parameters.psd
1 - 100 of 298 matches
Mail list logo