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.
When a new DDBean is created and that DDBean xpath has a DConfigBean bound to it, the DConfigBean is created, as expected. However, the displayed tree is not updated to show the new bean. Steps: 1. Run IDE & create a web module 2. Open Configuration editor on sun-web.xml 3. Do something to add a DDBean to web.xml - e.g. add a servlet, open web.xml and add a security-role, etc. 4. Note that the configuration editor for sun-web.xml does not add the new DConfigBean that was created to the displayed tree. Note: If you have the console window enabled, you will see messages showing that the DConfigBean for the new DDBean was created though.
Starting work config ui bug fixes.
Fixed.
With latest builds of NB 3.6 trunk (1/27 @ 23:17), the behavior is as follows: Adding a servlet, ejb-ref, resource-ref (and likely any other named DDBean for which we have a DConfigBean) does create a DConfigBean in response to the BEAN_ADD event, but does NOT update the tree in the configuration editor. Removing the item will cause the entire tree to update though. This means you can add two items, and not see either of them. But when you remove one of them, the other will magically appear.
The confusing behaviour was that first servlet added would update the config tree, but subsequent servlets added would not. I just checked in the fix for this.