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.
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.
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 ..
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.
Created attachment 39595 [details] New Web Project with Existing Sources screenshot
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.
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?
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