Example #1
0
function TestStudy(alias, derivationParams, listener, configOverrides) {
	var defaultOverrides = {
		representationNames: ['test-representation-name'],
		representationTypes: ['test-representation'],
		batchSize: 5
	};

	configOverrides = MapUtility.mergeMaps([defaultOverrides, configOverrides || {}], true);

	Study.call(this, alias, derivationParams, listener, configOverrides);
}
br.presenter.control.datefield.JQueryDatePickerControl.prototype._generateCalendarHtml = function()
{
	var oThis = this;
	var oOptions = MapUtility.mergeMaps([{
		showOn: 'button',
		dateFormat: 'yy-mm-dd',
		disabled: !this.m_oPresentationNode.enabled.getValue(),
		onSelect: function(dateText)
		{
			oThis.m_oPresentationNode.value.setValue(dateText);
		},
		beforeShow:function()
		{
			oThis._setValue();
		}
	}, this.m_mOptions], true);

	this.m_oJQueryNode.datepicker(oOptions);
};