浏览 2558 次
该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2007-07-30
when i push the button ,javascript run in error, error :'j_5Fid_5Fjsp_5F451056552_5F5_3Adate1CalendarVar' null or not object. i was pain for it ..please help me. i find the bug..... the reson is javascript not initiate correct caused by the jsf1.2 render kit render in the wrong way !!!!!! i campare the myface1.2 to myface1.1 render style in thml. the myface1.1 render like is: <html> <head> <b> <!-- javascript render here !!!!--></b> </head> <body> <b><!-- jsf to html render here !!! --></b> </body> </html> but the myface1.2 render is not correct like that: <b><!-- jsf to html render here !!! --></b> <html> <head> <b> <!-- javascript render here !!!!--></b> </head> <body> </body> </html> 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2007-07-30
i finally resolve the problem ,all run fine;
i modify my jsp code, put the <f:view> tag around all my html like this: <f:view> <html> .... </html> </f:view> |
|
返回顶楼 | |
发表时间:2007-10-10
LZ能够告诉我myfaces1.2的配置吗..最近想把子JSF1.2换成myfaces1.2
|
|
返回顶楼 | |