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

Summary: false positive warning on duplicate id when subview is used
Product: javaee Reporter: AndyWuest
Component: JSF EditorAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: 2 subviews containing identical ids.

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.