Search code examples
jsfjsf-2cdiview-scopedeltaspike

How to disable loading screen of DeltaSpike


How can I disable the loading screen which appears when using @ViewScoped with DeltaSpike?


Solution

  • Ok, looks like this is working:

    @Specializes
    public class UkaClientWindowConfig extends DefaultClientWindowConfig {
    
        private static final long serialVersionUID = 1L;
    
        @Override
        public ClientWindowRenderMode getClientWindowRenderMode(
                                                   FacesContext facesContext) {
            return ClientWindowRenderMode.NONE;
        }
    
    }