This <cfform name="login" method="post" action="/customTagDir/tagName.cfm"> will not work. The mapping is not going to make any difference when using a cfform. cfform only give you cf validation and other cf features, but the action is still just a url path. You can use the mapping for cfmodule or just use the cf_customtag syntax. For your example, it sounds like you want to pass the form attributes to the custom tag. I would not do this directly, instead I would send the form to /index.cfm?fuseaction=dologin and in that fuse include a action file that has the cfmodule in it using the attributes passed via the form. Make sense?
Rick -----Original Message----- From: Joyce Evans [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 4: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
