- The app you are trying to portlet-ize should not care whether it is in a portlet or not.
- The app you are trying to portlet-ize should not have to do the resizing, because that requires that all actions in the app that could affect its size need to call the refresh methods that set the URL target of themselves that the parent is watching in order to relay the new height and/or width.
Tuesday, April 6, 2010
Gotchas for Cross-domain Portlets via iFrames
We explored the available (Google-able) cross-domain iframe solutions a few months ago to see if using iFrames for cross-domain apps we would want to run as portlets would be a good idea. But the problem is that in most cross-domain hacks the iframed webapp must initiate the resizing of its parent container via changing its target link. You can imagine how that would cause some issues: