Part 8: Update select student record using angular form | CRUD Operation in Spring boot + Angular

preview_player
Показать описание
#CRUDOperations #SpringBoot #Angular #StudentApplication
This is how to update selected student record in database table using angular form. In this video, we will see how to update selected student information in database table. In the last video, we have seen how to create rest end point for update student operation and in this video, we will see how to consume that rest end point and update selected student information.

Disclaimer - The music/audio used in this video is not a property of "Learn Programming Yourself". All credit goes to owners of respective music/audio. This music/audio is not prone to any "Copyright Strikes".

------------------------------------------------------------------------------------------
Here're links to git repo
1. student-dashboard (Spring Boot)

2. student-dashboard-ui (Angular)

------------------------------------------------------------------------------------------
Here're some useful links/contents/resources

----------- Links to my other FREE courses. ----------
Рекомендации по теме
Комментарии
Автор

Hello All,
Just figured out a fix for "Modal not showing/popping up" issue.
It is actually not related to logic, but the Bootstrap version. If you are using bootstrap 5, then the properties for EDIT button should be data-bs-toggle, data-bs-target instead of data-toggle and data-target. The latter ones would work for bootstrap 4.

Also, if you want the modal to be closing automatically once you update the record, give data-bs-dismiss="modal" (or) data-dismiss="modal" (again acc. to the version of BS) inside the Update button.

ashwin
Автор

Couldn't be more grateful having mastered how to update records from this video. Thank you

emmanuelmeli
Автор

all videos are very helpful thanks a alot

sonalimore
Автор

Thank You as a begineer your videos are more easy to learn

lingatutika
Автор

It is really reallly good helped me a lot you very muchhhh

manshi_
Автор

thanx u sir for helping me...i got placement using u r project idea.. i learn lots of things regarding spring tool

nikhild
Автор

Hello anna
🙏🙏🙏
can u pls help me iam unable to create model.the edit button is not working for mee....
If any one knows pls help mee guys....🙏🙏🙏

jalavadinaveen
Автор

Bro hope u growand reach the sky-limit <3

spd
Автор

thanks I'm waiting for another series you really was helpful

haithemmihoubi
Автор

Sir in this crud operation, if we stop the spring boot application then whole data will erase in database but, i dont want to erase my data then how can i do it sir, can u please guide me 😢

KGanesh-vivu
Автор

Bro, I have Updated Roll Number, and result is it created another record with remaining unchanged values, why is it so? Pls Can you tell.

adityasuryawanshi
Автор

I have to refresh the page to see remaining records after clicking on delete button. Please can u help me ?

kartikkanakdande
Автор

I have some query can you help me that?

sharadsingh
Автор

hello i flowed all ur steps but zhen i click on the button it does not popup

topforthewin
Автор

Without clicking update button, the original values are changing. How can I fix that

mrideabox
Автор

Hey bro can u pls make video on how to add new cloumn which shows images

subhojitmaji
Автор

Add next part to this series of uploading images

subhojitmaji
Автор

Modal not working for me i use bootstrapp 5

TheSalammoussa
Автор

Modal is not working how i can fix this?

Trendy_Trend_s
Автор

Hi, how to validate for duplicates ? For example say, Name and Address combination must be a unique combo, or even individually no duplicates, else cannot register.
How to do this ?

UPDATE - Got it fixed with the help from channel.
Inside the register method in service class in the backend, get all records to a list. Check using getters if field values from the incoming registration match with any of the values in this list. If yes, return null. In the frontend, in the component.ts file, have a msg variable initialized to an empty string, and in the register method have an if-else. If resp is null, assign some text to the msg, else proceed with existing code. Also in the html file, using *ngIf, print out the message below the concerned field in the form.

ashwin