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.
There is a "JPA 2.0" switch in the WebLogic server properties implemented using a toggle button. However, the enabled and disabled state of the button are not visually distinct enough, so the user may have a hard time understanding what is the current state and what the button does. See the attached screenshots. The function of the button is to enable/disable JPA 2.0 support on the WebLogic, which is a physical operation that manipulates files on the disk and takes several seconds to perform - during this, a modal progress bar saying "Please wait - Enabling (Disabling) JPA 2 Support" is shown. It is desirable to keep this as immediate action, i.e. it should not be postponed until the user closes the entire dialog. Is there a better way to present the UI to make it more understandable and to give the user better visual feedback?
Created attachment 106057 [details] Dialog with the JPA 2 Support button in disabled state
Created attachment 106058 [details] Dialog with the JPA 2 Support button in enabled state
It more server plugin related.
But I can take it after design decision.
Also there is the same button in server registration dialog with unclear state (if it will enable or disable jpa 2.0).
Created attachment 106078 [details] Proposal with explicit "Enable JPA 2" button. A possible solution is in the attachment. I wasn't sure whether the note is related to the JPA section or the whole panel. The "disabled" label would change to "enabled" after enabling and the button to "Disable JPA 2".
Great, thanks Jano for providing your input so fast! I like it. Just one minor detail, I would prefer to say "JPA 2.0" rather than just "JPA 2".
Sure, "JPA 2.0" would be better.
> I wasn't sure whether the note is related to the JPA section or the whole > panel. The "disabled" label would change to "enabled" after enabling and the > button to "Disable JPA 2". This means the button (and perhaps label as well) will change its size. Is it ok? Should be the same label/button used in the registration wizard?
> Is it ok? I think it's not ideal, but still better than the current state. > Should be the same label/button used in the registration wizard? Yes.
Fixed in web-main 59e574cfe915.
Integrated into 'main-golden', will be available in build *201102190501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/59e574cfe915 User: Petr Hejl <phejl@netbeans.org> Log: #195548 JPA 2.0 switch in WebLogic server properties is hard to understand