-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having trouble at validation #14
Comments
You need to
|
Update method signature to:
|
Awesome. Do you want to submit a pull request? |
okay you
Vào CN, 27 thg 1, 2019 vào lúc 13:22 in28minutes <notifications@github.com>
đã viết:
… Awesome. Do you want to submit a pull request?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXlokZTP1rvQ0Uhnj2gcSwUrB1KXFGEWks5vHUWegaJpZM4OQ08L>
.
|
i'm not sure can help you but i will try to do it
:D
Vào CN, 27 thg 1, 2019 vào lúc 20:17 Optimus No <sonhandsome06@gmail.com>
đã viết:
… okay you
Vào CN, 27 thg 1, 2019 vào lúc 13:22 in28minutes <
***@***.***> đã viết:
> Awesome. Do you want to submit a pull request?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#14 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AXlokZTP1rvQ0Uhnj2gcSwUrB1KXFGEWks5vHUWegaJpZM4OQ08L>
> .
>
|
Hello sir,
I am having trouble at step 27 while validating an add-a-new-todo request. When i enter more than 6 characters, the code executes normally. Although when i enter less than 6 chars, it returns;
Rest of the code flows normally. Here is the code of add controller.
@RequestMapping(value = "/add-todos", method = RequestMethod.GET)
public String showAddTodoPage(ModelMap model) {
model.addAttribute("todo", new ToDoBean());
return "add-todo";
}
@RequestMapping(value = "/add-todos", method = RequestMethod.POST)
public String addTodo(ModelMap model, @Valid ToDoBean todoBean,
BindingResult result) {
I have uploaded the code here. Thank you sir.
in28Minutes-first-webapp.zip
The text was updated successfully, but these errors were encountered: