You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ulrich Stärk (JIRA)" <ji...@apache.org> on 2009/09/01 16:45:33 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 ]
Ulrich Stärk updated TAP5-779:
------------------------------
Attachment: TAP5-779.txt
Patch and Test. The previous test just confirmed that the form was submittedt but didn't check whether the selected event was fired. The new one does.
> 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: Howard M. Lewis Ship
> 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.