Prado.WebUI.TRatingList = Base.extend( { selectedIndex : -1, enabled : true, constructor : function(options) { var cap = $(options.CaptionID); this.options = Object.extend( { caption : cap ? cap.innerHTML : '' }, options || {}); Prado.WebUI.TRatingList.register(this); this._init(); this.selectedIndex = options.SelectedIndex; this.setRating(this.selectedIndex); }, _init: function(options) { Element.addClassName($(this.options.ListID),this.options.Style); var radios = document.getElementsByName(this.options.ListName); this.radios = new Array(); var index=0; for(var i = 0; i -1 ? this.radios[index].value : this.options.caption; var caption = $(this.options.CaptionID); if(caption) caption.innerHTML = value; $(this.options.ListName).title = value; }, setEnabled : function(value) { this.enabled = value; for(var i = 0; i