You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2006/01/16 02:12:36 UTC

id must be unique in the whole JSF tree?

After I moved to the latest build, some new errors about id(s) were found:
   
  id must be unique in the whole JSF tree? or among its siblings?
   
  Thanks!

			
---------------------------------
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.

Re: id must be unique in the whole JSF tree?

Posted by Simon Kitching <sk...@apache.org>.
On Sun, 2006-01-15 at 17:12 -0800, Dave wrote:
> After I moved to the latest build, some new errors about id(s) were
> found:
>  
> id must be unique in the whole JSF tree? or among its siblings?

Ids must be unique within the nearest parent NamingContainer component.

The standard NamingContainer components are:
 * f:subview
 * h:form
 * h:dataTable

This has always been required by the spec, but since 1.1.1 the checking
for this has been improved.

Regards,

Simon