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: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" > > 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> > **************************************************************************** > * > > > > -- View this message in context: http://www.nabble.com/Java-Class-tp24637295p24646355.html Sent from the OFBiz - User mailing list archive at Nabble.com.