Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Configure DeltaSpike JSF to use CLIENTWINDOW mode
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Feb 9, 2016
1 parent bc28c78 commit a79a62d
Showing 1 changed file with 8 additions and 1 deletion.
Expand Up @@ -20,10 +20,12 @@
*/
package org.zanata.config;

import org.apache.deltaspike.jsf.spi.scope.window.ClientWindowConfig.ClientWindowRenderMode;

import javax.enterprise.inject.Specializes;

/**
* Specilization of DeltaSpike's JSFModule config
* Specialization of DeltaSpike's JSFModule config
* @author Carlos Munoz <a href="mailto:camunoz@redhat.com">camunoz@redhat.com</a>
*/
@Specializes
Expand All @@ -33,4 +35,9 @@ public class JsfModuleConfig extends
public boolean isInitialRedirectEnabled() {
return false;
}

@Override
public ClientWindowRenderMode getDefaultWindowMode() {
return ClientWindowRenderMode.CLIENTWINDOW;
}
}

0 comments on commit a79a62d

Please sign in to comment.