hookInitState method

  1. @protected
  2. @visibleForOverriding
void hookInitState()
inherited

Called during State.initState, after initializing all EzField with their default values.

  • particularly useful to initialize late EzField that are not defined with a default value. However, such EzField do not have to be initialized in this function; they can be initialized at any future time, as long as they are not accessed explicitly or implicitly (e.g. via an @EzComputed that is accessed from the ZML).

Implementation

@protected
@visibleForOverriding
void hookInitState() { }