For everyone interested, I fixed my problem with the nested CFMODULE tags.
Thank you very much James Sleeman for your help.  

The solution is two-fold.  First, Cold Fusion has a bug that truncates the
last character of the custom tag so when my custom tag file name is
"buttons.cfm" the CFMODULE tag name becomes "button."  Second, when using
CFASSOCIATE to associate a child tag with its parent tag (which are both
CFMODULE calls), you need to prepend CF_ to the custom tag name.  Therefore,
the CFASSOCIATE tag becomes

<CFASSOCIATE BASETAG="CF_BUTTON">

Thanks again for your help with this James,


--
Reuben Poon
Programmer
PINT - Powell Internet

Tel: 858.270.2086
Fax: 858.270.0410
[EMAIL PROTECTED]

http://www.pint.com
http://www.democompany.com




Has anyone used nested CFMODULE tags in a parent/child relationship?

For example:
<CFMODULE TEMPLATE="file1">
  <CFMODULE TEMPLATE="file2" />
</CFMODULE>

I keep getting this error:

The base tag specified, BUTTONS, does not expose any data. Therefore the
current custom tag cannot be associated with it. The likely cause of the
error is that:

no base BUTTONS tag has been provided, or,
the base tag specified is not a custom tag
The error occurred while processing an element with a general identifier of
(CFASSOCIATE), occupying document position (13:1) to (13:31). 


If I use a normal custom tag instead of CFMODULE like:
<CF_file1>
  <CFMODULE TEMPLATE="file2" />
</CF_file1> 

I don't get any errors.

--
Reuben Poon
Programmer
PINT - Powell Internet

Tel: 858.270.2086
Fax: 858.270.0410
[EMAIL PROTECTED]

http://www.pint.com
http://www.democompany.com
----------------------------------------------------------------------------
--
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