Hi Hammad,

Try this for your <event>:

<event type="bsf" invoke="org/ofbiz/party/party/postalAddressAdvisory.bsh"/>


- Charles TJ

=========


-----Original Message-----
From: Hammad Afridi [mailto:[email protected]]
Sent: 11 Desember 2009 0:21
To: [email protected]
Subject: RE: Getting error please help


Thanks for your email.I have checked the errata.I have changed the content
of the extended.xml file according to ERRATA but I am still confused.Please
can you provide contents for the extended.xml.Following is the content of
the extended.xml file I am using :

<?xml version="1.0" encoding="UTF-8" ?>

<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/site-conf.xsd";>

        <handler name="bsf" type="request"
class="org.ofbiz.webapp.event.BsfEventHandler" />               <handler 
name="java"
type="request" class="org.ofbiz.webapp.event.JavaEventHandler" />

        <request-map uri="PostalAddressAdvisory">

                <security https="true" auth="true" />
                <event type="java" 
path="org.ofbiz.learning.learning.LearningEvents"
invoke="postalAddressAdvisory.bsh"/>
                <response name="isMars" type="view" 
value="PostalAddressAdvisory"/>
                <response name="notMars" type="view" value="editcontactmech" />
        </request-map>

        <view-map name="PostalAddressAdvisory" type="screen"
        
page="component://learning/widget/partymgr/OurPartyScreens.xml#PostalAddres
sAdvisory" />
</site-conf>



Regards,
  Hammad Ali Khan Afridi   
  Mobile         0044 7534171187  msn            [email protected]
yahoo!        [email protected]


--- On Thu, 12/10/09, Charles TJ - SELC Sales Div <[email protected]>
wrote:

> From: Charles TJ - SELC Sales Div <[email protected]>
> Subject: RE: Getting error please help
> To: [email protected]
> Date: Thursday, December 10, 2009, 10:07 PM
>
> Pls check 'ERRATA' at publisher website for page 57
>
> - Charles TJ
>
>
> -----Original Message-----
> From: Hammad Afridi [mailto:[email protected]]
> Sent: 10 Desember 2009 23:39
> To: [email protected]
> Subject: [?? Probable Spam] Getting error please help
>
>
> Hi All,
> I am following Apache Ofbiz Development.I am on the 2nd
> chapter of the book
> where an application called learning is developed .I have
> completed what is
> mentioned in the book till page 58 and when I ran the
> application I got the
> following error while updating the Postal Address of the
> party:
>
> org.ofbiz.webapp.control.RequestHandlerException: Illegal
> response; handler
> could not process [null].
>
> Please guys help me out as I am stuck and cant move forward
> with the
> book.Thanks.
>
> Regards,
> Hammad Ali Khan Afridi   
> Mobile         0044 7534171187
> msn            [email protected]
> yahoo!        [email protected]
>
>
>
>
>




Reply via email to