Managed bean in viewScope(xpage)

I can add custom managed beans to session, database and request scopes. When i try to add managed bean to view scope in faces-config.xml: session

xpage gives error:

com.ibm.xsp.FacesExceptionEx: Invalid context factory.

Am i doing something wrong or is it currently possible to “bind” managed bean to view scope?