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 113681 - Using project tree to launch EJB module in design editor always reopens it in design mode
Summary: Using project tree to launch EJB module in design editor always reopens it in...
Status: RESOLVED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 00:17 UTC by lpolycarpou
Modified: 2009-06-12 12:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lpolycarpou 2007-08-24 00:17:36 UTC
If the Project pane is used to navigate to an EJB module (Web Service), it always opens up in the code editor in
"Design" mode rather than Source mode.  This is the case even if the tab is already open.  NB6 should 'remember' the
last view mode of each EJB WS (Source or Design) and open it up in that mode.

To reproduce:

1) Create a new EJB module
2) Right click on EJB module --> New Web Service
3) Use defaults and enter package name and click Finish
4) Expand Web Services in the EJB module's Projects pane and double click on NewWebService
5) Select Source mode in the design editor
6) Double click on NewWebService again in the Projects pane... it opens up again in Design mode.
Comment 1 Peter Pis 2007-08-24 15:54:22 UTC
Reassigning to "j2ee"...
Comment 2 lpolycarpou 2008-01-20 00:55:24 UTC
Any update on this issue?
Comment 3 _ gowri 2008-11-19 21:47:00 UTC
This doesn't happen for me with Netbeans6.5. Here is what I did

1) Create a new EJB module
2) Right click on EJB module --> New Web Service
3) Use defaults and enter package name and click Finish
4) Expand Web Services in the EJB module's Projects pane and double click on NewWebService 
    Here the source mode is open by default when I double clicked on NewWebService 
6) Double click on NewWebService again in the Projects pane... it opens up again in source mode.

In any case, not critical for 7.0. Hence marking it to next
Comment 4 Petr Jiricka 2009-06-12 12:55:06 UTC
Also does not happen to me anymore, so I consider this fixed.