CHAPTER 8

image

Advanced JSF2 HTML5 Components

In the previous chapter we built JSF2 components for some of the new input elements introduced in HTML5. In this chapter we will continue building JSF2 components that take advantage of some of the new non-input HTML5 elements.

Media Component

A weakness of HTML that has become more evident with the increased usage of mobile devices is the lack of a standardized way of implementing media players for web pages. Prior to HTML5 web page authors had to display embedded media content through Java applets or Flash SWFs using the object or embed elements. If you are a seasoned web page author, you know all ...

Get Pro JSF and HTML5: Building Rich Internet Components, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.