隨筆-348  評論-598  文章-0  trackbacks-0

          最近搭配Richfaces用Ajax動態生成控件的HtmlMessage的時候,會報錯,而且有點摸不著頭腦。

          后來看了下,問題原因在于沒有給HtmlMessage控件設置ID,設置一下ID就可以了。

          這里有個問題,為什么JSF沒有給HtmlMessage控件動態生成ID呢?我懷疑是一個bug,為什么。。
          因為如果我單純的生成一個HtmlMessage實例,不設置任何屬性,并動態的添加到頁面中,沒有任何錯,但如果我設置了For屬性,如果不設置HtmlMessage控件的ID,就會出錯,大家試試就知道了。。很奇怪的一個問題。



          ---------------------------------------------------------
          專注移動開發

          Android, Windows Mobile, iPhone, J2ME, BlackBerry, Symbian
          posted on 2008-12-19 11:41 TiGERTiAN 閱讀(3166) 評論(38)  編輯  收藏 所屬分類: JavaJSF

          評論:
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2009-02-19 17:07 | oil painting
          謝謝  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2009-02-19 17:07 | painting
          學習了  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2009-04-07 15:04 | oil painting
          好 不錯   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2009-06-07 10:31 | oil painting wholesale
          good  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2009-07-19 00:01 | oil painting
          不錯哦  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2009-08-27 23:40 | <a href="http://www.wallartforless.com&quo
          Sounds right.  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2009-08-27 23:41 | Cheap Wall Art and Decor
          Not bad  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-01-06 20:58 | JessicamG
          People think that it is essential to know about this topic. <a href=" http://www.gogetessays.com">Buy essays</a> at the essay writing service about this topic, because that’s really important article.   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-01-13 21:09 | oil painting
          終于找到了  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-02-24 16:44 | China Painting Wholesale
          繼續努力  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-02-24 16:46 | China LED Lights Factory
          學習了  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-07-24 18:17 | business loans
          Don't have enough cash to buy a house? Worry no more, just because this is available to take the mortgage loans to resolve such kind of problems. So get a college loan to buy everything you need.   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-08-05 02:07 | resume writer

          Thank you, it's very brilliant story about this post it might be very kind for students.
          Recently i needed buy resume. To my awesome surprise, resume was deserving the price I paid for it.  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-08-10 13:17 | custom research paper
          People are frequently asking about the good past time. I reply, why do not you pronounce the fine now days? I’ve have a lot of free time with term paper help, and can do anything what I want!   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-08-14 15:55 | custom thesis
          People should make a selection 'tween buy dissertation service and thesis service to buy thesis report about this post.   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-08-19 22:53 | course work writing
          No matter how complicated is your coursework, just because you have to manage with it. Nonetheless, you can just order courseworks and take a rest.   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-09-21 12:13 | free essays
          I heard from college students, they were not be able to grapple with biographies essay paper. Nevertheless, is it hard to employ the great custom papers writing corporation to buy research paper at.   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-09-27 17:28 | essay buy
          Mostly, college students do not like the good essay composing, however they still have to present their essays writing technique! Hence, the narrative essay writing service will be a perfect helper for essays writing.   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-10-14 17:51 | custom term papers
          This kind of information is very limited on internet. Nice to find the post related to my searching criteria. Your updated and informative post will be appreciated by blog loving people.
            回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-10-16 05:54 | custom writing service
          Thanks for good info, very useful!  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-10-21 02:32 | essay writing services
          Are willing to find someone who can confirm that expert essay writing service is trustworthy. So, I will state that you can rely on such type of firms.   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2010-11-21 21:04 | custom essay papers
          It is really clever option to purchase the argument essay writing about this good topic to know more fantastic article just about contacts.   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2011-03-04 18:39 | security camera system
          Its looking nice sharing..   回復  更多評論
            
          # payday loan Alberta 2012-05-11 00:39 | payday loan Alberta
          bfnueto http://paydayloansjjj.ca/ payday loan Alberta  回復  更多評論
            
          # Cash Advance 2012-05-18 07:37 | Cash Advance
          nwkqdg http://paydayloansef.ca/ Cash Advance  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2012-09-25 12:44 | premium essay writing service
          On this site only some students will find superior thing referring to this good post. Thanks to you the good features of contacts used to be patent. We think that after it was not really hard to receaive well performed essay writing example from essay writing service.   回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2013-01-28 15:34 | oil painting
          學習了!!!  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2013-03-29 00:24 | professional resume service
          Go to Exclusive-resume company exclusiveresume.com if you are in need of professional resume writing service. After cooperating with this reliable writing centre, you will be aware of which service to choose for buying resume and where to look over samples of resume writing. Catch the moment, buy resume of excellent quality from professional resume writers.  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2013-03-29 00:24 | Resumes Expert company
          Professional resume writers review will give you a hint where to buy resume paper in case you don’t have time to write a resume, simply visit Resumes expert company, view cover letter samples and our certified resume writers will happily provide you professional resume writing service. Buying resume with us is pretty easy, buy resumes now and stay confident about your future employment.  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2014-01-03 21:44 | http://www.optionsbinaireseu.com/
          Thanks for everything!  回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2014-03-08 20:10 | <a href="http://www.topoptioneu.com/"
          Awesome website
            回復  更多評論
            
          # re: JSF中動態生成HtmlMessage控件出錯的解決辦法 2014-03-08 20:11 | Topoption
          # ankara escort 2014-12-03 20:12 | esc@hotmail.com
          very nice very good  回復  更多評論
            
          主站蜘蛛池模板: 涿州市| 乐平市| 五寨县| 文山县| 乌拉特前旗| 博白县| 天全县| 中牟县| 迭部县| 成安县| 海口市| 喜德县| 刚察县| 镇沅| 鸡泽县| 望都县| 杂多县| 玛多县| 凤山市| 镇安县| 广南县| 张家界市| 革吉县| 汕头市| 辽中县| 甘德县| 九江县| 云林县| 宁都县| 阿克陶县| 沅陵县| 黄龙县| 南京市| 扎囊县| 商都县| 贺州市| 德江县| 英超| 若羌县| 建德市| 莱州市|