Thomas Andraschko created DELTASPIKE-947:
--------------------------------------------

             Summary: StackOverFlow with DELEGATED window mode and undefined 
javax.faces.CLIENT_WINDOW_MODE
                 Key: DELTASPIKE-947
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-947
             Project: DeltaSpike
          Issue Type: Bug
          Components: JSF22-Module
    Affects Versions: 1.4.1
            Reporter: Thomas Andraschko
            Assignee: Thomas Andraschko
             Fix For: 1.4.2


Steps to reproduce:
1) specialize DefaultClientWindowConfig#getClientWindowRenderMode with 
DELEGATED mode
2) remove javax.faces.CLIENT_WINDOW_MODE from web.xml

The problem is that the ClientWindowAdapter will be registered in this case 
because JsfModuleConfig#getDefaultWindowMode returns null and not DELEGATED.
Therefor our DelegatedWindowStrategy delegates to our CLIentWindowAdapter this 
delegates back to our DelegatedWindowStrategy.

We should merge the logic from  
DefaultClientWindowConfig#getClientWindowRenderMode and 
JsfModuleConfig#getDefaultWindowMode to e.g. 
JsfModuleConfig#getClientWindowRenderMode and use this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to