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.
I have to use a separate label component for a textarea because I want the label above the textarea and not beside it. I've set the "required" attribute on the textarea but when the textarea gets validated, if it's blank the textarea item id is used in the message group and not the separate label text. Steps to reproduce: 1. Add a textfield, type a label, and set to required. 2. Add a textarea and set to required. 3. add a label, set the "for" to the textarea. 4. Add a message group. 5. Run the web app and push the button. 6. Notice the message group shows the label of the textfield but the item id of the textarea. This is really messy when you have a textarea buried inside multiple containments in a form and you get something like this: form1:center_container:page_border:fixed_contentarea:fixed_contextbox:bottomPanel:txtSummary: Validation Error: Value is required. Please see the attached snapshot.
Created attachment 39065 [details] shows messages of textfields with labels and textarea with separate label.
I'll take a look
The fix needs to be in the component. Filed woodstock bug https://woodstock.dev.java.net/issues/show_bug.cgi?id=814