This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249226 - false positive warning on duplicate id when subview is used
Summary: false positive warning on duplicate id when subview is used
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Fousek
Depends on:
Reported: 2014-12-09 10:52 UTC by AndyWuest
Modified: 2014-12-09 10:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

2 subviews containing identical ids. (2.69 KB, application/xhtml+xml)
2014-12-09 10:52 UTC, AndyWuest

Note You need to log in before you can comment on or make changes to this bug.
Description AndyWuest 2014-12-09 10:52:45 UTC
Created attachment 150983 [details]
2 subviews containing identical ids.


when editing my xhtml jsf page i get a false positive warning about a duplicate id
=> Attribute id declares a duplicate ID value "ds"
This only happens if a have more than one subview which use the same id in a nested subview component. SInce a subview creates a new naming container context this is perfectly valid. See attached file which demonstrates the problem.