Skip to content

Commit

Permalink
Merge pull request #432 from tejones/teiiddes-2415-update
Browse files Browse the repository at this point in the history
teiiddes-2415
  • Loading branch information
blafond committed Feb 10, 2015
2 parents 4239389 + fae9418 commit 50d47de
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,26 @@ protected void setValue(Object element, Object value) {
propertiesViewer.refresh(element);
}
}

}

if (wsProfileDetailsWizardPage!=null){
for( Object key : parameterMap.keySet() ) {
Parameter para = (Parameter)parameterMap.get(key);
wsProfileDetailsWizardPage.getProfileProperties().put(para.getPropertyKey(), para.getPropertyValue());
}
wsProfileDetailsWizardPage.setParameterMap(parameterMap);
wsProfileDetailsWizardPage.urlPreviewText.setText(wsProfileDetailsWizardPage.updateUrlPreview().toString());
}else{
for( Object key : parameterMap.keySet() ) {
Parameter para = (Parameter)parameterMap.get(key);
propertyPage.getExtraProperties().put(para.getPropertyKey(), para.getPropertyValue());
}
propertyPage.setParameterMap(parameterMap);
propertyPage.urlPreviewText.setText(propertyPage.updateUrlPreview().toString());
}


}

}
Expand Down Expand Up @@ -638,6 +657,7 @@ void handleDefaultValueChanged( String newDefaultValue ) {

void handleTypeChanged(Object type) {
this.type = (String)type;
handleAddProperty();
updateState();
}

Expand Down Expand Up @@ -704,7 +724,7 @@ public String validateName( String proposedName ) {
// make sure only letters
for (char c : proposedName.toCharArray()) {
if ( ! isValidChar(c)) {
return UTIL.getString("AddParameterDialog_invalidParametersName"); //$NON-NLS-1$
return UTIL.getString("AddParameterDialog_invalidParameterName"); //$NON-NLS-1$
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,7 @@ public static String formatPath(URL newUrl) {
if (dotLocation > -1) {
filePath = filePath.substring(0, dotLocation);
}
if (filePath.equals(EMPTY_STRING)) filePath="response"; //$NON-NLS-1$
return filePath;
}

Expand Down

0 comments on commit 50d47de

Please sign in to comment.