chkal/pf-issue-test — Issue #69: Create CDI Producer for PrettyContext
Author: chkal
Created: 2012-03-06 07:28:08+00:00
State: open

Originally filed by **dominik....@gmail.com** on 2010-10-13T15:38:07

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=69

As we are talking about using the PrettyContext for status-code sending, it would be best to provide a CDI producer method/bean to get a hold on the PrettyContext, so that people don't do PrettyContext.getCurrentInstance() everywhere in their code.