opensubscriber
   Find in this group all groups
 
Unknown more information…

c : commits@tapestry.apache.org 15 July 2009 • 8:55PM -0400

[jira] Created: (TAP5-779) CLONE -Linksubmit doesn't work inside a form with Zone parameter set
by Ulrich Stärk (JIRA)

REPLY TO AUTHOR
 
REPLY TO GROUP




CLONE -Linksubmit doesn't work inside a form with Zone parameter set
--------------------------------------------------------------------

                 Key: TAP5-779
                 URL: https://issues.apache.org/jira/browse/TAP5-779
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.0.17
            Reporter: Ulrich Stärk
            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.


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.