application.page.index application.page.index.blog application.page.index.blog.archive
if ( structKeyExists(application.page,"index") and structKeyExists(application.page.index,"blog") and structKeyExists(application.page.index.blog,"archive") ) { // application.page.index.blog.archive exists }
application.page[ url.page ] application.page["index.blog"]
Bear in mind that is not equivalent to:
application.page.index.blog
When you say:
application.page[ "index.blog" ]
then you are referring to a single element of the struct application.page which just happens to have a key of "index.blog" - you are not referring to the "blog" element of the struct application.page.index (which is what the first reference is).
If we would go down another level it would be
application.page["index.blog.archive"] etc. as you can see it�can not work with structKeyExists
Again, that is a struct element in application.page rather than an element "archive" of the struct application.page.index.blog
Sean A Corfield -- http://www.corfield.org/blog/
"I have always wished that my computer would be as easy to use as my telephone. My wish has come true - I no longer know how to use my telephone."
-- Bjarne Stroustrup
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
