Skip to content

Commit

Permalink
fixed connector host loading in RW
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Jun 6, 2015
1 parent 9873c0f commit 5c5062f
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -355,8 +355,10 @@ private boolean isConnectorOnHost(PrismObject<ConnectorType> connector, PrismObj
}

private void discoverConnectorsPerformed(AjaxRequestTarget target) {
DropDownChoice<ConnectorHostType> location = (DropDownChoice) get(ID_LOCATION);
ConnectorHostType host = location.getModelObject();
DropDownFormGroup<PrismObject<ConnectorHostType>> group = (DropDownFormGroup) get(ID_LOCATION);
DropDownChoice<PrismObject<ConnectorHostType>> location = group.getInput();
PrismObject<ConnectorHostType> prism = location.getModelObject();
ConnectorHostType host = prism.asObjectable();

if (!NOT_USED_HOST.equals(host)) {
discoverConnectors(host);
Expand Down

0 comments on commit 5c5062f

Please sign in to comment.