Following Oracle (and others) documentation, I have all my JSF components looking like :
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:composite="http://xmlns.jcp.org/jsf/composite"
>
<composite:interface>
...
</composite:interface>
<composite:implementation>
...
</composite:implementation>
</html>
Of course, it works properly, but SonarCube disagree with this (rule details here):
"title" should be present in all pages
There are a couple of solutions :
- Asking Sonar to ignore these issues,
- Adding
<head>
and<title>
tags,
But these looks like workarounds and I would like to set a permanent solution.