Commit 34fae3bc authored by Maxim's avatar Maxim
Browse files

Bug fix: checkboxes from explore-table do not work

parent aaa32b13
......@@ -24,9 +24,10 @@ import org.genesys2.server.model.genesys.Accession;
import org.genesys2.server.model.json.UserAccessionList;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.web.context.WebApplicationContext;
@Component
@Scope("session")
@Scope(value= WebApplicationContext.SCOPE_SESSION)
public class SelectionBean implements Serializable {
private static final long serialVersionUID = -1084615112110837714L;
......
......@@ -92,7 +92,7 @@ public class SpringCacheConfig {
final Properties properties = new Properties();
properties.setProperty("use-client", "false");
properties.setProperty("map-name", "jetty-sessions");
properties.setProperty("sticky-session", "false");
properties.setProperty("sticky-session", "true");
properties.setProperty("cookie-name", "hz-session-id");
properties.setProperty("cookie-domain", cookieDomain);
properties.setProperty("cookie-secure", cookieSecure);
......
......@@ -18,8 +18,14 @@
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"
>
<context-param>
<param-name>spring.profiles.active</param-name>
<param-value>dev</param-value>
</context-param>
<!-- Only JSP compilation configuration remains here. -->
<!-- Only JSP compilation configuration remains here. -->
<!-- http://stackoverflow.com/questions/16196696/how-to-setup-jsp-config-at-javaconfig -->
<jsp-config>
<jsp-property-group>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment