Join Shonna Smith for an in-depth discussion in this video View themes, part of Spring: Spring MVC (2018).
- [Instructor] After the dispatcher has resolved a view,…one other optional step in the dispatcher logic…is to select and apply a views theme.…You may want to apply themes when you have a special look…and feel you want to apply depending on your users.…You can have a collection of view assets…that together constitute a theme.…You want to do this, again, to have a different look…and feel for say your customers versus your sales reps.…And in our sample application,…we may actually want to take that step…to have those two different themes…so that the two different types of users…have the look and feel that you want them to have.…
Much like view resolution configuration,…there are configuration options available to you…if you want to apply a theme to your view layer assets.…When you want to use themes,…you'll have to set up a theme source.…Your web application context interface already extends…a theme source, but it delegates its responsibilities…to a dedicated implementation class.…When you're using a resource bundle theme source,…
- Using Spring MVC for web projects
- Spring MVC controllers
- Creating controllers and views
- Spring MVC models
- Creating the model
- Request mapping
- Spring MVC views
- Custom app configuration
Skill Level Intermediate
1. Using Spring MVC for Web Projects
2. Spring MVC Controllers
3. Spring MVC Models
4. Spring MVC Views
5. Custom App Configuration
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.