良好的PM stackoverflow ...我在Flex中遇到問題。顯然我遇到了can't find managedQuery or ManagedOperation named:getStudentprofile
錯誤找不到託管查詢或託管操作名稱flex
正如我在一些論壇研究,我瞭解到,導致此錯誤的一個是,我有我的數據服務在其他組件的重複實例......所以我的問題是我該如何分享我的數據服務到其他組件?我沒有一個想法如何?請幫我
這些都是我需要分享給其他組件的聲明:
parentinfoservice:ParentinfoService id="parentinfoService" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/
studentprofileservice:StudentprofileService id="studentprofileService" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/
你是否收到錯誤?在運行時?或者在編譯時?你能不能展示一些代碼? – JeffryHouser 2011-02-28 13:59:27
我收到運行時錯誤。好吧,編輯帖子 – wawaragna 2011-02-28 14:01:40
好多了;但哪一行代碼導致錯誤?你運行在調試模式? – JeffryHouser 2011-02-28 16:25:37