cfloop array=#MyArray# index="myIndex"
Wednesday, January 16, 2008
To go through an array one can use:
Wednesday, January 09, 2008
Scoping
Sometimes you need to catch events from an itemRenderer, but most likely you'll get "call to a possible undefined function" error. That is because the itemRenderer has a different scope than other objects on the page and does not see any of the page's code. Instead of using this:
you should use the following:
Sometimes you need to catch events from an itemRenderer, but most likely you'll get "call to a possible undefined function" error. That is because the itemRenderer has a different scope than other objects on the page and does not see any of the page's code. Instead of using this:
event="{eventHandler();}"
you should use the following:
event="{outerDocument.eventHandler();}"
Subscribe to:
Posts (Atom)