You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Paul Stanton (JIRA)" <de...@tapestry.apache.org> on 2007/07/05 04:14:04 UTC
[jira] Created: (TAPESTRY-1630) EventListener autoSubmit=false has
no effect
EventListener autoSubmit=false has no effect
--------------------------------------------
Key: TAPESTRY-1630
URL: https://issues.apache.org/jira/browse/TAPESTRY-1630
Project: Tapestry
Issue Type: Bug
Components: Annotations, Core Components
Affects Versions: 4.1.2
Environment: win xp, java 1.6.0_01
Reporter: Paul Stanton
setting autoSubmit=false on @EventListener, autoSubmit="false" on LinkSubmit, Button and Submit has no effect. FYI I also had async=true.
my page's form submit listener was called for async requests regardless of the setting for autoSubmit
@EventListener(targets = {"myButton"}, events = "onclick", async = true, autoSubmit = false)
public void showDialog()
<input type="button" jwcid="myButton@Button" label="Show Dialog"/>
<input type="submit" jwcid="@Submit" listener="listener:showDialog" async="true" autoSubmit="false" label="Show Dialog"/>
<a jwcid="@LinkSubmit" listener="listener:showDialog" async="true" autoSubmit="false">Show Dialog</a>
Workaround: use DirectLink for async requests where the form should not be submitted
--
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-1630) EventListener autoSubmit=false has
no effect
Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse Kuhnert closed TAPESTRY-1630.
-----------------------------------
Resolution: Invalid
Assignee: Jesse Kuhnert
Submit buttons submit forms by default without tapestrys help - so yeah I'd target something else for events .
> EventListener autoSubmit=false has no effect
> --------------------------------------------
>
> Key: TAPESTRY-1630
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1630
> Project: Tapestry
> Issue Type: Bug
> Components: Annotations, Core Components
> Affects Versions: 4.1.2
> Environment: win xp, java 1.6.0_01
> Reporter: Paul Stanton
> Assignee: Jesse Kuhnert
>
> setting autoSubmit=false on @EventListener, autoSubmit="false" on LinkSubmit, Button and Submit has no effect. FYI I also had async=true.
> my page's form submit listener was called for async requests regardless of the setting for autoSubmit
> @EventListener(targets = {"myButton"}, events = "onclick", async = true, autoSubmit = false)
> public void showDialog()
> <input type="button" jwcid="myButton@Button" label="Show Dialog"/>
> <input type="submit" jwcid="@Submit" listener="listener:showDialog" async="true" autoSubmit="false" label="Show Dialog"/>
> <a jwcid="@LinkSubmit" listener="listener:showDialog" async="true" autoSubmit="false">Show Dialog</a>
> Workaround: use DirectLink for async requests where the form should not be submitted
--
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-1630) EventListener autoSubmit=false
has no effect
Posted by "Paul Stanton (JIRA)" <de...@tapestry.apache.org>.
[ https://issues.apache.org/jira/browse/TAPESTRY-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517798 ]
Paul Stanton commented on TAPESTRY-1630:
----------------------------------------
well, the button component was what i was trying to use as buttons are generally used for non form submission task. i was just testing with submit and linksubmit to prove a point. basically i need to use button for the look and feel of a button, but am bemused as to why using button means my form will always be submitted. isn't that what the autoSubmit parameter was for? that's how you described it in the mailing lists?
> EventListener autoSubmit=false has no effect
> --------------------------------------------
>
> Key: TAPESTRY-1630
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1630
> Project: Tapestry
> Issue Type: Bug
> Components: Annotations, Core Components
> Affects Versions: 4.1.2
> Environment: win xp, java 1.6.0_01
> Reporter: Paul Stanton
> Assignee: Jesse Kuhnert
>
> setting autoSubmit=false on @EventListener, autoSubmit="false" on LinkSubmit, Button and Submit has no effect. FYI I also had async=true.
> my page's form submit listener was called for async requests regardless of the setting for autoSubmit
> @EventListener(targets = {"myButton"}, events = "onclick", async = true, autoSubmit = false)
> public void showDialog()
> <input type="button" jwcid="myButton@Button" label="Show Dialog"/>
> <input type="submit" jwcid="@Submit" listener="listener:showDialog" async="true" autoSubmit="false" label="Show Dialog"/>
> <a jwcid="@LinkSubmit" listener="listener:showDialog" async="true" autoSubmit="false">Show Dialog</a>
> Workaround: use DirectLink for async requests where the form should not be submitted
--
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