You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Mike Taylor (JIRA)" <ji...@apache.org> on 2009/02/11 01:39:59 UTC
[jira] Created: (TAP5-511) 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
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.
[jira] Commented: (TAP5-511) 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
Posted by "Fernando (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (TAP5-511) 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
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-511.
-------------------------------------
Resolution: Cannot Reproduce
Please provide a real test case; Tapestry's test suite includes forms with fewer than and more than 3 fields that update zones so I have nothing to go on here.
> 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.
[jira] Closed: (TAP5-511) 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
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-511.
-------------------------------------
Resolution: Cannot Reproduce
Please provide a real test case; Tapestry's test suite includes forms with fewer than and more than 3 fields that update zones so I have nothing to go on here.
> 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.
[jira] Commented: (TAP5-511) 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
Posted by "Fernando (JIRA)" <ji...@apache.org>.
[ 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.