[ http://issues.apache.org/jira/browse/TAPESTRY-644?page=all ]
Howard M. Lewis Ship updated TAPESTRY-644:
------------------------------------------
Summary: Javascript error with LinkSubmit component (was: Javascript
error with @LinkSubmit)
Assign To: Howard M. Lewis Ship
This is very odd; I just tested it (CVS head, i.e., beta-7) and it works 100%.
form.submit() is a function.
Please shut down your browser, restart your application, clean your browser
page cache, and try again.
The only thing I can imagine is that there is some other object in your DOM
with the id "saveForm". If you continue to have a problem, we're going to need
to see your HTML template, page specification and the rendered HTML output.
> Javascript error with LinkSubmit component
> ------------------------------------------
>
> Key: TAPESTRY-644
> URL: http://issues.apache.org/jira/browse/TAPESTRY-644
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Environment: tapestry-4.0-beta-6
> Reporter: Jonathan Lee
> Assignee: Howard M. Lewis Ship
>
> When clicking on an @LinkSubmit link, a JavaScript error is raised by the
> browser
> Firefox
> --------------------------------------------
> form.submit is not a function
> IE
> --------------------------------------------
> Object doesn't support this property or method
> Error occurs within the following generated JavaScript
> function onclick_LinkSubmit()
> {
> var form = Tapestry.find('saveForm');
>
> if (form.events.onsubmit_handler())
> {
> Tapestry.find('LinkSubmit').value = "T";
> form.onsubmit = null;
> form.submit();
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]