Вопрос

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

Это было полезно?

Решение

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

}

Другие советы

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top