Part 4 - Setup the Layout and Content Pages

preview_player
Показать описание
This is part 4 of our Fleet Management System version 2 (FleetMS v2) complete application in Spring Boot.

In this part we would push setup the Layout page and test with a content page
00:18 - What is the Thymeleaf Layout
02:06 - Create a new Layout page
02:58 - Add the thymeleaf-layout-dialect depenency
03:40 - Create the Layout HTML Page
07:27 - Create a Content Page
10:04 - Test the Layout and Content Pages

Layout Content Page Video Tutorial here

You can find much resources from my websites

Learn Programming by joining International Computer Programmers Group:

You can reach me via any of the following

I'll appreciate your support
Рекомендации по теме
Комментарии
Автор

this was insightful, learnt about layout-dailect. Thank You

zechariahhounwanou
Автор

Not able to open the layout page from the index2 page. I did the steps but it's not working for me. Please I need help

okundayeeddy
Автор

Hello sir thank you for the course, I was able to inherit from the layout to index but layout fragment content is not working as it supposed to, meaning text starts from upper left corner rather from the place where is supposed to which is right from side bar and nav bar

bogicvujadinovic
Автор

Not able to open the layout page from the index2 page. I did the steps but it's not working for me. Can someone help ?

revanthvenkateswar
Автор

Hi Kindson I fall to display index 2 through _layout please help

donaldchristianngoie
Автор

Dear kindson, the way you deliver the tutorial is amusing. But the layout page is not working for me from index2.html. Is thaer a means to fix this problem? Thank you!

heavenlymeditationandrelax
Автор

Hey kindson,
First of all the video series is awesome.
Thanks a lot for making this video series.
I am facing some issue in loading the layout content page.
Whenever I am trying to load localhost:8080/index2
It is loading the original index2.html file instead of loading the _layout page

Please kindly help me

shivanshuagrahari
Автор

Hello Kindson, thank you so much for this course.
Please could you share the github repo?
Please 🙏

johndivine
Автор

Dear Kindson, in this video I see you create a template with fixed header, nav and footer, that is used as base template, and imported into other pages, but when I try to create a template with variable header, nav and footer, for the case of having an admin and an user view, when I do the import I obtained a blank page. How should I do if I want to have variable header, nav and footer into a template?

luisramos