The moose likes JSF and the fly likes Richfaces 4.0 message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Richfaces 4.0 message" Watch "Richfaces 4.0 message" New topic

Richfaces 4.0 message

Bob Green
Ranch Hand

Joined: Feb 29, 2004
Posts: 93
I am getting this message on my jsf page, can someone explain to me what it means. I am using JSF 2.0, Richfaces 4.0 and Jboss 6.0.0.Final version.
"One or more resources have the target of 'head', but no 'head' component has been defined within the view."

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

In raw HTML, the <head> element encloses the information that makes up the page head. Typically this includes the <title> and JavaScript and CSS definitions.

RichFaces evidently wants to add something to that section of the generated HTML, but apparently you didn't define a recognizable head element for it to use.

An IDE is no substitute for an Intelligent Developer.
Brendan Healey
Ranch Hand

Joined: May 12, 2009
Posts: 218

I think you need to be using <h:head>, rather than <head>, sometimes anyway.
I agree. Here's the link:
subject: Richfaces 4.0 message
It's not a secret anymore!