[ 
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="[EMAIL PROTECTED]" 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to