You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by song <so...@hotmail.com> on 2007/07/30 08:39:03 UTC

t:inputdate popup buttion run 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.
-- 
View this message in context: http://www.nabble.com/t%3Ainputdate-popup-buttion-run-a-err-in-tomahowk1.1.6-%2B-myface1.2-tf4168256.html#a11858757
Sent from the MyFaces - Users mailing list archive at Nabble.com.


i finally resolve the problem ,all run fine

Posted by song <so...@hotmail.com>.
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>






song wrote:
> 
> 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 is:
> <html>
> <head>
>  <!-- javascript render here !!!!-->
> </head>
> <body>
>    <!-- jsf to html render here !!! -->
> </body>
> </html>
> 
> 
> but the myface1.2 render is not correct like that:
> 
> <!-- jsf to html render here !!! -->
> 
> <html>
> <head>
>  <!-- javascript render here !!!!-->
> </head>
> <body>
> </body>
> </html>
> 
> 
> 
> 
> 
> 
> 
> song wrote:
>> 
>> 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.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/t%3Ainputdate-popup-buttion-run-a-err-in-tomahowk1.1.6-%2B-myface1.2-tf4168256.html#a11859473
Sent from the MyFaces - Users mailing list archive at Nabble.com.


the reson is javascript not initiate correct caused by the jsf1.2 render kit render in the wrong way!!!

Posted by song <so...@hotmail.com>.
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 is:
<html>
<head>
 <!-- javascript render here !!!!-->
</head>
<body>
   <!-- jsf to html render here !!! -->
</body>
</html>


but the myface1.2 render is not correct like that:

<!-- jsf to html render here !!! -->

<html>
<head>
 <!-- javascript render here !!!!-->
</head>
<body>
</body>
</html>







song wrote:
> 
> 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.
> 

-- 
View this message in context: http://www.nabble.com/t%3Ainputdate-popup-buttion-run-a-err-in-tomahowk1.1.6-%2B-myface1.2-tf4168256.html#a11859085
Sent from the MyFaces - Users mailing list archive at Nabble.com.