I’m making a program using Seam and Java. On my web page I have a form for the user to fill out. When I leave the page, however; the variables do not clear. Is there any way to run a java function from my bean when leaving the form page, or does anyone know a better way to go about doing this.
Share
Since Seam is a specialized version of Java Server Faces:
You can use the following scopes:
I assume that you are using Session Scope, so my recommendation is that you use Request Scope.