Skip to content

Commit

Permalink
FORGE-1228: increased conversation timeout to 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jul 7, 2014
1 parent 9f406a0 commit 96e6f98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions javaee/faces/src/main/resources/scaffold/faces/BackingBean.jv
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public class ${entity.getName()}Bean implements Serializable {
public String create() {

this.conversation.begin();
this.conversation.setTimeout(1800000L);
return "create?faces-redirect=true";
}

Expand All @@ -87,6 +88,7 @@ public class ${entity.getName()}Bean implements Serializable {

if (this.conversation.isTransient()) {
this.conversation.begin();
this.conversation.setTimeout(1800000L);
}

if (this.id == null) {
Expand Down

0 comments on commit 96e6f98

Please sign in to comment.