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 I look at a WSDL file in the WSDL graphical editor, almost all nodes indicate that they contain children, even when they don't. In the outline view, almost all nodes for the WSDL document have a plus in front of them, even when they contain no children. In the column view, almost all items have an arrow after their names, even when they contain no children. It's annoying to try to display child nodes when there actually aren't any.
Created attachment 33849 [details] Screenshot showing that nodes without children have + (soap:binding, for example)
Created attachment 33850 [details] Screenshot showing that elements without children have arrow (Itinerary, for example)
The node view is default behavior. The Columns view has been updated to reflect the changes mentioned in issue #84729. This is consistent with the schema view.
Why does the default for the schema view to show + when there are no children?
You can see this behavior in other parts of NetBeans. For example, try the following go to files view then add a folder to one of the projects. The folder will initially have the + sign until it is expanded (even though we know it is empty because it was just created). Basically, if it is possible that something may have children the + will show up.
Yeah, it's consistent, but that doesn't make it fun to use. To quote jkopsa from issue 84729: "There are often more significant issues in the trees - the [+] signs are present even if there are no children. And we are often observing users clicking on these nervously (and being upset). " I am one of those users. (click, click, click-click, argh) Just tell me that this issue is being tracked somewhere, and I'll verify this as fixed.
Verified in the build 060923 and observed that the bug not been fixed.In case bug is not going to fix ,please let us know with proper reason
This is the standard NetBeans behavior, so this won't be fixed.
I actually see both issues as being fixed. Jen, could you take a look at this again in the latest WSDL? In the tree view, if there are no children, then there is no 'plus' sign. In column view, if there are no children, then the arrow is greyed out.
Still seen in 060925_1: -- any node labeled soap:* -- no children, but always with +. -- Within an operation, any input, output, fault element always has a + with no children. -- within a message, any part still has a + -- no children. -- when types are defined (imported schema or inline schema) -- any category still has + even when there are no types of that category: attributes, etc. I'm sure there are more instances, but you get the idea . . .
As per the developer comments,changing the bug status to verified since this is standard behavior in the netbeans
Reopening, just because this is standard Netbeans behavior, doesn't mean the standard behavior is correct. If this is consistent with Netbeans, then this issue maybe should be logged as an enhancement request for Netbeans. Downgrading to P4, I understand that this won't be fixed for this release, and will most likely be an enhancement request for Netbeans. If at the Netbeans level it is agreed that this is by-design, then we can close this.
This we can not fix. It is a netbeans issue. The problem is that some nodes can have children when user adds new child node. The netbeans node api should look at children if the count is zero then should not show + sign in the tree node renderer.
Is this logged as a NB issue?
Fixed for wsdl nodes. schema nodes under types have not been fixed, since its part of schema tools Assigning to schema tools for further fix.