Re: Calling java class from groovy error

2022-05-25 Thread Avijit Bose
nk you > > > > On Wed, May 25, 2022 at 4:17 PM Avijit Bose > wrote: > > > > > > Hello, > > > > > > My java class file... > > > --- > > > public class DataUtils { > > > > > > public static

Re: Calling java class from groovy error

2022-05-25 Thread Daniel Watford
: > Dear Sir > > I got this. > thank you > > On Wed, May 25, 2022 at 4:17 PM Avijit Bose wrote: > > > > Hello, > > > > My java class file... > > --- > > public class DataUtils { > > > > public static final String

Re: Calling java class from groovy error

2022-05-25 Thread Avijit Bose
Dear Sir I got this. thank you On Wed, May 25, 2022 at 4:17 PM Avijit Bose wrote: > > Hello, > > My java class file... > --- > public class DataUtils { > > public static final String module = DataUtils.class.getName(); > > public static Strin

Calling java class from groovy error

2022-05-25 Thread Avijit Bose
Hello, My java class file... --- public class DataUtils { public static final String module = DataUtils.class.getName(); public static String getCompanyName(String format) { Debug.logInfo("===format=", format); return format; } --

Which java class is called when the ofbiz boots?

2013-11-28 Thread jignesh
Hi, I have checked out source code of ofbiz from svn. Now, I want to trace how the ofbiz server boots up. At which java class I should place my break point. Regards, JSM

Re: Which java class is called when the ofbiz boots?

2013-11-28 Thread Adrian Crum
Start.java Adrian Crum Sandglass Software www.sandglass-software.com On 11/28/2013 7:03 AM, jignesh wrote: Hi, I have checked out source code of ofbiz from svn. Now, I want to trace how the ofbiz server boots up. At which java class I should place my break point. Regards, JSM

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 address, numdays

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 NextPickupDateUpdater

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 adri...@hlmksw.com wrote: Make sure the update method is public, and that it takes no arguments and returns a number. -Adrian Patrick wrote: I made a little

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 patrickinminneapo...@gmail.com 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 adri...@hlmksw.com wrote: Make sure the update method is public

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

Java Class

2009-09-29 Thread su2
Hello Friends, I have a form - myForm.xml I want to create following field in myForm.xml field name=subTotal title=${uiLabelMap.mySubTotal} display description=${bsh:org.ofbiz.my.my.MyHelper.getSubTotal(myOrderNo)}/ /field For this I want to create java class - getSubTotal

Re: Java Class

2009-09-29 Thread Adrian Crum
} display description=${bsh:org.ofbiz.my.my.MyHelper.getSubTotal(myOrderNo)}/ /field For this I want to create java class - getSubTotal() Where I want to pass current orderno and get subtotal(=itemsubtotal + shipping charges) for that I want to create a SQL query in my java class

Re: Java Class

2009-09-29 Thread su2
Hi Adrian, But I would like to have it in a java class instead of services as i need to do lot of data manipulation which is i think not possible in services. Adrian Crum wrote: Typically, data queries are put in services (so they can be reused) and then the service is called

Re: Java Class

2009-09-29 Thread Sumit Pandit
: Hello Friends, I have a form - myForm.xml I want to create following field in myForm.xml field name=subTotal title=${uiLabelMap.mySubTotal} display description=${bsh:org.ofbiz.my.my.MyHelper.getSubTotal(myOrderNo)}/ /field For this I want to create java class - getSubTotal() Where I

Re: RED Cross on newly created .java class file

2009-09-05 Thread Abdullah Shaikh
: Yes I guess I just have one jar file in build/lib, I do not see new jar file for my new java class. This is what I understood from your explanation. Am I understanding correctly ? abdullah shaikh wrote: You need to put the required jars on the classpath, you can find the jars under

Re: RED Cross on newly created .java class file

2009-09-04 Thread Jacques Le Roux
I guess : you are in Eclipse, you use Subclipse, and this means that if you want to put thes files in repository you have to add them to the repository (using Subclipse). If I'm right, look for help on Subclipse... Jacques From: su2 shu...@pexsupply.com Hi All, I created new .java class

Re: RED Cross on newly created .java class file

2009-09-04 Thread Abdullah Shaikh
new .java class file in src folder. But I am getting red cross on the file and because of that I think, I am getting red cross on all above directories too. Do anybody have any idea the reason behind this ? I really appreciate the help. Thank you. -- View this message in context: http

Re: RED Cross on newly created .java class file

2009-09-04 Thread su2
Yes I guess I just have one jar file in build/lib, I do not see new jar file for my new java class. This is what I understood from your explanation. Am I understanding correctly ? abdullah shaikh wrote: You need to put the required jars on the classpath, you can find the jars under

Re: Java Class

2009-07-24 Thread su2
/ *** My Java class is *** public class calculatorEvents { public static String processFirstForm(HttpServletRequest request,HttpServletResponse response

Re: Java Class

2009-07-24 Thread Awdesh Parihar
Are you able to see OneFormScreen fields on your screen after form submission ? -- -- Awdesh Parihar HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com

Re: Java Class

2009-07-24 Thread su2
Media Pvt. Ltd. Website :- www.hotwaxmedia.com -- View this message in context: http://www.nabble.com/Java-Class-tp24637295p24644359.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Java Class

2009-07-24 Thread Awdesh Parihar
Just remove condition (conditionnotif-empty field-name=parameters.submit //not/condition )you are putting on screen and try same process again . -- -- Awdesh Parihar HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com

Re: Java Class

2009-07-24 Thread su2
process again . -- -- Awdesh Parihar HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com -- View this message in context: http://www.nabble.com/Java-Class-tp24637295p24644718.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Java Class

2009-07-24 Thread Awdesh Parihar
Paste your form contain here . -- Awdesh Parihar

Re: Java Class

2009-07-24 Thread su2
your form contain here . -- Awdesh Parihar -- View this message in context: http://www.nabble.com/Java-Class-tp24637295p2464.html Sent from the OFBiz - User mailing list archive at Nabble.com.

RE: Java Class

2009-07-24 Thread SELC Sales Div
Hi Shuchi, During compiling that Java ... is there any error response? - Charles TJ -Original Message- From: su2 [mailto:shu...@pexsupply.com] Sent: 24 Juli 2009 21:30 To: user@ofbiz.apache.org Subject: Re: Java Class Hi Awdesh, my calcForms.xml

Re: Java Class

2009-07-24 Thread Chirag Manocha
Are you getting the blank screen or blank values for your labels ? Regards -- Chirag Manocha HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com Contact :- +91-98263-19099 su2 wrote: Hi Adwesh, If I remove (conditionnotif-empty field-name=parameters.submit//not/condition), on 1st screen

Re: Java Class

2009-07-24 Thread su2
process again . -- -- Awdesh Parihar HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com -- View this message in context: http://www.nabble.com/Java-Class-tp24637295p24646190.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Java Class

2009-07-24 Thread BJ Freeman
/calcScreens.xml#OneFormScreen/ *** My Java class is *** public class calculatorEvents { public static String

RE: Java Class

2009-07-24 Thread su2
- processFirstForm passing firstname and lastname but since other attributes are declared in Java class its not showing. So I think the issue is somewhere in event but not sure where and how to find and resolve that. Thanks. SELC Sales Div wrote: Hi Shuchi, During compiling that Java

Re: Java Class

2009-07-24 Thread Chirag Manocha
Not sure, but is your java class at right location and its package name given properly ? If yes, put a Debug log message before return success. Regards -- Chirag Manocha HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com Contact :- +91-98263-19099 su2 wrote: Hi Charles, Yeah, my java

Re: Java Class

2009-07-24 Thread su2
firstname and lastname but since other attributes are declared in Java class its not showing. So I think the issue is somewhere in event but not sure where and how to find and resolve that. Thanks. Chirag Manocha-2 wrote: Not sure, but is your java class at right location and its package name

Re: Java Class

2009-07-24 Thread su2
(submit, Submitted); return success; } } ** Thanks. awdesh parihar wrote: Paste your form contain here . -- Awdesh Parihar -- View this message in context: http://www.nabble.com/Java-Class

Re: Java Class

2009-07-24 Thread BJ Freeman
couple of things to check is that you have the calculator/lib and there is a Jar in there that has your compile calculator.class. that the ofbiz-component.xml has path to calculator/lib su2 sent the following on 7/24/2009 1:21 PM: I think I am able to print the error and it says

Java Class

2009-07-23 Thread su2
://calculator/widget/calculator/calcScreens.xml#OneFormScreen/ *** My Java class is *** public class

Re: Java Class

2009-07-23 Thread Chirag Manocha
/ *** My Java class is *** public class calculatorEvents { public static String processFirstForm(HttpServletRequest request,HttpServletResponse response){ String firstName

how to run a sql directly in java class in ofbiz?

2009-03-25 Thread Larry.Liu
Hi All, Is there any back door for us to run a SQL and get the result as a resultset directly in java code in ofbiz? Thanks. Regards, Liu Xiangqian Wizitsoft Information Technology Ltd. www.wizitsoft.com | (86) 010-62670653 ext 614

RE: how to run a sql directly in java class in ofbiz?

2009-03-25 Thread Jack Liu
To: user@ofbiz.apache.org Subject: how to run a sql directly in java class in ofbiz? Hi All, Is there any back door for us to run a SQL and get the result as a resultset directly in java code in ofbiz? Thanks. Regards, Liu Xiangqian Wizitsoft Information Technology Ltd. www.wizitsoft.com | (86) 010

Re: how to run a sql directly in java class in ofbiz?

2009-03-25 Thread Larry.Liu
: + sequenceId, module); return sequenceId; } -Original Message- From: Larry.Liu [mailto:xiangqian@wizitsoft.com] Sent: 2009年3月25日 14:51 To: user@ofbiz.apache.org Subject: how to run a sql directly in java class in ofbiz? Hi All, Is there any back door for us to run

Re: how to run a sql directly in java class in ofbiz?

2009-03-25 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you can look at webtools Entity SQL processor code. Larry.Liu sent the following on 3/24/2009 11:50 PM: Hi All, Is there any back door for us to run a SQL and get the result as a resultset directly in java code in ofbiz? Thanks. Regards,

Java Class file change on server

2008-06-06 Thread Madhuri
Hi - I am new to ofbiz and need some help with code change in a java class. I changed the java file CheckoutEvents.java to suit my requirements and it works fine on my local machine. I replaced the class file on the production server and re-started tomcat, however it does not seem to accept

Re: Java Class file change on server

2008-06-06 Thread Jacques Le Roux
- I am new to ofbiz and need some help with code change in a java class. I changed the java file CheckoutEvents.java to suit my requirements and it works fine on my local machine. I replaced the class file on the production server and re-started tomcat, however it does not seem to accept the new class

Re: Java Class file change on server

2008-06-06 Thread Madhuri
Hi Jacques - I did not compile the java class on the server. I only compiled it on my local machine and replaced the class file on the server. Do I have to run compile (run ant) on server ? I restarted ofbiz on server. I am not using tomcat as external application server. Your help is much

Re: Java Class file change on server

2008-06-06 Thread Jacques Le Roux
Jacques - I did not compile the java class on the server. I only compiled it on my local machine and replaced the class file on the server. Do I have to run compile (run ant) on server ? I restarted ofbiz on server. I am not using tomcat as external application server. Your help is much appreciated

Re: Java Class file change on server

2008-06-06 Thread BJ Freeman
you need to let the build file create the jar that the java file is in. then replace the jar file on the server. Madhuri sent the following on 6/6/2008 2:08 PM: Hi Jacques - I did not compile the java class on the server. I only compiled it on my local machine and replaced the class file

Re: Java Class file change on server

2008-06-06 Thread Ashish Vijaywargiya
PROTECTED] wrote: you need to let the build file create the jar that the java file is in. then replace the jar file on the server. Madhuri sent the following on 6/6/2008 2:08 PM: Hi Jacques - I did not compile the java class on the server. I only compiled it on my local machine

Why is a new java class cannot be found?

2007-08-04 Thread Mathius Allo
Hi, I just created a new java class to implement java method but when I could not make use if it. why trying to invoke a method from the java class as below: event type=java path=org.ofbiz.customer.CustomerServices invoke=findCustomerById/ It could not find the class