Question

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

Was it helpful?

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;
    }

}

OTHER TIPS

You can change the used HTML Page and customize it like you want:

Copy the deltaspike-jsf-module-impl-x.x.jar#/static/windowhandler.html

to your classes Folder. For maven e.g.: src/main/resources/static/windowhandler.html

Keep in mind that changes to this file will not be published while running for e.g. TomEE in Eclipse. You have to restart the container.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top