Re: [Catalyst] Could I see a sample apache-style config file?

2007-08-21 Thread Bogdan Lucaciu
bled across short examples.  I'm using http://search.cpan.org/perldoc?Config::General -- Bogdan Lucaciu http://www.wiz.ro ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http:

Re: [Catalyst] Command-line utility using Controller - examples?

2007-07-13 Thread Bogdan Lucaciu
; "Model" class encapsulates thinly). Or, if you -really- -actually- need controller logic in an external script, please explain what are you actually trying to achieve and we can think of a nice solution :) -- Bogdan Lucaciu http://www.wiz.ro _

Re: [Catalyst] Re: Form validation in insert() and update()?

2007-05-20 Thread Bogdan Lucaciu
dled by /order/new I usually redirect to /order/15 with the flash message. I think there's plenty of room in the URL for the altered/created object's primary key -- Bogdan Lucaciu http://www.wiz.ro ___ List: Catalyst@lists.ra

Re: [Catalyst] email

2007-05-08 Thread Bogdan Lucaciu
On Tuesday 08 May 2007 10:23:06 Tobias Kremer wrote: > Zitat von Bogdan Lucaciu <[EMAIL PROTECTED]>: > > the name is (now) "Learning Perl Objects, References, and Modules" > I think it's the other way round. The name is NOW "Intermediate Perl": dang

Re: [Catalyst] email

2007-05-08 Thread Bogdan Lucaciu
On Tuesday 08 May 2007 03:55:31 Kieren Diment wrote: >  "Intermediate  Perl" the name is (now) "Learning Perl Objects, References, and Modules" http://www.oreilly.com/catalog/lrnperlorm/ -- Bogdan Lucaciu http://www.wiz.ro ___

Re: [Catalyst] Problem with RenderView

2007-05-04 Thread Bogdan Lucaciu
On Friday 04 May 2007 18:24, Bernhard Graf wrote: > Bingo! I wasn't aware of this "current_view" variable. Well I told you about it in my first mail. And my second. Ignored it , twice. -- Bogdan Lucaciu http://www.wiz.ro

Re: [Catalyst] Problem with RenderView

2007-05-04 Thread Bogdan Lucaciu
; You can read about it here: > > http://search.cpan.org/perldoc?Catalyst#%24c-%3Eview(%24name) > > $c->view() uses a default_view class if configured. no it doesn't. At least not initially, that's the last thing it tries :) -- Bogdan Lucaciu http://www.wiz.ro

Re: [Catalyst] Problem with RenderView

2007-05-04 Thread Bogdan Lucaciu
ler and not from the view? like this: package Foo::View::Moo; sub process { # build csv/xml/etc # set headers # c->write it } package Foo::Controller::Bar; sub moo : Local { ... $c->stash->{data} = $data; $c->stash->{current_view} = 'Moo'; } RenderView doesn't

Re: [Catalyst] Problem with Catalyst::Manual::Tutorial::CatalystBasics tutorial

2007-04-10 Thread Bogdan Lucaciu
On Tuesday 10 April 2007 14:18, Imran Chaudhry wrote: >    ERROR        => 'error.tt2', try removing this , it will make TT silently ignore any template errors. -- Bogdan Lucaciu http://www.wiz.ro ___ List: Catalyst@lists.rawmode.or

Re: [Catalyst] Problems in make tests of Catalyst::Controller::FormBuilder 0.03

2007-03-21 Thread Bogdan Lucaciu
t line 11 > t/01-basic.NOK 2 > #   Failed test 'Form found' > #   in t/01-basic.t at line 14. > FAILED--Further testing stopped: Can't do anything without a form > make: *** [test_dynamic] Error 9 >   /usr/bin/make test -- N

Re: [Catalyst] Changing the request->user_agent

2007-03-20 Thread Bogdan Lucaciu
org/dist/WWW-Mechanize/lib/WWW/Mechanize.pm#%24mech-%3Eagent_alias(_%24alias_) I'm sure this works with Test::WWW::Mechanize::Catalyst as well -- Bogdan Lucaciu http://www.wiz.ro ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org

Re: [Catalyst] putting an object in the stash

2007-03-13 Thread Bogdan Lucaciu
umn; > > } > > I have tried that, but it gave the following error: > > Can't locate object method "columns" via package "DBIx::Class::ResultSet > > What am I doing wrong? it's $resultset->result_source->columns -- Bogdan Lucaciu http://www

Re: [Catalyst] Localizing Perl Catalyst applications

2007-02-15 Thread Bogdan Lucaciu
On Thursday 15 February 2007 12:58, Perry Valdez wrote: > Are there any good Catalyst modules I can use for this? http://www.catalystframework.org/calendar/2006/18 -- Bogdan Lucaciu http://www.wiz.ro ___ List: Catalyst@lists.rawmode.org Listinfo: h

Re: [Catalyst] looping

2007-02-12 Thread Bogdan Lucaciu
On Monday 12 February 2007 22:15, Will Smith wrote: >  my $recordset = [$c->model('myDB::Books')->search( authorid => > "${authorid}" )]; while(my $name = $recordset->next){ what's whith the square brackets [] ? $recordset is not an object, just an ar

Re: [Catalyst] Howto combine Catalyst(and TT) developers and Dreamweaver web designers?

2007-01-27 Thread Bogdan Lucaciu
where the designers hang lib/wrapper.tt #misc blocks the designers can include in the sidebar/header lib/blocks/newsfeed.tt lib/blocks/poll.tt #each action, wrapped by wrapper.tt actions/name/space/action.tt teach them about [% PROCESS %] and [% WRAPPER %] -- Bogdan Lucaciu http://w

Re: [Catalyst] creating binaries

2007-01-17 Thread Bogdan Lucaciu
gt; I think what I want could be done, and in that case Catalyst would be used > in more other fields than the standard web pages. this is what some people refer to as "trolling". (High quality trolling even) Please end this thread, or at least try to keep legal/marketing/phi

Re: [Catalyst] info basic stash problem...maybe i am too tired this sunday

2007-01-14 Thread Bogdan Lucaciu
On Sunday 14 January 2007 20:30, Igor Longagnani wrote: > [% allegati.currentkey %] try allegati.$currentkey $ is the way to clarify this (otherwise ambigous) construct. read http://www.template-toolkit.org/docs/plain/Manual/Variables.html#Variable_Interpolation -- Bogdan Lucaciu h

Re: [Catalyst] $c->res->redirect and $c->detach

2006-09-18 Thread Bogdan Lucaciu
http://search.cpan.org/~mramberg/Catalyst-Action-RenderView-0.04/lib/Catalyst/Action/RenderView.pm You still have to do the detach , of course. -- Bogdan Lucaciu <[EMAIL PROTECTED]> ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawm

Re: [Catalyst] Generate a URL for a given action

2006-08-31 Thread Bogdan Lucaciu
is stuff. I know I can get the capture string via: > $c->request->captures->[$level]. Ideally I wouldn't have to hard code > so much controller specific stuff here. > try $c->uri_for($c->controller('Foo::Bar')->action_for('action_name')); (acti

Re: [Catalyst] Force server to send data to browser....

2006-08-30 Thread Bogdan Lucaciu
> it's running, like forcing the server to send info every so often? check this thread. http://lists.rawmode.org/pipermail/catalyst/2006-June/008315.html -- Bogdan Lucaciu <[EMAIL PROTECTED]> ___ List: Catalyst@lists.rawmode.org Listinfo

Re: [Catalyst] Forms and Plugins and Tutorials, oh my!!

2006-08-17 Thread Bogdan Lucaciu
amp; tinyMCE, tinyMCE is active, fckeditor is > commented out) except, fckeditor also has an image manager and a link manager that require some serverside code afair :) -- Bogdan Lucaciu <[EMAIL PROTECTED]> ___ List: Catalyst@lists.rawm

Re: [Catalyst] HTML::Widget styling

2006-07-28 Thread Bogdan Lucaciu
set it as your container like this: http://search.cpan.org/~cfranks/HTML-Widget-1.07/lib/HTML/Widget/Element.pm#%24self-%3Econtainer_class(%24class) You can even set it for all your elements: HTML::Widget::Element->container_class('TestContainer'); have fun -- Bogdan Lucaciu <[