Is it possible to get the name of the component that an entity belongs too? E.g. something like:

Delegator delegator = (Delegator) request.getAttribute("delegator");
ModelReader reader = delegator.getModelReader();
ModelEntity entity = reader.getModelEntity("myEntity");
// return the name of the component that an entity belongs to
String entityComponent = entity.getComponentName();

Many thanks in advance,

Chris

Reply via email to