I'm working through a JSF Tutorial (JavaServer Faces 2.0 The Complete Reference), and I created an xhtml file and it's running on Tomcat 6.0
When I pull up the page the text will display but none of the edit boxes, radio buttons, buttons etc will display. If I highlight it, it seems like table is being formatted just nothing displaying. In the file I get this error:
Multiple Annotations on this line:
The content of element type must match "(head, body)"
Attribute "xmlns:h" must be declared for element type html
Attribute "xmlns:f" must be declared for element type html
This is the xhtml file, I clipped some of the inner code to shorten it, but it's all pretty much the same.
Has anyone seen this before? There are no errors on the console from the server, just no display.
posted 5 years ago
Well if I remove some of the 'extra' stuff and just do
The box will appear. It doesn't like the <h: /> tags for some reason. I'm sure it's related to the error message up top, which disappears if I delete the definitions. I'm pretty lost on it.