[
https://issues.apache.org/jira/browse/TAP5-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAP5-1503.
--------------------------------------
Resolution: Duplicate
Assignee: Howard M. Lewis Ship
Previously fixed as TAP5-1451.
> Submit/LinkSubmit's SubmitMode ("mode") parameter does not work serverside
> --------------------------------------------------------------------------
>
> Key: TAP5-1503
> URL: https://issues.apache.org/jira/browse/TAP5-1503
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Adam
> Assignee: Howard M. Lewis Ship
>
> The SubmitMode javadoc says:
> * Defines the client and server-side behavior of a {@link Submit} or {@link
> LinkSubmit} component.
> *
> * @since 5.2.0
> The client side validation gets disabled as expected. The server side
> validation does not. There does not seem to be any code for doing this, it
> seems to always plunge into firing validate events.
> Here's a demo tml:
> <t:form>
> <t:errors />
> <t:textfield value="dummy" validate="required" />
> <t:submit t:id="cancel" mode="CANCEL" />
> <t:linksubmit mode="CANCEL">hmm</t:linksubmit>
> </t:form>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira