Subversion Repositories XServices

Rev

Rev 39 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 39 Rev 42
Line 230... Line 230...
230
			
230
			
231
			//set value/ values depending on field type
231
			//set value/ values depending on field type
232
			// single selection
232
			// single selection
233
			if (f.getType() == SBMFieldTypes.SELECTION
233
			if (f.getType() == SBMFieldTypes.SELECTION
234
					&& client.getFieldValue(ttitem, f.getName()) != null) {
234
					&& client.getFieldValue(ttitem, f.getName()) != null) {
235
				List<SBMFieldValue> options = client.getValidSet(client
235
				//List<SBMFieldValue> options = client.getValidSet(client
236
						.getTableName(ttitem), f.getName());
236
				//		.getTableName(ttitem), f.getName());
237
				for (SBMFieldValue optionvalue : options) {
237
				//for (SBMFieldValue optionvalue : options) {
238
					custom.putOption(optionvalue.getInternalValue(),
238
				//	custom.putOption(optionvalue.getInternalValue(),
239
							optionvalue.getValue());
239
				//			optionvalue.getValue());
240
				}
240
				//}
241
				String val = client.getFieldValue(ttitem, f.getName())
241
				String val = client.getFieldValue(ttitem, f.getName())
242
						.getValue();
242
						.getValue();
243
				custom.setValue(val);
243
				custom.setValue(val);
244
			// Multi-Type fields
244
			// Multi-Type fields