You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org> on 2007/06/22 17:49:25 UTC
[jira] Created: (WICKET-684) JavaScript complains if an AjaxButton
has the name "submit"
JavaScript complains if an AjaxButton has the name "submit"
-----------------------------------------------------------
Key: WICKET-684
URL: https://issues.apache.org/jira/browse/WICKET-684
Project: Wicket
Issue Type: Bug
Components: wicket
Reporter: Jean-Baptiste Quenot
Assignee: Jean-Baptiste Quenot
Fix For: 1.3.0-beta2
When using an AjaxButton (former AjaxSubmitButton) with id "submit", the generated name attribute on the HTML tag is "submit" and it causes problems when trying to submit the form, because submit is already a function. There is code to handle that in FormComponent, but sadly fieldName.equals("submit") does not return true because PrependingStringBuffer.equals() is not implemented.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-684) JavaScript complains if an AjaxButton
has the name "submit"
Posted by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Quenot resolved WICKET-684.
-----------------------------------------
Resolution: Fixed
> JavaScript complains if an AjaxButton has the name "submit"
> -----------------------------------------------------------
>
> Key: WICKET-684
> URL: https://issues.apache.org/jira/browse/WICKET-684
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Jean-Baptiste Quenot
> Assignee: Jean-Baptiste Quenot
> Fix For: 1.3.0-beta2
>
>
> When using an AjaxButton (former AjaxSubmitButton) with id "submit", the generated name attribute on the HTML tag is "submit" and it causes problems when trying to submit the form, because submit is already a function. There is code to handle that in FormComponent, but sadly fieldName.equals("submit") does not return true because PrependingStringBuffer.equals() is not implemented.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.