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.
Summary: | Context help for "Add Server..." action is not working until J2EE features are activated | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | GlassFish | Assignee: | Vince Kraemer <vkraemer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kganfield, phejl |
Priority: | P3 | ||
Version: | 7.0.1 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Kovalsky
2011-07-29 12:59:21 UTC
I would suggest disabling the Help button in the Add Server wizard if the JavaEE module is not already enabled. As soon as a user attempts to add a server, the Java EE module will be enabled and so thus all subsequent invocations of the Add Server wizard will have the button enabled. I tested thin on trunk: 1. Switch to "Services" view. 2. Right click "Servers" node and choose "Add Server..." action. 2a. Keep selected GF. Is that right? Anything else will enable Java EE, while keeping the help button disabled. 3. Press "Next >" and then "Help" buttons. So you get to the first step of GF wizard. Is that the reported case? In such case I think it is problem with GF. It should contain some help even for generic registration (no Java EE) as such use case is allowed. For example for ruby. So I think AddServerLocationPanel.getHelp() is the right place where to fix this. I am not sure what is being suggested here So looking at 7.1.1, if the user invokes help in the Server Location panel, the help id is: registering_app_server_hk2_location The topic is located in the server plugins module which is not activated yet. The topic could be moved to the java helpset, but the topic is oriented more toward java ee users. I think this is a pretty corner case, but if there are some occasions where a user might go to this dialog and use glassfish without activating the Java EE modules I would like to hear them. (In reply to comment #4) > So looking at 7.1.1, if the user invokes help in the Server Location panel, the > help id is: registering_app_server_hk2_location > The topic is located in the server plugins module which is not activated yet. Yep that is what I meant. > The topic could be moved to the java helpset, but the topic is oriented more > toward java ee users. > > I think this is a pretty corner case, but if there are some occasions where a > user might go to this dialog and use glassfish without activating the Java EE > modules I would like to hear them. AFAIK the original intention was to have support for different technologies on GF (Java EE, Ruby, Groovy,...). So in such case I guess there should be a generic (registration) help and other topics for different technologies. I don't know how important or relevant it is now. From my point of view it is not infrastructure problem but a GF specific issue. It should be easy to disable help in GF plugin. not too hard. Integrated into 'main-golden', will be available in build *201205180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/78b9045af9b6 User: vince kraemer <vkraemer@netbeans.org> Log: #200516 : disable help if the id is not available |