On page 1 of the add server instance dialog, after I choose a valid glassfish
installation, there is a long delay before the error status message to choose a
valid installation disappears. I wait for it to do so, because I know the
installation I pointed to is valid, but other users might not know that and try
to pick another installation. I realize checking the installation might take
some time. I recommend a (not red) message in the status line at that time like
"Checking installation....". If it turns out to be valid, then the error
message will be gone at the end. If it turns out to be invalid, the error
message can be put there once again.
Sorry, I meant page 2 of the wizard.
More info: The code to check the server ends up in
isValid where the error message property is (already) set to null before the
check, then set (back) to something else if it is indeed invalid. The problem
is that the ui is not updated twice, only once, so all we see is the error
message the whole time. However, the wizard descriptor framework is the one
which is responsible for repainting, etc., so it's not so straightforward to
force 2 updates.
no changes ready for check in today -- 5.5 code freeze
addressing this requires a registration wizard change... doable, but not for 6.0
I am lowering this to p5. making a change to the v2 plugin is not a priority. the v3 plugin has a similar issue... but
it is not as obvious, since the "domain chooser" is on the next page, instead of being on the same page as the platform
examine after 7.0