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 94523 - Only first Request Bean is shown in the project logical view
Summary: Only first Request Bean is shown in the project logical view
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ potingwu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 21:25 UTC by bugbridge
Modified: 2007-02-05 21:25 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-05 21:25:34 UTC
Original status: 3-Accepted; Suggested Status: NEW

Original Target Release: shortfin_dev; Suggested Target Milestone : 5.5


Original submitter: sandipchitale

Description:
Create a project.

Observer the logical node Request Bean. Expand it and you see a node RequestBean1.

Add a new Request Bean named RequestBean2. It is not shown similar to RequestBean1.

Evaluation:
Mark Dey wrote:
> Po-Ting Wu wrote:
>> Po-Ting Wu wrote:
>>> Marco Walther wrote:
>>>> On Friday 27 October 2006 15:01, Po-Ting Wu wrote:
>>>>> It's not a bug! We can't allow users to add more nodes into the project
>>>>> logical view unlimitedly. We show them there iff they are frequently
>>>>> used by the users. We tried hard to make the view as small as possible. 
>>>> I think that's another case of a `Creator-ism' carried over to NB:-( If
there are more Request Beam classes, we have to show them.  
>>> We do show them somewhere else; in the standard package folder. We can't
allow users spread lots of nodes under the root and make it non-readable. That's
why DOS introduced 'Directory' for the file system.
>> BTW, NetBeans does not allow 'inserting' node into the logical view, 'append'
only! You can image what a mess will be if we allow users to add extra nodes here!
> A long time ago, we talked about representing managed beans as folders rather
than individual file nodes. Using this model, additional beans can just be added
to the folder assuming we have a way to differentiate managed beans from POJOs.
At one time, the only way was by naming convention of the file :-(   Don't know
if that's still the case.
>
> In any case, I think it could be disruptive to change this now for FCS given
that there are probably many automated tests that exercise these nodes.

Workaround:
The RequestBean2 node is only shown under Source Packages/default package. Work
with it there.