Re: [Catalyst] subrefs in Formbuilder plugin configuration file?

2006-10-24 Thread Nate Wiger
John Napiorkowski wrote: Hi, In some of the Formbuilder documentation for the configuration file I get the impression that a subroutine or subref can be called. I get this from looking at the documentation for: "http://search.cpan.org/~nwiger/CGI-FormBuilder-3.0401/lib/CGI/FormBuilder/Source/Fi

Re: [Catalyst] FormBuilder missing disabled fields after submit

2006-09-28 Thread Nate Wiger
Ulrich Leodolter wrote: > hi, > > i am using Catalyst::Plugin::FormBuilder for my input forms. > > optionally i need to make some input fields readonly (not hidden) > so i disabled the fields (disabled => 1) > the input form looks ok und the fields are disabled (actually readonly) Try using stat

Re: [Catalyst] Formbuilder Plugin: are the $c->form->fields from the config.fb or from the query params?

2006-09-25 Thread Nate Wiger
John Napiorkowski wrote: > Hi, > > According to the documentation for Formbuilder, you > can use $c->form->field to retrieve a listing of all > the field names and values. My question is this; is > this hash filtered against your *.fb configuration > file or will it be populated from anything tha

Re: [Catalyst] Invoke *complete* subrequests in Catalyst?

2006-09-19 Thread Nate Wiger
Matt S Trout wrote: > Nate Wiger wrote: >> I'm building an AJAX app with FormBuilder, and want to use it to embed >> multiple forms in a page (each of which would be linked to a different >> action and submitted using JQuery). I've found I can do this, but I'

[Catalyst] Invoke *complete* subrequests in Catalyst?

2006-09-19 Thread Nate Wiger
Is there a way to invoke a complete subrequest, with a complete request cycle, in Catalyst? I've tried the Plugin::SubRequest and it's a step in the right direction, but what I need is something that allows complete prepare()/finalize() functionality. I'm building an AJAX app with FormBuilder,

Re: [Catalyst] Problem with $c->log always on

2006-09-12 Thread Nate Wiger
Matt S Trout wrote: > Nate Wiger wrote: >> It looks like $c->log is always on in a given Catalyst plugin. I have >> simple, standard code like this: >> >> $c->log->debug("some message"); >> $c->log->debug(Dumper(\%hash)) if $c->

[Catalyst] Problem with $c->log always on

2006-09-12 Thread Nate Wiger
It looks like $c->log is always on in a given Catalyst plugin. I have simple, standard code like this: $c->log->debug("some message"); $c->log->debug(Dumper(\%hash)) if $c->log->is_debug; When I dump out the $c->log->is*, all of them return true (actually, 1/4/16 depending on the level,

Re: [Catalyst] Spending time with Catalyst (slightly OT)

2006-09-11 Thread Nate Wiger
Roman wrote: > Matthieu Codron wrote: >> I knew about YUI but I kind of overlooked it ... As for jQuery, you >> still need to code a lot, isn't it? >> >> Thanks a lot, and keep the good tips coming ;-) > > Yes, you need to code, but not a lot. There is a lot of abstraction and > also an easy way

Re: [Catalyst] Deep copying (was: A couple questions...)

2006-09-07 Thread Nate Wiger
Dylan Vanderhoof wrote: > > First question, is it possible to deep-copy a structure using TT? Check Storable's dclone, or search CPAN for "clone". Or, use this for simple structures: # Anon copies of arrays/hashes # Based on deep_copy example by merlyn # http://www.stonehenge.com/me

[Catalyst] Using exceptions in Catalyst?

2006-08-23 Thread Nate Wiger
I'm wondering what people think the "best practices" are for handling exceptions in Catalyst. The project I'm working on has a number of modules by different programmers, and not all are written within Catalyst (ie, they are external modules). Is it best to have these throw exceptions, then cat

Re: [Catalyst] multiple row entry

2006-08-22 Thread Nate Wiger
Alan Humphrey wrote: > All – > > I have a UI problem that I’d like to see how other people deal with. > Using the CDs example, imagine a data input page containing fields for > the following: > > CD title > > Artist(s) > > Tracks > > There’s one title, 1 or more artists and 1 or more tracks

Re: [Catalyst] how to get started?

2006-08-21 Thread Nate Wiger
Carl Franks wrote: > On 21/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> I've been trying for days to install Catalyst and haven't gotten >> far. I've tried both "perl -MCPAN 'install Task::Catalyst'" and >> cat-install and they both fail with many errors in various >> prerequisite module

Re: [Catalyst] Catalyst FormBuilder plugin on CPAN

2006-08-18 Thread Nate Wiger
Matt S Trout wrote: > Nate Wiger wrote: >> If you can send me a pointer to writing a controller base class, I'll >> certainly check it out. I didn't consider this an option, to be honest. >> I was trying to model it after XMLRPC, which is nice and easy to load >

Re: [Catalyst] Catalyst FormBuilder plugin on CPAN

2006-08-17 Thread Nate Wiger
Kevin Monceaux wrote: > On Wed, Aug 16, 2006 at 05:14:42PM -0700, Nate Wiger wrote: > >> I just now uploaded Catalyst::Plugin::FormBuilder to CPAN, which adds >> support for FormBuilder in Catalyst. > > Has Catalyst::Plugin::FormBuilder been tested with Catalyst

Re: [Catalyst] Catalyst FormBuilder plugin on CPAN

2006-08-17 Thread Nate Wiger
Matt S Trout wrote: > Nate Wiger wrote: >> All- >> >> I just now uploaded Catalyst::Plugin::FormBuilder to CPAN, which adds >> support for FormBuilder in Catalyst. It's also available here: >> >> http://www.formbuilder.org/download/Catalyst-Plugin-FormB

[Catalyst] Catalyst FormBuilder plugin on CPAN

2006-08-16 Thread Nate Wiger
[% form.statetags %] [% form.end %] Thanks for Catalyst, it's great! And it was extremely easy to get FormBuilder plugged in. I'm a convert. (If anyone has suggestions on the plugin, please let me know). Cheers, Nate Wiger FormBuilder Author www.formbuild