2009-12-26 22 views

回答

1

下面的代碼可以幫助的人誰想要驗證列表像我想:

<mx:NumberValidator 
     id    ="myListValidator" 
     trigger   ="{myButton}" 
     triggerEvent  ="click" 
     minValue   ="0" 
     lowerThanMinError="Should I write an application to you for selecting atleast one of the option X-(" 
     source   ="{myList}" 
     property   ="selectedIndex" 
/> 
相關問題