Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-11 Thread Kevin Old
Ed, On 2/11/06, Ed C. <[EMAIL PROTECTED]> wrote: > Just include the ( and ) parens in your X-JSON header string. Yes, that will work, but it's a hack. Looking a all of the documentation for the definition of JSON data, the parens are no where to be seen. Kevin -- Kevin Old [EMAIL PROTECTED] ___

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-10 Thread Ed C.
Just include the ( and ) parens in your X-JSON header string. On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > > On 2/10/06, Todd Ross <[EMAIL PROTECTED]> wrote: > > > On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > > > > Here's the page: htt

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-10 Thread Kevin Old
On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > On 2/10/06, Todd Ross <[EMAIL PROTECTED]> wrote: > > On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > > > Here's the page: http://kold.homelinux.com/prototype/testajax2.html > > > > I was hoping to be able to play with your X-JSON approach becaus

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-10 Thread Kevin Old
On 2/10/06, Todd Ross <[EMAIL PROTECTED]> wrote: > On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > > Here's the page: http://kold.homelinux.com/prototype/testajax2.html > > I was hoping to be able to play with your X-JSON approach because that > seems to be what you wanted originally. The lates

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-10 Thread Todd Ross
On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > Here's the page: http://kold.homelinux.com/prototype/testajax2.html I was hoping to be able to play with your X-JSON approach because that seems to be what you wanted originally. The latest iteration works for me in Firefox, and I'd imagine will

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-10 Thread Kevin Old
Hi Todd, On 2/10/06, Todd Ross <[EMAIL PROTECTED]> wrote: > On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > > I'm using prototype 1.4.0 final. > > > > Any help is greatly appreciated! > > I'd be happy to look at a live website. > Here's the page: http://kold.homelinux.com/prototype/testajax2.h

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-10 Thread Todd Ross
On 2/10/06, Kevin Old <[EMAIL PROTECTED]> wrote: > I'm using prototype 1.4.0 final. > > Any help is greatly appreciated! I'd be happy to look at a live website. Todd ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyo

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-10 Thread Kevin Old
Hi everyone, On 2/8/06, Todd Ross <[EMAIL PROTECTED]> wrote: > On 2/8/06, Deco Rior <[EMAIL PROTECTED]> wrote: > > So the data is returned in an object that can be handled rather than use > > strain response.text? > > > > > > Is there a library that allows JSON data object manipulation ? > > The c

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread Deco Rior
OK, I think I get it now... But I still am thinking that there must be some libraries out there that help me more. For example, on mochikit I can sort a table so is there a nice library that has something like... a.sort('firstName','ascend'); where a is my object, etc. or am I still m

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread Jeremy Kitchen
On Wednesday 08 February 2006 14:36, Deco Rior wrote: > I was thinking of data manipulation libraries. > > sorts, inserts, etc. I have not used prototype for this since it > seemed more like div manipulation, etc. I will have to read the docs > a little more! JSON = JavaScript Object Notation you

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread Deco Rior
I was thinking of data manipulation libraries. sorts, inserts, etc. I have not used prototype for this since it seemed more like div manipulation, etc. I will have to read the docs a little more! Deco On Feb 8, 2006, at 3:01 PM, Todd Ross wrote: On 2/8/06, Deco Rior <[EMAIL PROTECTED]> wr

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread Todd Ross
On 2/8/06, Deco Rior <[EMAIL PROTECTED]> wrote: > So the data is returned in an object that can be handled rather than use > strain response.text? > > > Is there a library that allows JSON data object manipulation ? The callback function is no longer working with JSON { first_name: 'Todd', la

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread Deco Rior
So the data is returned in an object that can be handled rather than use strain response.text?Is there a library that allows JSON data object manipulation ?DecoOn Feb 8, 2006, at 2:30 PM, Ed C. wrote:First, the Client must call Ajax.Request   Then, the server must set an HTTP Header called "X-JSON"

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread Ed C.
First, the Client must call Ajax.Request   Then, the server must set an HTTP Header called "X-JSON" -- this will contain your json string.   Then, the client's Ajax Callback will contain a 2nd parameter container the JSON object.   Ex:   new Ajax.Request("json_folders.asp?p=" + escape(fullPath), {o

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread Deco Rior
Thanks, Does anybody know how this works? Deco On Feb 8, 2006, at 2:02 PM, James Marca wrote: At approximately Wed, Feb 08, 2006 at 08:03:20AM -0700, Deco Rior wrote: I read somewhere that scriptaculous has some support for JSON. Can anyone point me to where this might be? prototype.js has

Re: [Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread James Marca
At approximately Wed, Feb 08, 2006 at 08:03:20AM -0700, Deco Rior wrote: > I read somewhere that scriptaculous has some support for JSON. Can > anyone point me to where this might be? prototype.js has support. in prototype version 1.4.0, searching for "json" shows: line number class

[Rails-spinoffs] JSON and scriptaculous

2006-02-08 Thread Deco Rior
I read somewhere that scriptaculous has some support for JSON. Can anyone point me to where this might be? Deco ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs