Subversion Repositories XServices

Compare Revisions

Ignore whitespace Rev 41 → Rev 42

/sbm4mylyn/trunk/src/net/brutex/mylyn/sbmconnector/core/SBMTicketDataHandler.java
232,12 → 232,12
// single selection
if (f.getType() == SBMFieldTypes.SELECTION
&& client.getFieldValue(ttitem, f.getName()) != null) {
List<SBMFieldValue> options = client.getValidSet(client
.getTableName(ttitem), f.getName());
for (SBMFieldValue optionvalue : options) {
custom.putOption(optionvalue.getInternalValue(),
optionvalue.getValue());
}
//List<SBMFieldValue> options = client.getValidSet(client
// .getTableName(ttitem), f.getName());
//for (SBMFieldValue optionvalue : options) {
// custom.putOption(optionvalue.getInternalValue(),
// optionvalue.getValue());
//}
String val = client.getFieldValue(ttitem, f.getName())
.getValue();
custom.setValue(val);