this.messages = new ArrayList<ViewStateMessage>();
this.messages = new ArrayList<ErrorMessage>();
    public ViewState(String id) {        super();        this.id = id;        this.valid = true;        this.skipUpdate = false;        this.updateComponentTree = true;        this.postBack = false;                this.messages = new ArrayList<ViewStateMessage>();    }