[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Re: suggestion for ::FillInForm shortcut


On 2005-08-22, Michael Peters <suppressed> wrote:
>
>> Too magical ?
>
> I don't think it's too magical. This is essentially what ::ValidateRM
> does to right?

You are right. It would simply be consistent, which is a good thing.

ValidateRM uses a /method name/, not a /run mode name/. Although they
are the same thing nearly all the time, using a run mode name is more
flexible, since it can call anonymous subroutines and works with
::Forward.

So for those small percentage of cases, I think we should be
inconsistent with ::ValidateRM by using the run mode name here instead
of the method name.

Since this is a new feature, we can also add in the ::Forward behavior
in the initial version, which should provide better support for
automatic templating naming in the target run mode.

    Mark


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.