// Wrap the portlet defintion every request thread
PortletDefinition fpd = (PortletDefinition)fragmentPortletDefinition.get();
if (fpd == null)
{
fpd = new FragmentPortletDefinition(this.portletDefinition, fragment);
fragmentPortletDefinition.set(fpd);
}
return fpd;
}