[
https://issues.apache.org/jira/browse/TAP5-779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ulrich Stärk updated TAP5-779:
------------------------------
Description:
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");
}
}
was:
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 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");
}
}
> 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
>
> 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.