super(aInitializer, "TestApplication");
//SelectListConstraint selectListConstraint = new SelectListConstraint({"dave@bitmovers.com","ian@bitmovers.com"}, );
//TextFieldConstraint textFieldConstraint = new TextFieldConstraint(new MMatchAllDescriptor());
MInputDescriptor hasKeyboard = new MInputDescriptor();
hasKeyboard.setHasKeyboard(true);
TextFieldConstraint textFieldConstraint = new TextFieldConstraint(hasKeyboard);
MInputDescriptor hasNoKeyboard = new MInputDescriptor();
hasNoKeyboard.setHasKeyboard(true);
SelectListConstraint selectListConstraint = new SelectListConstraint(hasNoKeyboard);
addConstraint(textFieldConstraint, "recipientField");
addConstraint(selectListConstraint, "recipientField");