-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1 EE SP5 (5.1.8), 5.2 EE SP3 (5.2.7)
-
Fix Version/s: 5.1 EE SP6 (5.1.9), 5.2 EE SP4 (5.2.8)
-
Component/s: Legacy Components > API
-
Labels:None
-
Environment:All
A set of new convenience methods has been added to the Layout model that can be used to determine the layout's type.
public boolean isTypeArticle()
public boolean isTypeControlPanel()
public boolean isTypeEmbedded()
public boolean isTypeLinkToLayout()
public boolean isTypePanel()
public boolean isTypePortlet()
public boolean isTypeURL()
The isTypeControlPanel() method is not available in the 5.1 EE.
Where appropriate, the portal code has also been updated to make use of these new methods.
- is related to
-
LPS-8989 Add convenience methods for layout.isTypePanel(), isTypeControlPanel(), isTypePortlet(), etc.
- Closed