myfaces
myfaces copied to clipboard
MYFACES-4469: Fix IllegalArgumentException by retrieving wrapped factory
https://issues.apache.org/jira/browse/MYFACES-4469
Although I don't expect users to wrap these factories more than once, I still used a while loop just in case. (However, I could switch to a if if preferred)
I can port this to other versions ( 2.2, 2.3 next, 3.0, and 4.0), too.