The action of the form should still point to the index file.
ie. <cfform name="login" method="post" action="index.cfm?method=FormAction">
and the custom tag call is within your index file. ie
<cfswitch expression="#attributes.method#">
<cfcase value="FormAction">
<cf_tagNameHere attribute1=1 attribute2=2>
</cfcase>
</cfswitch>
> -----Original Message-----
> From: Joyce Evans [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 18, 2002 5:05 PM
> To: Fusebox
> Subject: RE: calling custom tag based on form action??
>
>
> hello and thanks. I actually have tried both conventions for calling a
> customtag, <cf_tagNameHere attribute1=1 attribute2=2> AND
> using cfmodule but
> how does this tie into the action of the form?? Since a
> custom tag is just a
> CF template maybe I can just do this:
>
> <cfform name="login" method="post" action="/customTagDir/tagName.cfm">
>
> provided I have mapped my customTagDir. Theoretically it should wok,
> shouldn't it but maybe mapping my customTagDir poses a security risk.
>
> Thoughts??
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 18, 2002 1:14 PM
> To: Fusebox
> Subject: RE: calling custom tag based on form action??
>
>
> If it is properly designed, you should be able to call it
> using a cfmodule
> tag.
>
> <cfmodule template="/path/customtag.cfm" attribute1=1
> attribute2=2></cfmodule>
>
> Rick
>
> -----Original Message-----
> From: Joyce Evans [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 18, 2002 2:58 PM
> To: Fusebox
> Subject: calling custom tag based on form action??
>
>
> Hello,
>
> Trying to figure out how to call a customtag for
> authentication (I wrote),
> which then call other custom tags, based on a form action.
> Using fusebox2, windoze NT 4.0, SP 6a, IIS4, CF 4.5.1 SP1 .
>
> Trying NOT to do this :
>
> <cfform name="login" method="post"
> action="/login/index.cfm/#request.fusetoken#/">
>
> which would make it will be necessary to have a login
> directory with an
> index.cfm with fuses that call the customtag. Want to just be
> able to call
> my custom tag and pass in a few parameters. Had the
> application running
> using fusebox but need to only refer to the custom tag now. I
> have rewritten
> this thing about 6 times and am running out of ideas about
> how to approach
> this.
>
> Suggestions??
>
> Joyce E. Evans
> Web Systems Developer
>
> Spectra Logic Corporation
> 1700 North 55th Ave
> Boulder, CO 80301
> 303-449-6444 x1319
> www.spectralogic.com
>
>
>
>
>
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists