324325326327328329330331332333334
} else { PortletContext modifiedCtx = marshall(context.getPortletId(), newPrefs); StateEvent event = new StateEvent(modifiedCtx, StateEvent.Type.PORTLET_MODIFIED_EVENT); instanceCtx.onStateEvent(event); } break; } case READ_ONLY: {