[
https://issues.apache.org/jira/browse/TAP5-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678840#action_12678840
]
Fernando commented on TAP5-511:
-------------------------------
I'm from the same company, and I just saw this behavior on another page.. :(
I'll try to get more information, but it's really hard to debug.. it looks like
it's being initialized properly.. but it keeps submitting without ajax.. very
weird :(
not sure where it gets confused. maybe we have some javascript that is
breaking zone support.. (but weird that it's only for forms with more than two
fields..
I believe someone else in our team brought up an issue that some form submit
was being fired, but the event object was null for some reason ( firefox maybe
), so when you tried to do a event.cancel(), it threw and exception and normal
zone handling would break.. i can't remember the bug####.
> I have a form in a zone that refers to that zone to refresh content. When
> there are 3 or less form elements, the form is submitted as an ajax request.
> When I add a fourth element (textarea, textfield, radio, hidden), the form
> submits as a non-ajax request
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-511
> URL: https://issues.apache.org/jira/browse/TAP5-511
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.1.0.0
> Reporter: Mike Taylor
>
> I have a form in a zone that refers to that zone to refresh content. When
> there are 3 or less form elements, the form is submitted as an ajax request
> and updates the referred zone. When I add a fourth element (textarea,
> textfield, radio, hidden -- does not matter what type), the form submits as a
> non-ajax request and refreshes the entire page, not just the zone. I've tried
> all sorts of combinations, and it all hinges upon the number of elements in
> the form
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.