Yes, I'd say that Bert has it right. The inner closing </cfmodule> will have the effect of calling the home.createemailcode fuseaction twice. But I can see how the code could end up being anbiguous. Try closing the inner cfmodule off with a trailing slash as Bert has suggested, or replace the cf_bodycontent call with a simple <cfsavecontent> under CF5+.
Interesting... Let us know what you find, LeeBB ----- Original Message ----- From: Bert Dawson <[EMAIL PROTECTED]> > Would it be the end cfmodule tag making it run twice? > > <cfmodule template="../CustomTags/BodyContent.cfm"> > <cfmodule template="../index.cfm" fuseaction="Home.CreateEmailCode"> > </cfmodule> <==this end tag > </cfmodule> > > Not sure if you can close a cfmodule like: > <cfmodule template="....." /> > > If you're on CF5 then use <cfsavecontent> rather than BodyContent.cfm > > Bert > > > -----Original Message----- > > From: Rich Brant [mailto:[EMAIL PROTECTED]] > > > > I've attached some code below that is making me crazy. I must be > > overlooking something obvious, and hopefully someone can > > point it out for > > me. The essence of what is going on (which is described in > > the code below) > > is that I have a fuseaction that contains a template that > > calls another > > fuseaction in an attempt to grab all the HTML returned and > > put it in a > > textarea form field. The problem is that somehow 2 copies of > > the HTML code > > that is returned from the fuseaction is being produced. > > > > I have the code in a text file if anyone wants a > > closer/cleaner look at > > things. I am very grateful for any insight here. > > > > Thanks! > > > > Rich > > ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
