in tiles-request-portlet/src/main/java/org/apache/tiles/request/portlet/PortletRequest.java [325:336]
public Map<String, Object> getContext(String scope) {
if(REQUEST_SCOPE.equals(scope)){
return getRequestScope();
}else if("session".equals(scope)){
return getSessionScope();
}else if("portletSession".equals(scope)){
return getPortletSessionScope();
}else if(APPLICATION_SCOPE.equals(scope)){
return getApplicationScope();
}
throw new IllegalArgumentException(scope + " does not exist. Call getAvailableScopes() first to check.");
}