Hi all,
    any body know if it's possible to get, programmatically, the value of the Name 
attribute of an ancestor CFFORM tag... that is something like this pseudocode 
(simplified use),

    <CFFORM NAME="Blah" ACTION="Foo.cfm">
    
        <CFSET formName = getAncestorAttribute("CFFORM", "Name")>

    </CFFORM>


I tried using getBaseTagData("CFFORM") but apparently (in CF's words...)
"The parameter combination of function GetBaseTagData does not specify a base tag that 
exposes any data.  "

If you're wondering, it's for use in a custom tag that writes some augmented form 
fields for use in a CFFORM, sure I could pass the custom tag a FormName attribute, but 
I figure that seeing as you don't have to do <CFINPUT FORMNAME="Blah" TYPE="TEXT"....> 
that you shouldn't have to do <CF_INPUT FORMNAME="Blah" Type="IMAGE"....> either.

---
James Sleeman

Innovative Media Ltd
Ph: (03) 377 6262
http://www.websolutions.co.nz
 
CAUTION:  The information contained in this email message is confidential and may be 
legally privileged.  If the reader of this message is not the intended recipient you 
are notified that any use, dissemination, distribution or reproduction of this message 
is prohibited.  If you have received this message in error please notify the sender 
immediately and destroy the original message and any attachments. 
 
Views expressed in this communication may not be those of Innovative Media Ltd. 


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to