thank you. :) I thought of that as well (when looking at the various
variables when in debug mode) but I still wondered if there's a mach-
ii way. :)

jayel

On Sep 12, 12:14 am, "Peter J. Farrell" <[email protected]> wrote:
> There isn't any Mach-II specific way.  Usually you don't have to check,
> but if you do have to check you can check using a CFML variable in the
> cgi scope:
>
> cgi.REQUEST_METHOD
>
> Best,
> .Peter
>
> Brian FitzGerald said the following on 09/11/2009 08:01 AM:
>
>
>
> > Out of curiosity, why would you need to?  Part of the motivation
> > behind mach-ii's event driven architecture is to abstract that stuff
> > away so that you can keep your code cleaner and not have to check
> > whether something is in the url or form scope, etc., and just see if
> > it's in the event object instead.
>
> > event.isArgDefined("firstName");
>
> > However, if you really needed to know if it was a form or url variable
> > for some reason, I'm pretty sure (sorry not in front of the right comp
> > to test it right now) you could still just reference the form or url
> > scope directly from within your method just as you would in a non mach-
> > ii application.
>
> > Best,
> > Brian
>
> > On Sep 11, 1:19 am, jarthel <[email protected]> wrote:
>
> >> I know it's possible for me for check if a form has been submitted via
> >> post or get using CF functions (e.g. isdefined("form.username")). But
> >> I'm wondering if there's a mach-ii way of doing it?
>
> >> I searched the wiki, group and net in general but it seems my search
> >> criteria returns nothing useful.
>
> >> Thanks again- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to