Apply portlet to the element