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
> 
> **********************************
> 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
> 
> **********************************
>  I have the class calculatorEvents  in calculatorEvents.java which resides
> in component - calculator > src > org > ofbiz > calculator > calculator  >
> calculatorEvents.java 
> 
> my calculatorEvents.java is
> 
> **********************************
> package org.ofbiz.calculator.calculator;
> 
> 
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
> 
> import org.ofbiz.base.util.UtilHttp;
> 
>       public static String processFirstForm(HttpServletRequest
> request,HttpServletResponse response){
>                       String firstName = request.getParameter("firstName");
>                       String lastName = request.getParameter("lastName");
>                       request.setAttribute("combined", firstName + " " + 
> lastName);
>                       request.setAttribute("allParams", 
> UtilHttp.getParameterMap(request));
>                       request.setAttribute("submit", "Submitted");
>                       return "success";
>                       }
> 
> }
> **********************************
> 
> 
> Thanks.
> 
> 
> 
> awdesh parihar wrote:
>> Paste your form contain here .
>> --
>> Awdesh Parihar
>>
>>
> 

-- 
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply via email to