Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Edit Boxes etc. Not Displaying

 
Vince Kennedy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vince Kennedy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well if I remove some of the 'extra' stuff and just do



instead of



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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic