From: Mathieu Baudier Date: Thu, 14 Oct 2021 09:12:09 +0000 (+0200) Subject: Set ui name in parent of the web entry point. X-Git-Tag: argeo-commons-2.3.2~29^2~6 X-Git-Url: https://git.argeo.org/?p=lgpl%2Fargeo-commons.git;a=commitdiff_plain;h=fad8d9f09e9ba262c2f807db6c3cb46e170031e1 Set ui name in parent of the web entry point. --- diff --git a/org.argeo.cms.ui.rap/src/org/argeo/cms/web/CmsWebEntryPoint.java b/org.argeo.cms.ui.rap/src/org/argeo/cms/web/CmsWebEntryPoint.java index 288069bd9..b1691cb05 100644 --- a/org.argeo.cms.ui.rap/src/org/argeo/cms/web/CmsWebEntryPoint.java +++ b/org.argeo.cms.ui.rap/src/org/argeo/cms/web/CmsWebEntryPoint.java @@ -114,8 +114,8 @@ public class CmsWebEntryPoint implements EntryPoint, CmsView, BrowserNavigationL Locale rwtLocale = RWT.getUISession().getLocale(); LocaleUtils.setThreadLocale(rwtLocale); } + parent.setData(CmsApp.UI_NAME_PROPERTY, uiName); ui = cmsWebApp.getCmsApp().initUi(parent); - ui.setData(CmsApp.UI_NAME_PROPERTY, uiName); ui.setLayoutData(CmsUiUtils.fillAll()); // we need ui to be set before refresh so that CmsView can store UI context data // in it.