opensubscriber
   Find in this group all groups
 
Unknown more information…

c : cf-talk@houseoffusion.com 25 July 2012 • 7:49AM -0400

RE: simple question...cfmodule
by Eric Roberts

REPLY TO AUTHOR
 
REPLY TO GROUP





Alan,
I didn't think anything was wrong...it's just really odd behavior.  I
believe it's CF7 and no...no end tag.  The custom tag is controlled by a
case statement.  I'll have to try the if's.  I have hjust been banging my
head agaisntt he desk for the past few hours trying to figure out why the
value isn't getting passed.

Jonah,
  Yes...and I didn't see them either.  I know for fact it is the cfmodule
tag getting executed because I can change the contents of the variables that
are getting passed, oddly enough.  As far as I know, clientid is not a
reserved word.  It is being used in another scope as part of a struct and
that works fine



Eric Roberts
Owner/Developer
Three Ravens Consulting
owner@thre...
http://www.threeravensconsulting.com
tel:
630-881-1515






-----Original Message-----
From: Alan Rother [mailto:alan.rother@gmai...]
Sent: Tuesday, July 24, 2012 5:51 PM
To: cf-talk
Subject: Re: simple question...cfmodule


Hmm... There's nothing particularly weird about your tag...

Are you literally doing  <cfdump var="#attributes#"> and not seeing the
value?

Also, what version of CF, is there a closing cfmodule tag and are you using
any isolation in your module itself?

You can isolate your cfmodule code by checking for which part of the
cfmodule tag has been called like so

<cfif THISTAG.ExecutionMode IS "Start"></cfif> Anything inside this CFIF
would get executed when the CF processor hits the opening cfmodule tag

<cfif THISTAG.ExecutionMode IS "End"></cfif> Anything inside this CFIF would
only get executed IF and WHEN CF processed a closing tag or if the opening
cfmodule tag was self closed <cfmodule />


Just as a baseline, add some other random attribute to the cfmodule, like
foo=9 to see if it's making it through.

On Tue, Jul 24, 2012 at 2:43 PM, Eric Roberts <
owner@thre...> wrote:

>
> <cfmodule
> template="#application.paths.includes#/meeting/MeetingFunctions.cfm"
>         action="GetSingle"
>         mode="full"
>         meetingID="#variables.meetingID#"
>         clientID="#variables.clientID#"
>         r_stMeeting="stMeeting">
>
>
> ClientID doesn't come across as an attribute...
>
> I do see the other attributes and they have the expected values.
>
> Eric Roberts
> Owner/Developer
> Three Ravens Consulting
> owner@thre...
> http://www.threeravensconsulting.com
> tel:
> 630-881-1515
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Alan Rother [mailto:alan.rother@gmai...]
> Sent: Tuesday, July 24, 2012 4:25 PM
> To: cf-talk
> Subject: Re: simple question...cfmodule
>
>
> Hey Eric,
>
> You shouldnt need to restart - can you show us the code you're using?
>
> --
> Alan Rother
> Manager, Phoenix Cold Fusion User Group, www.AZCFUG.org
> Twitter: @AlanRother
>
>
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351986
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.