import org.eclipse.rap.rwt.application.Application;
import org.eclipse.rap.rwt.application.ApplicationConfiguration;
import org.eclipse.rap.rwt.application.ExceptionHandler;
+import org.eclipse.rap.rwt.application.Application.OperationMode;
import org.eclipse.rap.rwt.client.WebClient;
import org.eclipse.swt.widgets.Display;
import org.osgi.framework.BundleContext;
@Override
public void configure(Application application) {
+ // TODO make it configurable?
+ // SWT compatibility is required for:
+ // - Browser.execute()
+ // - blocking dialogs
+ application.setOperationMode(OperationMode.SWT_COMPATIBILITY);
for (String uiName : cmsApp.getUiNames()) {
CmsTheme theme = cmsApp.getTheme(uiName);
if (theme != null)
if (log.isDebugEnabled())
log.info("Added web entry point " + (contextName != null ? "/" + contextName : "") + entryPointName);
}
- if (log.isDebugEnabled())
- log.debug("Published CMS web app /" + (contextName != null ? contextName : ""));
+// if (log.isDebugEnabled())
+// log.debug("Published CMS web app /" + (contextName != null ? contextName : ""));
}
CmsApp getCmsApp() {