LPS-33626 Move rootElement to portletDataContext