Hi,

 

I am including a 'Script' component in my page which renders fine (my function 
gets created 

as planned). However, at the bottom of the HTML, the following gets generated:

 

<script language="JavaScript" type="text/javascript"><!--

    setFocus(); // this is fine, the function I defined in my script file

    

    Tapestry.register_form('loginForm'); 

    Tapestry.set_focus('username');

// --></script>

 

The generated page knows nothing about a 'Tapestry' object so this creates a 
javascript

error. I am not sure what or why this occurs.

 

Thanks,

Amir

 

 

Reply via email to