PortletApplication app = registry.getPortletApplication(paNodeBean.getApplicationName());
PortletDefinition def = PortletApplicationUtils.getPortletOrClone(app, paNodeBean.getName());
for (Iterator<Language> it = def.getLanguages().iterator(); it.hasNext(); )
{
LanguageBean tempBean = new LanguageBean(it.next());
for (IModel<LanguageBean> fieldBean : fieldBeans)
{
if (tempBean.getLocale().equals(fieldBean.getObject().getLocale()))
{
it.remove();
break;
}
}