Re: [Mason] filtering

2008-02-26 Thread Otto Hirr
Could spelling be the problem ie 'language' ne 'langauge' > Ryan wrote: > > in my autohandler I have this filter block to convert English to > > Spanish: > > > > <%filter> > > if ($session{langauge} eq "espagnol" ){ > > if $session{langauge} eq "espagnol" it doesn't filter. If > > What's the p

Re: [Mason] DRY principle and Edit/Create forms

2008-02-05 Thread Otto Hirr
> On Tuesday, February 05, 2008, Dave Rolsky wrote: > On Tue, 5 Feb 2008, Jeremy Blain wrote: > > I use HTML::FillInForm in a filter block for this, works great. > Me too, though I use a comp-call-with-content: ><&| /lib/fill-in-fill.mas, form_data => \%data &> > > > Since Mason h

Re: [Mason] def sub in components?

2008-02-05 Thread Otto Hirr
> From: BenRifkah Bergsten-Buret [mailto:[EMAIL PROTECTED] > Massive headaches. Yup, I've been working on this, but I think I do have solution, somewhat like you suggest below. Background: I'm building common widgets, that I want to grow increasingly in abstraction. I wanted a _common_ mechanism

[Mason] def sub in components?

2008-02-04 Thread Otto Hirr
Greetings, What are the implications of trying to define subs in a component. Example: the <%once> and <%init> sections may want to do part of the same thing, so you define a sub in <%once> call it, and also call it in <%init>. Should this work correctly? Or is it that the closure of <%once> and

Re: [Mason] widget libraries & practices

2008-01-28 Thread Otto Hirr
;label" field 3) a "input" or "display" field It may be either stacked, where the label sits above the input/display field, or side by side, eg: First Name: Last name: +---++---+ | Otto || Hirr | +---++---+

[Mason] widget libraries & practices

2008-01-28 Thread Otto Hirr
Greetings, Is there a widget library around or a set of best practices, recommendations? This info may be nice to put up on masonhq... Anyone interested in discussing widget library development? (note in particular with use with mason, not in generic sense) Best regards, ..Otto <>-

[Mason] Apprentice-0.2.tar.gz missing Build.PL?

2006-09-23 Thread Otto Hirr
The INSTALL states: |Start the installation with the following command: | perl Build.PL However Build.PL does not exist. It is not in the MANIFEST. Yes, I have all the pre-reqs installed. What am I missing... either file(s) or a concept... Thanks, ..Otto -