logger.error("segment-not-called", new Object[]{name});
throw new PAPIException(
exceptionLocalizer.format("missing-segment", name));
}
SegmentInstance segmentInstance
= (SegmentInstance) pageContext.getFormatInstance(segment,
NDimensionalIndex.ZERO_DIMENSIONS);
// the attribute values should be set on the segment attributes retrieved
// from the segment instance so that they can be used later.
com.volantis.mcs.protocols.SegmentAttributes pattributes
= segmentInstance.getAttributes();
// Copy the core attributes.
pattributes.setId(attributes.getId());
// Copy the other attributes.