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();}"
No comments:
Post a Comment