You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "splounx (JIRA)" <de...@tapestry.apache.org> on 2008/07/16 19:58:31 UTC
[jira] Commented: (TAPESTRY-627) "SubmitOnChange" attribute of
"PropertySelection" doesn't work
[ https://issues.apache.org/jira/browse/TAPESTRY-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614040#action_12614040 ]
splounx commented on TAPESTRY-627:
----------------------------------
Still seeing the following code in PropertySelection.renderFormComponent() in the 4.0.2 release source code for Tapestry:
if (getSubmitOnChange())
writer.attribute("onchange", "javascript: this.form.events.submit();");
Not clear on how the overhaul of Form.js described in TAPESTRY-554 would resolve this particular issue since this class is rendering the following broken JavaScript right into the HTML output:
onchange="javascript: this.form.events.submit();"
Is there a newer 4.0 release where this has been addressed? I've had to patch locally in the meanwhile...
> "SubmitOnChange" attribute of "PropertySelection" doesn't work
> --------------------------------------------------------------
>
> Key: TAPESTRY-627
> URL: https://issues.apache.org/jira/browse/TAPESTRY-627
> Project: Tapestry
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: Tapestry 4 beta5
> Reporter: Jone
> Assignee: Howard M. Lewis Ship
>
> "SubmitOnChange" attribute of "PropertySelection" doesn't work,this is just because the javascript rendered by the component doesn't work.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org