easiest thing to do would be to check out www.fusebox.org

----- Original Message -----
From: "Paul Ihrig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 19, 2000 7:20 AM
Subject: RE: Question on FuseBox model ::: ? :::


> can some one explain to me what this is?
> is it a way of keeping code predictable[i mean logical] & clean.
> or is it an add on app for CF.
>
> Is it worth learnning?
> thanks
> -paul
>
> > -----Original Message-----
> > From: Pete Freitag [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 18, 2000 10:54 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Question on FuseBox model
> >
> > If your form method is post you can pass the fuseaction in the form
> > action,
> > like this...
> >
> > <form action="index.cfm?fuseaction=whatever" method="post">
> > <input type="text" name="test">
> > </form>
> >
> > url.fuseaction
> > form.test
> > That way the fuseaction retains the url scoping, and a
> > <cf_formurl2attributes> call is not required.
> >
> > _______________________________________________
> > Pete Freitag
> > CFDEV.COM
> > Cold Fusion Developer Resources
> > http://www.cfdev.com/
> > -----Original Message-----
> > From: Fred Sanders [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 18, 2000 9:33 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Question on FuseBox model
> >
> >
> > Pass it as a hidden field.
> >
> > <form action="index.cfm" method="post">
> > <input type="hidden" name="fuseaction" value="whatever">
> > ...
> >
> > Fred T. Sanders
> > Galveston Island, TX
> > ------------------------------
> > Having a bad day?
> > Imagine this...
> >
> > You are in total seclusion from that hectic place called "The World".
> > The soothing sound of a gentle waterfall fills the air with a cascading
> > serenity.
> > The water is clear.
> > You can easily make out the face of the person you are holding
underwater.
> >
> > Feeling better?
> >
> >
> > ----- Original Message -----
> > From: "aslam bajaria" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, April 18, 2000 7:50 PM
> > Subject: Question on FuseBox model
> >
> >
> > > I am trying to learn the fusebox model. I have a
> > > created a file called index.cfm.
> > >
> > > That file has a switch statement.
> > >
> > > The question I have is that if I have a file that  has
> > > a form, then how do I submit that form so that the
> > > index.cfm file can include the right action page.
> > >
> > > The only way I know so far is that I say something
> > > like
> > >
> > > <cfif form.state="CA">...
> > > But,
> > > I think that in fusebox model you say:
> > >
> > > <cfswitch expression="#attributes.fuseaction#">
> > >
> > >      <cfcase value="00">
> > > <cfinclude template="testing.cfm">
> > >      </cfcase>
> > >
> > > and so on.
> > >
> > > What code do I write in the form page that when the
> > > user clicks 'Submit', a fuseaction value is passed to
> > > the index.cfm page.
> > >
> > > Thank you.
> > > Mirza
> >
>
> --------------------------------------------------------------------------
> > ----
> > Archives: http://www.eGroups.com/list/cf-talk
> > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
> > send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
> > the body.
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to