In this page i embed a Vaddin component using iFrame approach.
My Vaddin Component basically is a button and clicking on it a popup/window comes up.
Now the problem I see here is: When i click on the button the popup comes with in that iFrame area.
I cannot increase the size of iframe big enough to show the popup properly because in that case my web page will look horrible with a small button and a large blank area around it,
Yes, iframe crops it’s content. I think, what you can do is to align application background with the web page background to hide the borders of two parts.
But can you use div technique instead of iframe ? This should solve the cropping issue.
Well yes, seems like so, reading the documentation myself too
What about using the DIV approach for the app that needs a popup window, and others with IFRAME?
Or, instead of adding a sub-window in the IFRAME (which will get clipped), add a new native window to the app, which will function like a normal browser window (you can still hide menus, statusbars etc.)?