- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Is it possible to use JSF+Facelets with HTML 4/5?
Facelets is an open-source Web template system for JavaServer Faces (JSF). The language requires valid input XML documents to work. Facelets supports all of the JSF UI components and focuses completely on building the JSF component tree, reflecting the view for a JSF application.
Facelets is a XML based view technology. It cannot be used with HTML4 doctype. You can use <!DOCTYPE html> with JSF/Facelets, even without a <?xml?>declaration in top of the page.
<!DOCTYPE html> <html lang = "en" xmlns:jsf = "http://xmlns.jcp.org/jsf" xmlns:f = "http://xmlns.jcp.org/jsf/core" xmlns:h = "http://xmlns.jcp.org/jsf/html"> <h:head> <title>Title</title> </h:head> <h:body> <header jsf:id = "header">Header</header> <navjsf:id = "nav">Nav</nav> <main jsf:id = "main">Main</main> <footer jsf:id = "footer">Footer</footer> </h:body> </html>
- Related Articles
- Is it possible to use $(this) and universal selector (*) with jQuery?
- Is it possible to use UPDATE query with LIMIT in MySQL?
- Is it possible to use MongoDB capped collection?
- Is it possible to use pyplot without DISPLAY?
- Is it possible to use Python modules in Octave?
- Is it possible to change the HTML content in JavaScript?
- Is it possible to use variable for collection name using PyMongo?
- Is it possible to select text boxes with JavaScript?
- Is it possible to use MongoDB field value as pattern in $regex?
- Is it possible to use this keyword in static context in java?
- Is it possible to have a triangle with the following sides ?2cm, 3cm, 5 cm3cm, 6cm, 7cm
- Is it possible to use MongoDB field value as a pattern in $regex?
- Is it possible to have a HTML SELECT/OPTION value as NULL using PHP?
- Is it possible to have an HTML canvas element in the background of my page?
- Is it possible to exclude nested fields in MongoDB with a wildcard?

Advertisements