>In another post, I asked about adding pages programatically. Now I have a related problem. I want these pages to have code in their activate methods.
>
>How can I programatically add code to a newly created page?
>
>Thanks,
>
>-Michelle
You could try to create custom page class programmatically (sorry, visual designer is not a help here) and instanciate page objects from this class. However, maybe it would be easier for you to have all necessary pages at once and just enable/disable them? You can even make them visible/invisible, though it will take some 'extra code'.
Edward Pikman
Independent Consultant