Re: [T5] Dynamic Image component re-runs the full page lifecycle

2007-08-21 Thread Nick Westgate
If I understand you correctly (the code == 1000 words) we did a similar thing for a dynamic XML source - just made a new page for the component's data source and returned the XML from onActivate. Chers, Nick. Josh Canfield wrote: I thought I had a pretty slick dynamic image component using

Re: [T5] Dynamic Image component re-runs the full page lifecycle

2007-08-21 Thread Josh Canfield
Yep, sounds like you understand correctly. I yanked the onImage event out of the component and put it into the onActivate of a new page (ViewImage) and replaced the actionlink with a pagelink. That works great and it also has the added benefit of providing a better browser caching experience