Re: Issue with ajax and json response

2011-08-29 Thread Jacques Le Roux
using their ids, not so good. - Original Message - From: Atul Vani atul.v...@hotwaxmedia.com To: user@ofbiz.apache.org Sent: Sunday, August 28, 2011 10:47:07 PM Subject: Re: Issue with ajax and json response Jonatan, IMO, the event you invoked in your request mapping should be fixed

Re: Issue with ajax and json response

2011-08-29 Thread Atul Vani
using their ids, not so good. - Original Message - From: Atul Vani atul.v...@hotwaxmedia.com To: user@ofbiz.apache.org Sent: Sunday, August 28, 2011 10:47:07 PM Subject: Re: Issue with ajax and json response Jonatan, IMO, the event you invoked in your request mapping should be fixed

Re: Issue with ajax and json response

2011-08-28 Thread Jonatan Soto
if it will be helpful, I didn't got the problem completely either ;-) - Original Message - From: Jonatan Soto seniledemen...@gmail.com To: user@ofbiz.apache.org Sent: Sunday, July 17, 2011 5:56:10 PM Subject: Re: Issue with ajax and json response Done. Patch provided, not fully tested

Re: Issue with ajax and json response

2011-08-28 Thread Jonatan Soto
the problem completely either ;-) - Original Message - From: Jonatan Soto seniledemen...@gmail.com To: user@ofbiz.apache.org Sent: Sunday, July 17, 2011 5:56:10 PM Subject: Re: Issue with ajax and json response Done. Patch provided, not fully tested. https://issues.apache.org

Re: Issue with ajax and json response

2011-08-28 Thread Atul Vani
Message - From: Jonatan Soto seniledemen...@gmail.com To: user@ofbiz.apache.org Sent: Saturday, August 27, 2011 3:51:58 PM Subject: Re: Issue with ajax and json response Hi Atul, I've didn't got server error messages using what you said. Probably is something wrong in my code, but what I have

Re: Issue with ajax and json response

2011-08-28 Thread Atul Vani
@ofbiz.apache.org Sent: Sunday, August 28, 2011 10:47:07 PM Subject: Re: Issue with ajax and json response Jonatan, IMO, the event you invoked in your request mapping should be fixed to return error response, when they get errors. It will cause the error response to be rendered instead of the success

Re: Issue with ajax and json response

2011-08-27 Thread Jonatan Soto
if it will be helpful, I didn't got the problem completely either ;-) - Original Message - From: Jonatan Soto seniledemen...@gmail.com To: user@ofbiz.apache.org Sent: Sunday, July 17, 2011 5:56:10 PM Subject: Re: Issue with ajax and json response Done. Patch provided, not fully

Re: Issue with ajax and json response

2011-08-26 Thread Atul Vani
:10 PM Subject: Re: Issue with ajax and json response Done. Patch provided, not fully tested. https://issues.apache.org/jira/browse/OFBIZ-4342 https://issues.apache.org/jira/browse/OFBIZ-4342Regards, On Sun, Jul 17, 2011 at 1:34 PM, Scott Gray scott.g...@hotwaxmedia.comwrote: Yeah, checking

Re: Issue with ajax and json response

2011-07-17 Thread Scott Gray
Yeah, checking for the _ERROR_MESSAGE* keys is the right way to go, would be great if you could create a jira issue so this doesn't get lost. Regards Scott HotWax Media http://www.hotwaxmedia.com On 17/07/2011, at 7:56 AM, Jonatan Soto wrote: Well, I did a little read on the jquery ajax

Re: Issue with ajax and json response

2011-07-17 Thread Jonatan Soto
Done. Patch provided, not fully tested. https://issues.apache.org/jira/browse/OFBIZ-4342 https://issues.apache.org/jira/browse/OFBIZ-4342Regards, On Sun, Jul 17, 2011 at 1:34 PM, Scott Gray scott.g...@hotwaxmedia.comwrote: Yeah, checking for the _ERROR_MESSAGE* keys is the right way to go,

Re: Issue with ajax and json response

2011-07-16 Thread BJ Freeman
[traditional#JF/setAnonUserLogin] finished in [105] milliseconds with response [{responseMessage=success}] it is evaluating a good lognin. this is where to debug. Jonatan Soto sent the following on 7/16/2011 10:59 AM: Hi all, I am customizing the onePageCheckout (the anonymous part) and I

Re: Issue with ajax and json response

2011-07-16 Thread Jonatan Soto
Well, I did a little read on the jquery ajax documentation ( http://api.jquery.com/jQuery.ajax/) and some of my assertions were wrong. It is definitively not related to the CommonEvents#jsonResponseFromRequestAttributes. I felt stupid when I realized that the result the controller returns has

Re: Issue with ajax and json response

2011-07-16 Thread BJ Freeman
I believe that the UI ajax uses data supplied by ftls, no calls fron the UI access the ofbiz internals and goes through the Controller. the ajex and jazon used past the controller URI is internal to ofbiz and is not exposed to the UI. There is a Handler to deal with ajax and jason, internal to