Unfortunately not all Javascript frameworks like this. I've just been returning 
a StreamingResolution("application/json", "{}"); that seems to work across 
everything.  (JSONP requires then also the callback and a different MIME type.)

/Janne

On 30 Sep 2011, at 05:02, Freddy Daoud wrote:

> You could also return the 204 status code, which means success
> with "No Content".
>  
> Freddy
>  
> On Friday, September 30, 2011 2:39 AM, "Samuel Santos" <sama...@gmail.com> 
> wrote:
>> Are you expecting a JSON object?
>> 
>> If so, you can return a JavaScriptResolution(null) or a 
>> StreamingResolution("application/json", "").
>> 
>> --
>> Samuel Santos
>> http://www.samaxes.com/
>> 
>> 
>> On Fri, Sep 30, 2011 at 2:23 AM, fatefree <fatef...@gmail.com> wrote:
>> 
>> Just curious, in the event of some ajax update which really supplies no
>> response to the browser, what is the appropriate way to respond via a
>> resolution? I have been returning null by default but firebug does not like
>> that. Is there a specific status code I should return and perhaps
>> encapsulate that with an EmptyResolution class?
>> --
>> View this message in context: 
>> http://old.nabble.com/What-is-the-proper-empty-resolution-for-an-ajax-update--tp32553645p32553645.html
>> Sent from the stripes-users mailing list archive at Nabble.com.
>> 
>> 
>> ------------------------------------------------------------------------------
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy2
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>> 
>> ------------------------------------------------------------------------------
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy2
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>> 
> 
>  
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2_______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to