You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/04/29 19:16:17 UTC
[jira] [Closed] (TAP5-2171) LinkSubmit Broken With Client-side
Validation
[ https://issues.apache.org/jira/browse/TAP5-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade closed TAP5-2171.
--------------------------------
Resolution: Fixed
Fix Version/s: 5.4
I believe this is fixed in more recent 5.4 versions. If you still have issues with the latest public beta (5.4-beta-3), please reopen the issue.
> LinkSubmit Broken With Client-side Validation
> ---------------------------------------------
>
> Key: TAP5-2171
> URL: https://issues.apache.org/jira/browse/TAP5-2171
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.4
> Reporter: Peter H
> Fix For: 5.4
>
>
> This was confirmed on the mailing list by one other user of 5.4 alpha 15.
> Example tml;
> <!DOCTYPE html>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
> <head>
> <title>Bob</title>
> </head>
> <body>
> <t:form>
> <t:textfield value="bob" validate="required" />
> <t:linksubmit>Link Submit</t:linksubmit>
> <t:submit />
> </t:form>
> </body>
> </html>
> Example java;
> @Property
> private String bob_;
> Clicking the linksubmit causes a POST regardless of the client-side validation on textfield bob, and when the page reloads we see the validation message.
> Clicking the submit causes no POST and client-side validation appears immediately.
> Thanks!
> Peter
--
This message was sent by Atlassian JIRA
(v6.2#6252)