GraphicElement[] envelopes = UIServices.lookup().getEnvelopesManager().getAvailableElements();
setAttribute("envelopeId", "");
setAttribute("envelopeTitle", bundle.getString("ui.admin.configuration.envelope.sameGraphicElement"));
renderFragment("outputEnvelope");
for (int i = 0; i < envelopes.length; i++) {
Envelope envelope = (Envelope) envelopes[i];
if (getSectionsPropertiesHandler().getEnvelope() != null) {
if (envelope.getId().equals(getSectionsPropertiesHandler().getEnvelope()))
setAttribute("selected", "selected");
else
setAttribute("selected", "");
}
setAttribute("envelopeId", envelope.getId());
setAttribute("envelopeTitle", LocaleManager.lookup().localize(envelope.getDescription()));
renderFragment("outputEnvelope");
}
renderFragment("outputEnvelopesEnd");
renderFragment("outputLayoutsStart");