Reputation: 2165
As far as I know this is not possible.
But...
Does anyone know how to modify the page type while running the application?
Problem:
I need a normal page to work in certain cases as a modal page. I know I can copy and create modal with the same components, but this makes it difficult to maintain ...
Thank you.
Upvotes: 2
Views: 1145
Reputation: 2098
This is probably not feasible, but you could create two Apex applications; and one of them would contain a Global Page with all your forms, controls, etc. Then you would create two pages in that application, one modal, one normal. All the components on the Global Page render on every page in that application. Then your other application would link to the appropriate page.
You would need to manage session sharing, etc. but it could be possible.
Upvotes: 1