Re: [Catalyst] Using Jquery UI Autocomplete widget with Catalyst::View::JSON

2010-04-25 Thread Ben van Staveren
Looks like you need to set expose_stash => 'json' in your config. Hetényi Csaba wrote: Dear Rodrigo I tired your tip, but my response is: {"json":[{"value":"Paddyfield Warbler","label":"Paddyfield Warbler","id":"Acrocephalus agricola"}]} and -of course- there is no any suggest. :( I thou

Re: [Catalyst] Using Jquery UI Autocomplete widget with Catalyst::View::JSON

2010-04-25 Thread Hetényi Csaba
Dear Rodrigo I tired your tip, but my response is: {"json":[{"value":"Paddyfield Warbler","label":"Paddyfield Warbler","id":"Acrocephalus agricola"}]} and -of course- there is no any suggest. :( I thought that Catalyst::View::JSON translate perl datastructures to corresponding JSON data stru

Re: [Catalyst] Using Jquery UI Autocomplete widget with Catalyst::View::JSON

2010-04-25 Thread Rodrigo
> I noticed, the Autocomplete plugin waits for String-Array or Object-Array, > (which > starts and ends with [ ...] ) but my code always starts and ends with { > ... } (JSON object type). > I tried many perl data-structure, but always starts with { ... > > Original working response (with HTML head

Re: [Catalyst] Dist::Zilla + Catalyst?

2010-04-25 Thread Ævar Arnfjörð Bjarmason
On Sun, Apr 25, 2010 at 15:39, John SJ Anderson wrote: > Is anybody using Dist::Zilla in combination with Catalyst? If so, are you > just not using it to generate your Makefile.PL or are you working around the > issues that presents in some other way? I'm using it for a plugin I have (Catalyst:

[Catalyst] Dist::Zilla + Catalyst?

2010-04-25 Thread John SJ Anderson
Is anybody using Dist::Zilla in combination with Catalyst? If so, are you just not using it to generate your Makefile.PL or are you working around the issues that presents in some other way? thx, j. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

[Catalyst] Using Jquery UI Autocomplete widget with Catalyst::View::JSON

2010-04-25 Thread Hetényi Csaba
Dear All Is there anyone, who has success with this combination? I have no idea, how to use this. On the Jquery Autocomplete demo page, i 'd like to do as you can see in the second demo (Remote datasource), but not working. If examine the original demo response with firebug, i see, that the