webtier@glassfish.java.net

Re: [webtier] JSF 2.0 Ajax "One or more resources have the target of 'head' ..."

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Thu, 10 Sep 2009 22:21:36 -0400

f:view is unnecessary - but h:head is required for the Ajax resource.


Sent from my iPhone

On Sep 10, 2009, at 8:54 PM, webtier_at_javadesktop.org wrote:

> I ajax-ified one command link:
>
> <h:commandLink action="#
> {GalleryViewerBean.processNextRequest}">
> <f:ajax render="imageb subtitleb" />
> Next
> </h:commandLink>
>
> and now I am getting a message:
>
> "One or more resources have the target of 'head', but no 'head'
> component has been defined within the view."
>
> Of course I do have:
> <f:view>
> <head>
> ...
> </head>
> <body>
> ...
> </body>
> </f:view>
>
> Any ideas?
> [Message sent by forum member 'eddyd' (e_dimitrov_at_yahoo.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=363661
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>