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 - [81cat] JSF Data Table always inserted with a form
Summary: [81cat] JSF Data Table always inserted with a form
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.1
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 18:28 UTC by muellermi
Modified: 2015-07-27 18:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (705.29 KB, text/plain)
2015-07-27 18:28 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
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

    Steps:
        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