Spring MVC Tutorials 22 - Form Validations 06 (More on custom Form Validation annotation...)

preview_player
Показать описание

1) we will learn how to pass a parameter to a custom annotation
2) how to set that parameter optional or mandatory for a custom annotation along with some more concepts...

Guys, I would recommend watching all parts of Form Validation concept (from part 1) before watching this part for complete understanding of the concept. Happy Learning...
Рекомендации по теме
Комментарии
Автор

Cool guy. He takes time to explain everything steps by steps without rushing and that is amazing to me. well done

rasheedoredegbe
Автор

in the next tutorial, we will learn few more validation related concepts and then straight away start looking at web services concept in a spring MVC framework in detail...

gontuseries
Автор

Really, really great job, helped me a lot ! Please continue (e.g. include DB in this project). I am looking forward to your new tutorials.
Thank you one more time!

lemmy
Автор

Thanks for sharing you knowledge. Waiting for other tutorials on all Springs

rameshmanyam
Автор

Thanks for the great tutorial. Learned a lot about validation.

mahmudulislam
Автор

That's simply AWESOME! Big thank you again

abdelkarimlyoussi
Автор

Thanks for the tutorials. Expecting the DB opertions and spring security

rsatheeshmca
Автор

Hi Gaurav, This tutorial is very helpful me really thanks you dost, keep doing it is really helpful.

AnujSingh-jfgb
Автор

Nice tutorial learnt too many new things please make a series on spring boot security features a well

prayasgoel
Автор

Hi Ankush,
Excellent work !!!
I covered all the tutorials on Spring validation. Please let me know how do we send the application form back to the client having the correct values being populated in the corresponding fields.

manavbhanot
Автор

Thanks for wonderful tutorial. Could you please upload lectures for multi-page form submission.

curiossoul
Автор

hello ankush,
A very big thankyou for your tutorial. I think any one with simple programming background or even a novice in java can follow your tutorial. Great work keep it up. A very simple and easy presentation. Expecting a DATABASE tutorial with hibernate ORM and Spring security Soon.

nandakrishnansr
Автор

Great work, keep on, thank you very much !!

travauxpro
Автор

so how we escape hardcore error message
String message() default "Please provide a valid Hobby like: Music, Football, Cricket and Hockey";
if we set valid value in list property?

alexandersmirnov
Автор

In the above video you showed of putting default values in the custom annotation @IsValidHobby. My doubt is -"Suppose developer provide his choice for the hobbies as'Research|Dancing|Trecking' but in the default listOfValidHobbies() it is 'Music|Football|Hockey'  and the default error msg to display is -> 'Please enter hobbies from the list 'Music|Football|Hockey'.    How to display the list of hobbies entered by the developer in the default error msg like ->'Please enter hobbies from the list Research|Dancing|Trecking'  ??."  

LatestMusicsify
Автор

Hi, thank you for the spring MVC series. Very Helpful! When are more videos for this series coming? and I was wondering if you can make a series of spring security. Thank you

shivangshah
Автор

Hi Gaurav. Informative tutorial, as usual.. :) If possible, after these series can you provide information on Spring Security as well, (database and Ldap authentication), so that the other learners would be able to learn from the same, like admin and role based authentication along with reading from the properties file the rules as defined in their specific regions, country etc..

KumarKunal
Автор

If you enter only one invalid field all your valid fields also get deleted in the results of submission page ie. if there's only one error nothing goes through and you get blank fields all over. I was hoping he'd fix that.

quinnd
Автор

How to customize message like you customize list of values

crazyworld
Автор

I completed all the tutorials in this series so far. Thank you very much for the extremely valuable lessons! God bless you! :)
Waiting eagerly for the next ones - By the way, how many more are there?

One technical question:- Can we somehow keep the values of arguments for the validator annotations in a property file? For eg: If I keep the acceptable values for studentHobby in a property file, say fieldvalues.properties, is there a way to make Spring MVC refer that?

vishnudevks
visit shbcf.ru