You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/03/04 21:23:56 UTC

[jira] Closed: (TAP5-389) Linksubmit doesn't work inside a form with Zone parameter set

     [ https://issues.apache.org/jira/browse/TAP5-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-389.
-------------------------------------

    Resolution: Cannot Reproduce

Cannot reproduce this in 5.1.0.1; I have added specific tests for this scenario.

> Linksubmit doesn't work inside a form with Zone parameter set
> -------------------------------------------------------------
>
>                 Key: TAP5-389
>                 URL: https://issues.apache.org/jira/browse/TAP5-389
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.17
>            Reporter: Henry Chen
>            Assignee: Howard M. Lewis Ship
>
> When LinkSubmit is placed inside a form with Zone parameter, the following part of linksubmit.js will not do the right thing.
>  if (onsubmit == undefined || onsubmit.call(window.document, event)) 
>  {  
>      this.createHidden();  
>      this.form.submit();  
> }
>  createHidden() is not called so no hidden field is thus inserted. 
>  Removing 'zone' parameter from Form component fixed this immediately. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.