is it possible to set a value of a component using the HasValue interface passing an object?
HasValue<?,?> field = (HasValue<?, ?>) fieldMap.get(destinationFieldName);
field.setValue((Object) myGetValue("fieldName"));
i receive this error
The method setValue(capture#8-of ?) in the type HasValue<capture#7-of ?,capture#8-of ?> is not applicable for the arguments (Object)
Solved removing <?,?> , may be this is not so clean but should run.
Giovanni Adobati:
Hi,
is it possible to set a value of a component using the HasValue interface passing an object?
HasValue<?,?> field = (HasValue<?, ?>) fieldMap.get(destinationFieldName);
field.setValue((Object) myGetValue("fieldName"));
i receive this error
The method setValue(capture#8-of ?) in the type HasValue<capture#7-of ?,capture#8-of ?> is not applicable for the arguments (Object)