[Catalyst] Catalyst and ExtJS

2013-03-16 Thread Jean-Marc Choulet
Hello, I use Ext JS and Catalyst. All works fine but now, I am to add some TT instructions into my javascript files : Example : Ext.define('MyApp.MyWindow', { extend: 'Ext.window.Window', [% IF user %] ... my code ... [% END %] title: 'MyWindow', }; My Ext JS file is in root

Re: [Catalyst] Catalyst and ExtJS : Using Table Relationships

2009-05-25 Thread Peter Karman
jagdish eashwar wrote on 5/24/09 10:11 AM: Hi, I am trying my hand at using Catalyst and the ExtJS Grid (instead of TT). I am able to fetch data from a single table and display them in the grid. But I am not able to figure out how I can use the table relationships to fetch, say

[Catalyst] Catalyst and ExtJS : Using Table Relationships

2009-05-24 Thread jagdish eashwar
Hi, I am trying my hand at using Catalyst and the ExtJS Grid (instead of TT). I am able to fetch data from a single table and display them in the grid. But I am not able to figure out how I can use the table relationships to fetch, say, the corresponding item_name for a given item_code

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Adam Witney
On 14 Mar 2009, at 20:26, Moritz Onken wrote: Hi Scott, thanks for the info, do you use any particular module or have you built it yourself? I have found so far: HTML::FormFu::ExtJS Catalyst-Controller-HTML-FormFu-ExtJS any you'd recommend taking a look at? thanks again adam Hi

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Moritz Onken
Thanks for the link Moritz, I'm working my way through your examples from http://html-formfu.googlecode.com/svn/trunk/HTML-FormFu-ExtJS/lib/HTML/FormFu/ExtJS.pm Should javascript.tt2 contain this: script type=text/javascript Ext.onReady(function(){ var submitForm = function() {

RE: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Scott Pham (scpham)
-Original Message- From: Adam Witney [mailto:awit...@sgul.ac.uk] Sent: Saturday, March 14, 2009 2:05 PM To: The elegant MVC web framework Subject: Re: [Catalyst] Catalyst and ExtJS On 14 Mar 2009, at 15:19, Scott Pham (scpham) wrote: -Original Message- From: Adam

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Adam Witney
Hi Scott, thanks for the info, do you use any particular module or have you built it yourself? I have found so far: HTML::FormFu::ExtJS Catalyst-Controller-HTML-FormFu-ExtJS any you'd recommend taking a look at? thanks again adam I built it myself using Catalyst::View::JSON and TT. It's

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Moritz Onken
Hi Scott, thank for your reply, in having a go at using Catalyst::View::JSON i keep running into the ... encountered object 'MyApp::Model::DB::Experiment=HASH(0xe8ac4c)', but neither allow_blessed nor convert_blessed settings ... error. I'm getting data from DBIC but can't figure out

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread J. Shirley
On Mon, Mar 16, 2009 at 10:53 AM, Moritz Onken on...@houseofdesign.dewrote: Hi Scott, thank for your reply, in having a go at using Catalyst::View::JSON i keep running into the ... encountered object 'MyApp::Model::DB::Experiment=HASH(0xe8ac4c)', but neither allow_blessed nor

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Adam Witney
No, don't do that! Use $row-get_columns which returns a hash of the column data! Accessing internal methods is bad, accessing internal hash keys is doubleplusungood. If you find yourself doing that, go read some documentation. If you haven't figured it out without doing that, submit

RE: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Scott Pham (scpham)
-Original Message- From: Adam Witney [mailto:awit...@sgul.ac.uk] Sent: Monday, March 16, 2009 3:00 PM To: The elegant MVC web framework Subject: Re: [Catalyst] Catalyst and ExtJS No, don't do that! Use $row-get_columns which returns a hash of the column data! Accessing

Re: [Catalyst] Catalyst and ExtJS

2009-03-15 Thread Peter Edwards
Adam Witney wrote on 3/14/09 9:36 AM: I was thinking about using Catalyst and ExtJS, does anyone have any experience or know if they will play nicely together? Doing some googling implies that this is not a popular combination due to the limited information It's really pretty

[Catalyst] Catalyst and ExtJS

2009-03-14 Thread Adam Witney
Hi, I was thinking about using Catalyst and ExtJS, does anyone have any experience or know if they will play nicely together? Doing some googling implies that this is not a popular combination due to the limited information thanks for any help adam

RE: [Catalyst] Catalyst and ExtJS

2009-03-14 Thread Scott Pham (scpham)
-Original Message- From: Adam Witney [mailto:awit...@sgul.ac.uk] Sent: Saturday, March 14, 2009 10:36 AM To: The elegant MVC web framework Subject: [Catalyst] Catalyst and ExtJS Hi, I was thinking about using Catalyst and ExtJS, does anyone have any experience or know

Re: [Catalyst] Catalyst and ExtJS

2009-03-14 Thread Adam Witney
On 14 Mar 2009, at 15:19, Scott Pham (scpham) wrote: -Original Message- From: Adam Witney [mailto:awit...@sgul.ac.uk] Sent: Saturday, March 14, 2009 10:36 AM To: The elegant MVC web framework Subject: [Catalyst] Catalyst and ExtJS Hi, I was thinking about using Catalyst and ExtJS

Re: [Catalyst] Catalyst and ExtJS

2009-03-14 Thread Moritz Onken
Hi Scott, thanks for the info, do you use any particular module or have you built it yourself? I have found so far: HTML::FormFu::ExtJS Catalyst-Controller-HTML-FormFu-ExtJS any you'd recommend taking a look at? thanks again adam Hi Adam, I'm the author of the above mentioned

Re: [Catalyst] Catalyst and ExtJS

2009-03-14 Thread Peter Karman
Adam Witney wrote on 3/14/09 9:36 AM: Hi, I was thinking about using Catalyst and ExtJS, does anyone have any experience or know if they will play nicely together? Doing some googling implies that this is not a popular combination due to the limited information CatalystX::CRUD::YUI uses