Issue
- The UI allows you to determine whether a page inherits its parent's theme or has a custom theme applied.
- However, the
Layout
table does not contain a field specifying theme inheritance. - Then, what criteria are used to determine theme inheritance for a page?
Environment
- Liferay DXP 2024.Q2
Resolution
- Have a look at the
[ENTITY]Impl.java
class, i.e.,LayoutImpl.java
. - There you can find this method:
isInheritLookAndFeel()
. See LayoutImpl.java#L1172-L1188. - As you can see, both
themeId
andcolorSchemeId
fields are considered.
会員限定記事
Liferay エンタープライズ サブスクリプションをお持ちのお客様は1500件を超えるベストプラクティス、トラブルシューティング、その他のソリューション記事を閲覧できます。ログインすると、記事全体をお読みいただけます。
ログイン