RE: [Catalyst] TT via AJAX

2012-04-27 Thread Roland Philibert
: 27 April 2012 02:52 To: The elegant MVC web framework Subject: Re: [Catalyst] TT via AJAX On Fri, Apr 27, 2012 at 12:03 AM, Roland Philibert rphilib...@aptina.com wrote: If I remove the end action and wite $body in the log, I do get what I want (ie rendered html from my TT with its result

Re: [Catalyst] TT via AJAX

2012-04-27 Thread Jason Galea
at the client..but if I do then back to square one.. ** ** ** ** *From:* Jason Galea [mailto:li...@eightdegrees.com.au] *Sent:* 27 April 2012 02:52 *To:* The elegant MVC web framework *Subject:* Re: [Catalyst] TT via AJAX ** ** ** ** On Fri, Apr 27, 2012 at 12:03 AM, Roland Philibert

RE: [Catalyst] TT via AJAX

2012-04-27 Thread Roland Philibert
Hi Jason, No, nothing there...I'll try to make a simple testcase. Thanks Roland From: Jason Galea [mailto:li...@eightdegrees.com.au] Sent: 27 April 2012 13:29 To: The elegant MVC web framework Subject: Re: [Catalyst] TT via AJAX Hi Roland, you shouldn't need to forward to a JSON

RE: [Catalyst] TT via AJAX

2012-04-26 Thread Roland Philibert
to this and I'd be very grateful. Thanks. From: will trillich [mailto:will.trill...@serensoft.com] Sent: 25 April 2012 14:53 To: The elegant MVC web framework Subject: Re: [Catalyst] TT via AJAX Roland -- Assuming your JSON view is trying to encode the 'result' item from your stash

Re: [Catalyst] TT via AJAX

2012-04-26 Thread Jason Galea
Hi Roland, On Wed, Apr 25, 2012 at 11:26 PM, Roland Philibert rphilib...@aptina.comwrote: Hello all, I’d like to render some HTML content being formatted from a TT view via AJAX. Can anybody recommend a way to do that please? ** ** The method I am using now for AJAX is REST

RE: [Catalyst] TT via AJAX

2012-04-26 Thread Roland Philibert
this issue? What do you suggest I do next? Thanks R. From: Jason Galea [mailto:li...@eightdegrees.com.au] Sent: 26 April 2012 14:32 To: The elegant MVC web framework Subject: Re: [Catalyst] TT via AJAX Hi Roland, On Wed, Apr 25, 2012 at 11:26 PM, Roland Philibert rphilib

RE: [Catalyst] TT via AJAX

2012-04-26 Thread Roland Philibert
is get_important_values? How to make sure that all the resultset is transferred to $json. Thanks for you help. R From: will trillich [mailto:will.trill...@serensoft.com] Sent: 26 April 2012 14:02 To: The elegant MVC web framework Subject: Re: [Catalyst] TT via AJAX Roland -- The main thing

Re: [Catalyst] TT via AJAX

2012-04-26 Thread Jason Galea
html. ** ** Thanks R. ** ** *From:* Jason Galea [mailto:li...@eightdegrees.com.au] *Sent:* 26 April 2012 14:32 *To:* The elegant MVC web framework *Subject:* Re: [Catalyst] TT via AJAX ** ** ** ** Hi Roland, ** ** On Wed, Apr 25, 2012 at 11:26 PM, Roland

[Catalyst] TT via AJAX

2012-04-25 Thread Roland Philibert
Hello all, I'd like to render some HTML content being formatted from a TT view via AJAX. Can anybody recommend a way to do that please? The method I am using now for AJAX is REST controller and JSON View. ... sub ajaxaction :Local :ActionClass('REST') {} sub ajaxaction _GET {

Re: [Catalyst] TT via AJAX

2012-04-25 Thread Matthew Phillips
Alternatively, you can use https://metacpan.org/module/DBIx::Class::Helper::Row::ToJSON to allow for automatic serialization. Cheers, Matt On Wed, Apr 25, 2012 at 9:53 AM, will trillich will.trill...@serensoft.comwrote: Roland -- Assuming your JSON view is trying to encode the 'result' item