com.smartgwt.client.docs
Interface NoFrames


public interface NoFrames

Loading the SmartGWT framework into multiple frames or iframes within the same browser is not a supported configuration, or more accurately, not a supportable configuration, for the following reasons:

None of these problems are specific to SmartGWT. They happen with Ajax frameworks in general as well as other RIA technologies. This is why no successful Ajax application has ever used the approach of double-loading a component framework into multiple frames.

The recommended 'SmartGWT Architecture' involves loading as many SmartGWT-based application views as possible in the first page load, then showing and hiding different views as the user navigates through the application.

If, for whatever reason, you cannot follow the SmartGWT Architecture and must load new SmartGWT-based views by contacting the server each time, use the ViewLoader class to load new views, never frames.

Note that the use of IFrames is appropriate in certain circumstances, including loading certain types of content within an HTMLFlow. The only prohibited usage is loading the SmartGWT framework into multiple frames within the same browser.