You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2009/12/31 15:47:29 UTC

[jira] Updated: (TAP5-779) CLONE -Linksubmit doesn't work inside a form with Zone parameter set

     [ https://issues.apache.org/jira/browse/TAP5-779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko updated TAP5-779:
--------------------------------

    Fix Version/s: 5.1.0.7

> CLONE -Linksubmit doesn't work inside a form with Zone parameter set
> --------------------------------------------------------------------
>
>                 Key: TAP5-779
>                 URL: https://issues.apache.org/jira/browse/TAP5-779
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Ulrich Stärk
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0, 5.1.0.6, 5.1.0.7
>
>         Attachments: TAP5-779-5.1.txt, TAP5-779.txt
>
>
> This is a clone of TAP5-389 which was closed as CNR. This still IS an issue with 5.2-SNAPSHOT. Clicking on the link generated by linksubmit in the following example will not trigger linksubmit's selected event. The output is always just "form was submitted".
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
>   <t:form zone="zone">
>     <t:zone t:id="zone">
>       <t:select value="type" />
>       <t:linksubmit t:id="submit">submit</t:linksubmit>
>     </t:zone>
>   </t:form>
> </html>
> public class Test
> {
>     public enum Types { TYPE1, TYPE2, TYPE3; }
>     
>     @Property private Types type;
>     
>     void onSelectedFromSubmit()
>     {
>         System.out.println("linksubmit was used");
>     }
>     
>     void onSuccess()
>     {
>         System.out.println("form was submitted");
>     }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.