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

          最近搭配Richfaces用Ajax動態(tài)生成控件的HtmlMessage的時(shí)候,會報(bào)錯(cuò),而且有點(diǎn)摸不著頭腦。

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

          這里有個(gè)問題,為什么JSF沒有給HtmlMessage控件動態(tài)生成ID呢?我懷疑是一個(gè)bug,為什么。。
          因?yàn)槿绻覇渭兊纳梢粋€(gè)HtmlMessage實(shí)例,不設(shè)置任何屬性,并動態(tài)的添加到頁面中,沒有任何錯(cuò),但如果我設(shè)置了For屬性,如果不設(shè)置HtmlMessage控件的ID,就會出錯(cuò),大家試試就知道了。。很奇怪的一個(gè)問題。



          ---------------------------------------------------------
          專注移動開發(fā)

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

          評論:
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2009-02-19 17:07 | oil painting
          謝謝  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2009-02-19 17:07 | painting
          學(xué)習(xí)了  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2009-04-07 15:04 | oil painting
          好 不錯(cuò)   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2009-06-07 10:31 | oil painting wholesale
          good  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2009-07-19 00:01 | oil painting
          不錯(cuò)哦  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2009-08-27 23:40 | <a href="http://www.wallartforless.com&quo
          Sounds right.  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2009-08-27 23:41 | Cheap Wall Art and Decor
          Not bad  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2010-01-13 21:09 | oil painting
          終于找到了  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2010-02-24 16:44 | China Painting Wholesale
          繼續(xù)努力  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2010-02-24 16:46 | China LED Lights Factory
          學(xué)習(xí)了  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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!   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.
            回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2010-10-16 05:54 | custom writing service
          Thanks for good info, very useful!  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2011-03-04 18:39 | security camera system
          Its looking nice sharing..   回復(fù)  更多評論
            
          # payday loan Alberta 2012-05-11 00:39 | payday loan Alberta
          bfnueto http://paydayloansjjj.ca/ payday loan Alberta  回復(fù)  更多評論
            
          # Cash Advance 2012-05-18 07:37 | Cash Advance
          nwkqdg http://paydayloansef.ca/ Cash Advance  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.   回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2013-01-28 15:34 | oil painting
          學(xué)習(xí)了!!!  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 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.  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2014-01-03 21:44 | http://www.optionsbinaireseu.com/
          Thanks for everything!  回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2014-03-08 20:10 | <a href="http://www.topoptioneu.com/"
          Awesome website
            回復(fù)  更多評論
            
          # re: JSF中動態(tài)生成HtmlMessage控件出錯(cuò)的解決辦法 2014-03-08 20:11 | Topoption
          # ankara escort 2014-12-03 20:12 | esc@hotmail.com
          very nice very good  回復(fù)  更多評論
            
          主站蜘蛛池模板: 榕江县| 张北县| 竹溪县| 当涂县| 儋州市| 安徽省| 大关县| 茂名市| 安康市| 包头市| 福建省| 金塔县| 兴隆县| 永春县| 湖州市| 丽水市| 淮安市| 夏津县| 盘锦市| 永春县| 芜湖县| 曲阳县| 农安县| 同德县| 加查县| 安溪县| 房山区| 尼勒克县| 大竹县| 娄底市| 慈溪市| 陇西县| 新安县| 略阳县| 新建县| 衡山县| 普安县| 乌恰县| 长泰县| 芜湖县| 嘉禾县|