Foren
How to align the iframes in liferay dynamically
A J, geändert vor 12 Jahren.
How to align the iframes in liferay dynamically
Junior Member Beiträge: 91 Beitrittsdatum: 19.09.11 Neueste Beiträge
Suppose there are two iframes in liferay, one below the other. How can I align these iframes from the code, so that the iframes come beside each other.
A J, geändert vor 12 Jahren.
RE: How to align the iframes in liferay dynamically
Junior Member Beiträge: 91 Beitrittsdatum: 19.09.11 Neueste Beiträge
Solved !!!
Check the movePortletId()
Layout layout1 = LayoutLocalServiceUtil.getLayout(themeDisplay
.getPlid());
LayoutTypePortlet layoutTypePortlet1 = (LayoutTypePortlet) layout1
.getLayoutType();
layoutTypePortlet1.movePortletId(themeDisplay.getUserId(),
portletPrimKeysList.get(index - 1).toString(),
"column-1",1);
LayoutLocalServiceUtil.updateLayout(layout1.getGroupId(),
layout1.isPrivateLayout(), layout1.getLayoutId(),
layout1.getTypeSettings());
Check the movePortletId()