How do we limit the number of views in session in a jsf application using myfaces and richfaces ? Setting context param for org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION does not work(this works for a myfaces application without richfaces).