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 98073 - Improve message in New Project dialog when no server is installed
Summary: Improve message in New Project dialog when no server is installed
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks: 89469
  Show dependency tree
 
Reported: 2007-03-16 11:37 UTC by Petr Jiricka
Modified: 2007-10-03 11:52 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
New Web Project with Existing Sources screenshot (39.15 KB, image/png)
2007-03-16 17:10 UTC, Andrei Badea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2007-03-16 11:37:00 UTC
1. Download the build of NetBeans as the new installer:
http://nbi.netbeans.org/m11/download.html. Unselect all servers - IDE will be
downloaded without a server.
2. Create a new web project
=> The error message at the bottom of the panel says "Server must be chosen".
This message is not very descriptive.

I suggest we improve the message to something like "No servers are registered in
the IDE. To register a server, click the 'Manage...' button." Ondro, what do you
think about the message?

Thisd needs to be done for all project types.
Comment 1 Ondrej Langr 2007-03-16 13:47:15 UTC
That's a good point. I'd keep the error message at the bottom of the screen as
it is, though. Because even when there's no server, the message saying "server
must be chosen" has a point and is telling the user they can't move any further
without having the server. The message "No servers are registered in
the IDE. To register a server, click the 'Manage...' ", should definitely be
present, probably close to server field .. either directly inside the Server
combo box (in a shorter version) or below. 

I'll incorporate this into the new project wizard .. 
Comment 2 Andrei Badea 2007-03-16 17:10:09 UTC
While adding the message to the wizards please keep in mind that some wizards
(like the New Web Project with Existing Sources, see attached screenshot) are
quite crowded and have no place for a message that can span as much as two lines.
Comment 3 Andrei Badea 2007-03-16 17:10:52 UTC
Created attachment 39595 [details]
New Web Project with Existing Sources screenshot
Comment 4 Petr Jiricka 2007-03-16 17:26:07 UTC
I agree this should be just single line and we should not introduce any new
location for this, just use the standard position for the error message at the
bottom of the panel.
Comment 5 Ondrej Langr 2007-03-19 11:27:20 UTC
The space consideration may not be an issue after the wizard redesign. 

I took a screenshot with the proposed message (shortened) directly inside the
Server combo box and it's actually not very good since the empty space resembles
absence of a server better then any text. So .. yeah .. let's just change the
"Server must be chosen" to "No servers are registered in
the IDE. To register a server, click the 'Manage...' button." as Petr proposed.

To facilitate user's navigation and not to force them to search for the
"Manage..." button after having read the error message, it has crossed my mind
to hyperlink the "Manage..." text. But hyperlinking error messages (they're in
red) is highly discussible concept and as far as I know we are not using this
anywhere in the IDE, are we?
Comment 6 David Konecny 2007-10-03 11:52:50 UTC
Message changed to:

No servers are registered in the IDE. To register a server, click the "Add..." button.

I do not know anything about hyperlinking in NB.

Fixed in /cvs/web/project/src/org/netbeans/modules/web/project/ui/wizards/Bundle.properties
new revision: 1.76