Are you using MyFaces or the JSF RI implementation from Sun? Think I've seen examples how to do if you're using the JSF RI implementation, but think it also should be possible with MyFaces.
FOr myFaces you would have to extend the existing portlet bridge. The Sun RI lets you define pages for the 3 modes of the spec.
(Note: you cannot change the window state when using a JSF app)
There is room for a Portlet framework that would support this ;)
Thank you everyone for the quick responses.
I'm using MyFaces.
I will view the links provided and execute your recommendations.
I will post the outcome(s).