Hacks#isMyFacesUsed() should take into account FacesContextWrapper #362

Closed
BalusC opened this Issue Mar 1, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@BalusC
Member

BalusC commented Mar 1, 2017

Otherwise it fails when it's for first time consulted during a MyFaces-specific <f:viewAction>.

while (context instanceof FacesContextWrapper) {
    context = ((FacesContextWrapper) context).getWrapped();
}

@BalusC BalusC closed this in e7197f4 Mar 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment