// if there is a pagemap name specified and multiwindow support is on
if (getPageMapName() != null)
{
// try to find out whether the pagemap already exists
Session session = Session.get();
if (session.pageMapForName(getPageMapName(), false) == null)
{
deletePageMap = true;
}
parameters.setPageMapName(getPageMapName());
}