[Bindable] 元數據實現 UI 與模型雙向自動同步。| 任務 | 相關標簽/API |
|---|---|
| 發送數據到服務端 | <mx:RemoteObject>, <mx:HTTPService>, <mx:WebService> |
| 接收服務端數據 | result 事件處理器, ArrayCollection 綁定 |
| 客戶端對象間傳遞 | 綁定表達式 {model.prop}, 事件總線 |
| 客戶端存儲 | SharedObject (本地持久化), ArrayCollection/XMLListCollection |
| 驗證數據 | <mx:Validator>, ValidationResult |
| 格式化顯示 | <mx:Formatter>, CurrencyFormatter, DateFormatter |
表單提交:綁定模型 → 驗證器檢查 → RemoteObject 調用 → 結果綁定到列表 → 格式化器顯示金額/日期。