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>

你可能感兴趣的:(JavaScript,html,jsp,JSF,J#)