tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Drobiazko (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (TAP5-779) CLONE -Linksubmit doesn't work inside a form with Zone parameter set
Date Thu, 08 Oct 2009 16:40:31 GMT

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

Igor Drobiazko reassigned TAP5-779:
-----------------------------------

    Assignee: Igor Drobiazko  (was: Howard M. Lewis Ship)

> 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
>         Attachments: 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.


Mime
View raw message