public View generateAccessObjects() {
		elements = new HashMap<>();
		inputs = new HashMap<>();
		labels = new HashMap<>();
		helps = new HashMap<>();
		isError = new HashMap<>();

		form.elements.forEach(elem -> elements.put(elem.getName(), getElement(elem.getName())));
		form.elements.forEach(elem -> inputs.put(elem.getName(), getInput(elem.getName())));
		form.elements.forEach(elem -> labels.put(elem.getName(), getLabel(elem.getName())));
		form.elements.forEach(elem -> helps.put(elem.getName(), getHelp(elem.getName())));
		form.elements.forEach(elem -> isError.put(elem.getName(), isError(elem.getName())));
		return this;
	}
public View generateAccessObjects() {
		elements = new HashMap<>();
		inputs = new HashMap<>();
		labels = new HashMap<>();
		helps = new HashMap<>();
		isError = new HashMap<>();

		form.elements.forEach(elem -> elements.put(elem.getName(), getElement(elem.getName())));
		form.elements.forEach(elem -> inputs.put(elem.getName(), getInput(elem.getName())));
		form.elements.forEach(elem -> labels.put(elem.getName(), getLabel(elem.getName())));
		form.elements.forEach(elem -> helps.put(elem.getName(), getHelp(elem.getName())));
		form.elements.forEach(elem -> isError.put(elem.getName(), isError(elem.getName())));
		return this;
	}
public View generateAccessObjects ( ) { elements = new HashMap <> ( ) ; inputs = new HashMap <> ( ) ; labels = new HashMap <> ( ) ; helps = new HashMap <> ( ) ; isError = new HashMap <> ( ) ; form . elements . forEach ( elem -> elements . put ( elem . getName ( ) , getElement ( elem . getName ( ) ) ) ) ; form . elements . forEach ( elem -> inputs . put ( elem . getName ( ) , getInput ( elem . getName ( ) ) ) ) ; form . elements . forEach ( elem -> labels . put ( elem . getName ( ) , getLabel ( elem . getName ( ) ) ) ) ; form . elements . forEach ( elem -> helps . put ( elem . getName ( ) , getHelp ( elem . getName ( ) ) ) ) ; form . elements . forEach ( elem -> isError . put ( elem . getName ( ) , isError ( elem . getName ( ) ) ) ) ; return this ; }
the access objects should only be build, if the template engine can't call methods with params.
Not capable templates that need this: mustache...
the access objects should only be build if the template engine can t call methods with params . Not capable templates that need this : mustache ...