Application Window - Layout based on parameters...

Hi

I’m using a separate Window to process user account activations. The user basically clicks a link he/she receives in their inbox.
This link points directly to a Window in my application.

Where should the window layout code be placed if the layout is dependent on the parameters being passed in?
Currently, I’m calling my layout method from the handleParameters() method…

Thanks
Yusuf