Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Edit Boxes etc. Not Displaying

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic