Hi all,
playing with the Forms application (inside Tutorials), I see that adding the
required attribute for example like here:
<TextInput bxml:id="lastNameTextInput"
prompt="Last" Form.required="true"/>
in Forms.java, in method buttonPressed, I get this read the right value:
boolean required = Form.isRequired(lastNameTextInput);
System.out.println("lastNameTextInput is required: " +
required);
but nothing happen by this because inside Form.java, at submit the flow goes
here:
// TODO: here (with my changes in the demo) parent is null ...
if (parent instanceof Form) {
Form form = (Form)parent;
form.formAttributeListeners.requiredChanged(form,
component);
}
so if I'd be able to add the Form (or the Form.Section ) as parent maybe
something could work with this, right ?
What do you think ?
Bye
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/Form-required-does-it-have-any-functionality-tp3057011p3058656.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.