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 is good. but when I remove (<event type="java"
path="org.ofbiz.calculator.calculator.calculatorEvents"
invoke="processFirstForm"/> ) from controller.xml and
(<condition><not><if-empty
field-name="parameters.submit"/></not></condition>) from calcScreens.xml, it
goes to my desired uri - 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 ... is there any error response?
- Charles TJ
-----Original Message-----
From: su2 [mailto:[email protected]]
Sent: 24 Juli 2009 21:30
To: [email protected]
Subject: Re: Java Class
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" target="processFirstForm">
<field name="firstName"><text/></field>
<field name="lastName"><text/></field>
<field name="submit"><submit/></field>
</form>
</forms>
****************************************************************************
*