`
songxh2
  • 浏览: 132358 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

t:inputdate button rase a err in tomahowk1.1.6+myface1.2

阅读更多
t:inputdate popup buttion run a err in tomahowk1.1.6 + myface1.2

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>

分享到:
评论
2 楼 julyboxer 2007-10-10  
LZ能够告诉我myfaces1.2的配置吗..最近想把子JSF1.2换成myfaces1.2
1 楼 songxh2 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>

相关推荐

Global site tag (gtag.js) - Google Analytics