Java-Console-View
Java-Console-View copied to clipboard
Missing setInputErrorMessage on ViewConfig.Builder
The Builder class in ViewConfig has setter for Menu selection message, Pause message, Quit message... for all its private fields, except for Input error message, being impossible to change the "Invalid input. Please try again:" message.
Can you provide a little bit more info please? I'll try to fix it.
Edited.
Indeed in ViewConfig the setInputErrorMessage is not available, so we can't customize the error message if we've downloaded trough maven and the IDE "blocks the code", but we can download the lib and make the changes by adding the missing method.
Also there is something I don't quite understand how to do.
Lets suppose we are validating a field. And the validation returns false. How can we go back to the menu ? currently it keeps saying that the entry is invalid, and I don't understand how to go back.
Thanks.