Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.4
-
None
-
None
Description
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