You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by lzl <lz...@yahoo.com.cn> on 2010/05/16 17:05:34 UTC
something wrong....
Hi All,
I am now reading 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].
Following is my extended.xml:
<?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"/>
<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#PostalAddressAdvisory"
/>
</site-conf>
Please guys help me as soon as possible.Thanks.
--
View this message in context: http://ofbiz.135035.n4.nabble.com/something-wrong-tp2218586p2218586.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: something wrong....
Posted by Jacques Le Roux <ja...@les7arts.com>.
It should not be needed... There was certainly something else wrong...
BTW in which component-load.xml file?
Jacques
h3ct0r wrote:
> lzl <lzljustmyself <at> yahoo.com.cn> writes:
>
>>
>>
>> well, i have done.....
>> After i load the leaning in component-load.xml, it works.
>
> Thank you very much for this answer, in the book it
> does not says that the hot-deploy apps needs to be
> loaded manualy in the component-load... " So long
> as the structure criteria is met,components placed
> into hot-deploy will be automatically loaded after
> those in the framework and applications. There is
> no need to specify them in component-load.xml
> files, as has to be done in the framework and
> application" Page 55 of Apache Ofbiz Development,
> the beginner ebook.
>
> Keep the radical thingking!
Re: something wrong....
Posted by h3ct0r <he...@gmail.com>.
lzl <lzljustmyself <at> yahoo.com.cn> writes:
>
>
> well, i have done.....
> After i load the leaning in component-load.xml, it works.
Thank you very much for this answer, in the book it
does not says that the hot-deploy apps needs to be
loaded manualy in the component-load... " So long
as the structure criteria is met,components placed
into hot-deploy will be automatically loaded after
those in the framework and applications. There is
no need to specify them in component-load.xml
files, as has to be done in the framework and
application" Page 55 of Apache Ofbiz Development,
the beginner ebook.
Keep the radical thingking!
Re: something wrong....
Posted by lzl <lz...@yahoo.com.cn>.
well, i have done.....
After i load the leaning in component-load.xml, it works.
--
View this message in context: http://ofbiz.135035.n4.nabble.com/something-wrong-tp2218586p2218612.html
Sent from the OFBiz - User mailing list archive at Nabble.com.