0

my nested custom tag is bi- (directional that is)

ColdFusion

I think the following example may show the PARENTTAG functionality Ben Nadel was hoping for in his response to my comment on http://www.bennadel.com/index.cfm?dax=blog:645.view ... let me know if it needs any clarification  ;)

index.cfm

IntelligentForm.cfm

IntelligentInput.cfm

 

tags:
ColdFusion
Ben Nadel said:
 
This looks pretty good. However, wouldn't it be cool if you could replace this:




... with:



.. or something like that. Your example using HTML rendering, which ties the child tag very closely to the parent tag. However, imagine a situation where the duty of the child tag was JUST to collect attribute data. Then you could have a that has no output-specific functionality... then you could use cf_item on potentially several different parent tags (in which case you would NOT know the CFAssociate value to use.

... this might be a horrible idea... but I think it might open the door for some really cool innovation.
 
posted 946 days ago
Add Comment Reply to: this comment OR this thread
 
 
sorry, looks like instantspot removes code from comments :(

wanna try codeShare - http://codeshare.ulatu.com/, and then paste in the link to your comment?
 
posted 946 days ago
Add Comment Reply to: this comment OR this thread
 
Rich Rein said:
 
Without too much digging, I would imagine that you could add an attribute to your generic child tag of something like "parentTagName", require the value, and then use that variable in your cfassociate tag instead of the literla parent tag name???
 
posted 946 days ago
Add Comment Reply to: this comment OR this thread
 

Search

Aaron  Longnion

The Hague, NL