Re: Java Class

2009-09-29 Thread Adrian Crum
Typically, data queries are put in services (so they can be reused) and then the service is called by the form's actions element. -Adrian su2 wrote: Hello Friends, I have a form - myForm.xml I want to create following field in myForm.xml field name=subTotal

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 by the

Re: Java Class

2009-09-29 Thread Sumit Pandit
Hi Su, This is possible in java, you can find many java classes in OFBiz where various calculation are done based on many query, for example - ShoppingCart.java, PosTransaction.java and few are in Accounting component. -- Regards Sumit Pandit On 29-Sep-09, at 7:58 PM, su2 wrote:

Re: Java Class

2009-07-24 Thread su2
Yes, I do Following is my xhtml-decorator *** screen name=xhtml-decorator section widgets include-screen name=header/ decorator-section-include

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
Hi Awdesh, The URI for my OneFormScreen is processFirstForm. Once I submit the form it does go to the processFirstForm uri but screen is blank. Thanks. awdesh parihar wrote: Are you able to see OneFormScreen fields on your screen after form submission ? -- -- Awdesh Parihar HotWax

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
Hi Adwesh, If I remove (conditionnotif-empty field-name=parameters.submit//not/condition), on 1st screen (OneForm) below my FirstName, LastName, Submit buttong I get following which are in OneFormScreen but was surrounded by condition FirstName: lastName: combined: submit: All the parameters we

Re: Java Class

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

Re: Java Class

2009-07-24 Thread su2
Hi Awdesh, my calcForms.xml * forms xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://www.ofbiz.org/dtds/widget-form.xsd; form name=FirstForm type=single

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
Hi Chirag, I am getting blank screen Thanks. Chirag Manocha-2 wrote: 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

Re: Java Class

2009-07-24 Thread BJ Freeman
not sure why you added a java handler, if you using ofbiz trunk you should have include location=component://common/webcommon/WEB-INF/common-controller.xml/ su2 sent the following on 7/23/2009 6:26 PM: Hi All, I have created a new component, it has a form widget, with FirstName,

RE: Java Class

2009-07-24 Thread su2
... 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
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 * forms xmlns:xsi=http://www.w3.org/2001

Re: Java Class

2009-07-24 Thread 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 * forms xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance

Re: Java Class

2009-07-24 Thread su2
I think I am able to print the error and it says ** The Following Errors Occurred: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Error invoking event, the class org.ofbiz.calculator.calculator.calculatorEvents was not found

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

Re: Java Class

2009-07-23 Thread Chirag Manocha
Do you have xhtml-decorator in your calcScreens.xml ? Regards -- Chirag Manocha HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com Contact :- +91-98263-19099 su2 wrote: Hi All, I have created a new component, it has a form widget, with FirstName, LastName and Submit Button. the

Re: Java Class file change on server

2008-06-06 Thread Jacques Le Roux
Did you recompile on server (I know it's may seem a dumb question, but you did not express it clearly in your mail) or copy the jar file containing the class? Also did you restart OFBiz ? Or are you using Tomcat as an external application sever ? Jacques From: Madhuri [EMAIL PROTECTED] Hi -

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
Madhuri, Class file is not enough, at least the jar file containing the class file should be used. But anyway, I would recommend to stop OFBiz on the server, run ant (in case of issue, ant clean before can help), restart OFBiz on the server. Jacques From: Madhuri [EMAIL PROTECTED] Hi

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 on

Re: Java Class file change on server

2008-06-06 Thread Ashish Vijaywargiya
Reading of JAR files is done with the help of following entry from ofbiz-component.xml when server will get started. One more thing ofbiz-component.xml file is specific to each component. classpath type=jar location=build/lib/*/ -- Ashish On Fri, Jun 6, 2008 at 6:16 PM, BJ Freeman [EMAIL