> Trying to figure out how to use a placeholder in
> dynamic content to pull in other content at runtime.  

I would approach this by using a regular expression with some looping to
pull all of variables out of the content and put them into a list or
array.  Then, you can loop through the results, generate the content for
each variable (or discard invalid ones), then replace the variable in
the content with the generated content.  If you made a recursive process
to do the replacements, you could have variables in your generated
content as well.


-Justin Scott

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285491
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to