You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Stéphane Decleire (JIRA)" <de...@tapestry.apache.org> on 2008/07/08 00:22:31 UTC
[jira] Created: (TAPESTRY-2505) "Selected" event of Submit
component is not correctly triggered when the form submission is handled as
an Ajax request
"Selected" event of Submit component is not correctly triggered when the form submission is handled as an Ajax request
----------------------------------------------------------------------------------------------------------------------
Key: TAPESTRY-2505
URL: https://issues.apache.org/jira/browse/TAPESTRY-2505
Project: Tapestry
Issue Type: Bug
Components: XHR/dhtml/Ajax
Affects Versions: 5.0.14
Reporter: Stéphane Decleire
When a form submission is handled as an Ajax Request and this form includes several submit components, all the "selected" events of those components are the same.
For example :
<t:form t:id="testForm" t:zone="testZone">
<t:textfield t:id="field1" t:value="field1"/>
<t:submit t:id="submit1" t:value="1"/>
<t:submit t:id="submit2" t:value="2"/>
</t:form>
void onSelectedFromSubmit1() {
log.info("submit1");
}
void onSelectedFromSubmit2() {
log.info("submit2");
}
Every form submited by both submit1 and submit2 components will trigger the onSelectedFromSubmit1 function and the onSelectedFromSubmit2 will never be triggered.
--
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
Re: [jira] Created: (TAPESTRY-2505) "Selected" event of Submit component
is not correctly triggered when the form submission is handled as an Ajax
request
Posted by Ulrich Stärk <ul...@spielviel.de>.
Have you tried naming your components different then submit1 and submit2? How does Tapestry behave
if you use the OnEvent annotation on your methods?
Uli
Stéphane Decleire (JIRA) schrieb:
> "Selected" event of Submit component is not correctly triggered when the form submission is handled as an Ajax request
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2505
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2505
> Project: Tapestry
> Issue Type: Bug
> Components: XHR/dhtml/Ajax
> Affects Versions: 5.0.14
> Reporter: Stéphane Decleire
>
>
> When a form submission is handled as an Ajax Request and this form includes several submit components, all the "selected" events of those components are the same.
> For example :
>
> <t:form t:id="testForm" t:zone="testZone">
> <t:textfield t:id="field1" t:value="field1"/>
> <t:submit t:id="submit1" t:value="1"/>
> <t:submit t:id="submit2" t:value="2"/>
> </t:form>
>
> void onSelectedFromSubmit1() {
> log.info("submit1");
> }
> void onSelectedFromSubmit2() {
> log.info("submit2");
> }
>
> Every form submited by both submit1 and submit2 components will trigger the onSelectedFromSubmit1 function and the onSelectedFromSubmit2 will never be triggered.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Assigned: (TAPESTRY-2505) "Selected" event of Submit
component is not correctly triggered when the form submission is handled as
an Ajax request
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship reassigned TAPESTRY-2505:
----------------------------------------------
Assignee: Howard M. Lewis Ship
> "Selected" event of Submit component is not correctly triggered when the form submission is handled as an Ajax request
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2505
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2505
> Project: Tapestry
> Issue Type: Bug
> Components: XHR/dhtml/Ajax
> Affects Versions: 5.0.14
> Reporter: Stéphane Decleire
> Assignee: Howard M. Lewis Ship
>
> When a form submission is handled as an Ajax Request and this form includes several submit components, all the "selected" events of those components are the same.
> For example :
> <t:form t:id="testForm" t:zone="testZone">
> <t:textfield t:id="field1" t:value="field1"/>
> <t:submit t:id="submit1" t:value="1"/>
> <t:submit t:id="submit2" t:value="2"/>
> </t:form>
> void onSelectedFromSubmit1() {
> log.info("submit1");
> }
> void onSelectedFromSubmit2() {
> log.info("submit2");
> }
> Every form submited by both submit1 and submit2 components will trigger the onSelectedFromSubmit1 function and the onSelectedFromSubmit2 will never be triggered.
--
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
[jira] Commented: (TAPESTRY-2505) "Selected" event of Submit
component is not correctly triggered when the form submission is handled as
an Ajax request
Posted by "Stéphane Decleire (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617204#action_12617204 ]
Stéphane Decleire commented on TAPESTRY-2505:
---------------------------------------------
I think it's a complement to the TAPESTRY-2324 issue since the first case described in this issue and set as 'working' does not work either.
> "Selected" event of Submit component is not correctly triggered when the form submission is handled as an Ajax request
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2505
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2505
> Project: Tapestry
> Issue Type: Bug
> Components: XHR/dhtml/Ajax
> Affects Versions: 5.0.14
> Reporter: Stéphane Decleire
>
> When a form submission is handled as an Ajax Request and this form includes several submit components, all the "selected" events of those components are the same.
> For example :
> <t:form t:id="testForm" t:zone="testZone">
> <t:textfield t:id="field1" t:value="field1"/>
> <t:submit t:id="submit1" t:value="1"/>
> <t:submit t:id="submit2" t:value="2"/>
> </t:form>
> void onSelectedFromSubmit1() {
> log.info("submit1");
> }
> void onSelectedFromSubmit2() {
> log.info("submit2");
> }
> Every form submited by both submit1 and submit2 components will trigger the onSelectedFromSubmit1 function and the onSelectedFromSubmit2 will never be triggered.
--
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
[jira] Commented: (TAPESTRY-2505) "Selected" event of Submit
component is not correctly triggered when the form submission is handled as
an Ajax request
Posted by "Robert Zeigler (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614961#action_12614961 ]
Robert Zeigler commented on TAPESTRY-2505:
------------------------------------------
Looks like a duplicate of TAPESTRY-2324
> "Selected" event of Submit component is not correctly triggered when the form submission is handled as an Ajax request
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2505
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2505
> Project: Tapestry
> Issue Type: Bug
> Components: XHR/dhtml/Ajax
> Affects Versions: 5.0.14
> Reporter: Stéphane Decleire
>
> When a form submission is handled as an Ajax Request and this form includes several submit components, all the "selected" events of those components are the same.
> For example :
> <t:form t:id="testForm" t:zone="testZone">
> <t:textfield t:id="field1" t:value="field1"/>
> <t:submit t:id="submit1" t:value="1"/>
> <t:submit t:id="submit2" t:value="2"/>
> </t:form>
> void onSelectedFromSubmit1() {
> log.info("submit1");
> }
> void onSelectedFromSubmit2() {
> log.info("submit2");
> }
> Every form submited by both submit1 and submit2 components will trigger the onSelectedFromSubmit1 function and the onSelectedFromSubmit2 will never be triggered.
--
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
[jira] Closed: (TAPESTRY-2505) "Selected" event of Submit component
is not correctly triggered when the form submission is handled as an Ajax
request
Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAPESTRY-2505.
------------------------------------------
Resolution: Duplicate
> "Selected" event of Submit component is not correctly triggered when the form submission is handled as an Ajax request
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2505
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2505
> Project: Tapestry
> Issue Type: Bug
> Components: XHR/dhtml/Ajax
> Affects Versions: 5.0.14
> Reporter: Stéphane Decleire
> Assignee: Howard M. Lewis Ship
>
> When a form submission is handled as an Ajax Request and this form includes several submit components, all the "selected" events of those components are the same.
> For example :
> <t:form t:id="testForm" t:zone="testZone">
> <t:textfield t:id="field1" t:value="field1"/>
> <t:submit t:id="submit1" t:value="1"/>
> <t:submit t:id="submit2" t:value="2"/>
> </t:form>
> void onSelectedFromSubmit1() {
> log.info("submit1");
> }
> void onSelectedFromSubmit2() {
> log.info("submit2");
> }
> Every form submited by both submit1 and submit2 components will trigger the onSelectedFromSubmit1 function and the onSelectedFromSubmit2 will never be triggered.
--
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