This is the standard tapestry form javascript contribution. You surely have a form on your page (called "loginForm" :) ) Its strange that it generates a JS error - are you sure it this code? do you overwrite the Tapestry object in your generated JS?
Cheers,
ROn

ציטוט [EMAIL PROTECTED]:
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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to