@Cmd
	public void setToFormEntry(final String configProperty, final String dataSetKey, final String entryKey) {
		String resolvedConfigProperty = resolveProperty(configProperty);
		String resolvedDataSetKey = resolveProperty(dataSetKey);
		String resolvedEntryKey = resolveProperty(entryKey);

		DataSet dataSet = dataSourceProvider.get().getCurrentDataSet(resolvedDataSetKey);
		if (dataSet == null) {
			throw new IllegalStateException("DataSet " + resolvedDataSetKey + " was null.");
		}
		String value = dataSet.getValue(resolvedEntryKey);

		log.info("Setting property '{}' to '{}'", resolvedConfigProperty, value);
		config.put(resolvedConfigProperty, value);
	}
@ Cmd public void setToFormEntry ( final String configProperty , final String dataSetKey , final String entryKey ) { String resolvedConfigProperty = resolveProperty ( configProperty ) ; String resolvedDataSetKey = resolveProperty ( dataSetKey ) ; String resolvedEntryKey = resolveProperty ( entryKey ) ; DataSet dataSet = dataSourceProvider . get ( ) . getCurrentDataSet ( resolvedDataSetKey ) ; if ( dataSet == null ) { throw new IllegalStateException ( "DataSet " + resolvedDataSetKey + " was null." ) ; } String value = dataSet . getValue ( resolvedEntryKey ) ; log . info ( "Setting property '{}' to '{}'" , resolvedConfigProperty , value ) ; config . put ( resolvedConfigProperty , value ) ; }
Sets a {@link DataSet} entry from a configuration property.

@param configProperty
the configuration key
@param dataSetKey
the {@link DataSet} key
@param entryKey
the key of the {@link DataSet} entry