// additionally register() initCookie() and so on will be handled
// (within ProducerImpl and PortletDriverImpl)
windowSession = getSimplePortletWindowSession(wsrpportlet,
portletInstanceKey,
user);
final PortletDescription desc = producer.getPortletDescription(portletHandle);
coplet.setTemporaryAttribute(ATTRIBUTE_NAME_PORTLET_TITLE,
desc.getTitle());
final MarkupType markupType = desc.getMarkupTypes(0);
coplet.setTemporaryAttribute(ATTRIBUTE_NAME_PORTLET_MODES, markupType.getModes());
coplet.setTemporaryAttribute(ATTRIBUTE_NAME_PORTLET_WINDOWSTATES, markupType.getWindowStates());
} catch (WSRPException e) {
this.getLogger().error("Invoking getServiceDescription()", e);