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 253873

Summary: [81cat] JSF Data Table always inserted with a form
Product: javaee Reporter: muellermi <muellermi>
Component: JSF EditorAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 8   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description muellermi 2015-07-27 18:28:32 UTC
Product Version = NetBeans IDE 8.1 Beta (Build 201507231027)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.51-b03

        Drag JSF Data Table item from the Palette and drop it in editor.
        Click OK in 'Insert JSF Data Table' dialog.
        Verify empty JSF Data Table is inserted to index.xhtml at the position you dropped it. 

The fragment is inserted at the place where dropped in.
The fragment always contains a JSF form tag. If dropped into an existing form, this creates an illegal nesting.

--> if the data table is inserted into an existing form, no form tag must be created.
Comment 1 muellermi 2015-07-27 18:28:46 UTC
Created attachment 154957 [details]
IDE log