@Override
protected void initializePortlet()
{
amp = new ActivityMainPane(ActivityPortletApplication.this, ActivityPortletApplication.this, bpmSession);
addListener(new RequestParameterListener(REQUEST_PARAMETER_TASK_ID) {
@Override
public void handleRequestParameters(Map<String, String[]> parameters) {
String[] values = parameters.get(REQUEST_PARAMETER_TASK_ID);
String bpmTaskId = values[0];