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 257929 - Autocomplete and Validation of "for" attribute
Summary: Autocomplete and Validation of "for" attribute
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.1
Hardware: PC Windows 8.1
: P2 normal with 1 vote (vote)
Assignee: Martin Fousek
Depends on:
Reported: 2016-02-10 22:28 UTC by sknitelius
Modified: 2016-02-10 22:31 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description sknitelius 2016-02-10 22:28:31 UTC
The JSF Editor suggests used ID's when assigning a new id to a JSF component.

When setting the "for" attribute (e.g. on outputLabel):

* no Autocomplete is offered.
* the id entered is not validated for existence.

This can be quite painful, since some components will throw an obscure exception if a non-existing id is entered in the "for" attribute.

Please add:

* Autocomplete for the "for" attribute. 
* Validate that the id entered exists.