CustomizeSetAction.buildList(rundata, Registry.SECURITY));
context.put("entry", portletEntry);
MediaTypeRegistry mediaTypeReg = (MediaTypeRegistry)Registry.get(Registry.MEDIA_TYPE);
context.put("media_types", iteratorToCollection(mediaTypeReg.listEntryNames()));
if(portletEntry.getType() != null && portletEntry.getType().equals("ref"))
{
PortletEntry parentEntry = (PortletEntry) Registry.getEntry(Registry.PORTLET, portletEntry.getParent());
if(parentEntry == null)