Hi,
 we r using this thing

          <event type="service" invoke="createPracticePerson"/>
          <response name="success" type="request" value="json"/>

the same problem exist, but if we use

<event type="jsonservice" invoke="createPracticePerson" />
<response name="success" type="none" value="json"/>
         or
<event type="jsonservice" invoke="createPracticePerson"/>
<response name="success" type="request" value="json"/>

   then we get the proper updated response on same page

 i  think there might be version problem.....

Regard

Sachin Kanojiya



On Thu, Jun 17, 2010 at 12:15 PM, Jacques Le Roux <
[email protected]> wrote:

> Should we not update this tutorial then?
>
> Jacques
>
> From: "Deepak Dixit" <[email protected]>
>
>  Hello Vaibhav,
>>
>> This pattern is changed for calling ajax request. Instead of this we can
>> use following pattern:
>> <response name="success" type="request" value="json"/>
>> Please refer controller.xml of ecommerce component for more detail info.
>>
>> --
>> Deepak Dixit
>>
>>
>> vaibhav londhe wrote:
>>
>>> Hello,
>>>
>>> check your request-map in controller.. if your event type="service" then
>>> change it to
>>> event type ="jsonservice".
>>>
>>> Thanx & Regards,
>>> Vaibhav Londhe
>>>
>>>
>>>
>>> On Wed, Jun 16, 2010 at 3:17 PM, mehdouch <[email protected]> wrote:
>>>
>>>
>>>
>>>> HI,
>>>> I have downloaded the "practice_application_withAjax.tar.gz" from the
>>>> tutorial
>>>>
>>>>
>>>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
>>>> and I found a problem when using the ajax section: this section show the
>>>> list of persons and let you create a new person that is normally
>>>> displayed
>>>> in the end of the previus list.
>>>>
>>>> but in my case, the list is not updated until I click on the navigator's
>>>> refresh button ( so what the meaning of using ajax ? )
>>>>
>>>> any help / suggestion please.
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>>
>>>> http://ofbiz.135035.n4.nabble.com/OFBiz-Axax-tutorial-issue-tp2257126p2257126.html
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>

Reply via email to