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. |
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 <[hidden email]> 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. > |
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 <[hidden email]> 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. >> >> > > |
Administrator
|
Should we not update this tutorial then?
Jacques From: "Deepak Dixit" <[hidden email]> > 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 <[hidden email]> 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. >>> >>> >> >> > > |
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 < [hidden email]> wrote: > Should we not update this tutorial then? > > Jacques > > From: "Deepak Dixit" <[hidden email]> > > 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 <[hidden email]> 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. >>>> >>>> >>>> >>> >>> >>> >> >> >> > |
Administrator
|
Then the tutorial should have a note about what syntax to use which each version...
Else I'm pretty sure this question will pop up again, Could you take care of that Sachin? Jacques From: "sachin kanojiya" <[hidden email]> > 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 < > [hidden email]> wrote: > >> Should we not update this tutorial then? >> >> Jacques >> >> From: "Deepak Dixit" <[hidden email]> >> >> 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 <[hidden email]> 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. >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> > |
hi,
r901367 service is not working in the event type we use r 916252 on this revision it is working fine Thanx & Regards, sachin kanojiya On Thu, Jun 17, 2010 at 1:24 PM, Jacques Le Roux < [hidden email]> wrote: > Then the tutorial should have a note about what syntax to use which each > version... > Else I'm pretty sure this question will pop up again, > > Could you take care of that Sachin? > > Jacques > > From: "sachin kanojiya" <[hidden email]> > > 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 < >> [hidden email]> wrote: >> >> Should we not update this tutorial then? >>> >>> Jacques >>> >>> From: "Deepak Dixit" <[hidden email]> >>> >>> 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 <[hidden email]> 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. >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >> > |
Administrator
|
Thanks, so let's forget it
Jacques From: "sachin kanojiya" <[hidden email]> hi, r901367 service is not working in the event type we use r 916252 on this revision it is working fine Thanx & Regards, sachin kanojiya On Thu, Jun 17, 2010 at 1:24 PM, Jacques Le Roux < [hidden email]> wrote: > Then the tutorial should have a note about what syntax to use which each > version... > Else I'm pretty sure this question will pop up again, > > Could you take care of that Sachin? > > Jacques > > From: "sachin kanojiya" <[hidden email]> > > 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 < >> [hidden email]> wrote: >> >> Should we not update this tutorial then? >>> >>> Jacques >>> >>> From: "Deepak Dixit" <[hidden email]> >>> >>> 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 <[hidden email]> 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. >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >> > |
Free forum by Nabble | Edit this page |