org.apache.wicket.devutils.stateless
Annotation Type StatelessComponent


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface StatelessComponent

Annotation for wicket components that you want to be sure remain stateless during the development cycle. Can be attached to pages and components. Note: this annotation does not make the component stateless or affect it's statelessness in any way. This annotation should be used in combination with StatelessChecker to give you runtime warning if you inadvertantly made a page or component stateful.

Author:
Marat Radchenko
See Also:
StatelessChecker

Optional Element Summary
 boolean enabled
          Can be set to false to disable stateless (this is useful if stateful component inherits from stateless one).
 

enabled

public abstract boolean enabled
Can be set to false to disable stateless (this is useful if stateful component inherits from stateless one).

Default:
true


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.