Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now simply annotate your domain model with an @In and @Out session annotation using the string constant from above as the session key.

Code Block
public class ExampleAction extends ActionSupport {

	@In(scope = ScopeType.SESSION, value = ModelRepo.DOMAIN_MODEL)
	@Out(scope = ScopeType.SESSION, value = ModelRepo.DOMAIN_MODEL)
	private ExampleBean exampleBean;

	...
}