//>>built
require({cache:{"url:mill/jssupport/jsApplication/controls/radioButton/radioButton.html":'\x3cdiv\x3e\x3cinput type\x3d"hidden" data-dojo-attach-point\x3d"inputNode, focusNode"/\x3e\x3cdiv data-dojo-attach-point\x3d"containerNode"\x3e\x3c/div\x3e\x3c/div\x3e'}});
define("mill/jssupport/jsApplication/controls/radioButton/RadioButton","dojo/_base/declare dijit/form/_FormWidget dijit/_Container dojo/text!mill/jssupport/jsApplication/controls/radioButton/radioButton.html mill/jssupport/jsApplication/controls/_CustomControlMixin mill/jssupport/jsApplication/controls/radioButton/RadioButtonElement".split(" "),function(e,f,g,h,k,l){return mill.registerAlias("app.view.RadioButton",e("mill.jssupport.jsApplication.controls.radioButton.RadioButton",[f,g,k],{baseClass:"appRadioButton",
templateString:h,store:null,item:null,searchAttr:null,fetchProperties:null,displayedValue:null,_getValueAttr:function(){var a=this.get("item");return a?a.value:null},_setValueAttr:function(a){var b=this.getChildren().filter(function(c){return String(c.value)===String(a)},this)[0];b&&b.set("checked",!0)},_getDisplayedValueAttr:function(){var a=this.get("item");return a?a.description:null},_getItemAttr:function(){return this.store?this.getChildren().filter(function(a){return a.get("checked")})[0]:null},
_onChange:function(a){this.inherited(arguments);this.onChange(a)},init:function(){function a(b,c,m,n,d){b(new l({name:c,value:d[m],description:d[n]}))}this.destroyDescendants();this.store&&this.store.query(null,this.fetchProperties).forEach(a.bind(null,this.addChild.bind(this),this.id,this.store.idProperty,this.searchAttr))},onChange:function(){}}))});