You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2023/07/27 15:39:00 UTC
[jira] [Updated] (CAUSEWAY-3480) [Wicket Viewer] parameter#mustSatisfy is evaluated when hit OK, rather than when tab out (ie action scoped, not parameter scoped)
[ https://issues.apache.org/jira/browse/CAUSEWAY-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Keir Haywood updated CAUSEWAY-3480:
------------------------------------------
Fix Version/s: 2.0.0-RC4
(was: 2.0.0-RC3)
> [Wicket Viewer] parameter#mustSatisfy is evaluated when hit OK, rather than when tab out (ie action scoped, not parameter scoped)
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3480
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3480
> Project: Causeway
> Issue Type: Bug
> Components: Viewer Wicket
> Affects Versions: 2.0.0-RC1
> Reporter: Daniel Keir Haywood
> Priority: Minor
> Labels: end-user-visible, reproduced
> Fix For: 2.0.0-RC4
>
> Attachments: image-2023-06-02-09-08-43-370.png
>
>
> in demo app, @Property > mustSatisfy
> invoke the action, enter '17' (which is an invalid value).
> Tabbing out does not trigger the validation.
> When we hit OK, we see the validation checked, with the error in the location of action validation (of all parameters):
> !image-2023-06-02-09-08-43-370.png|width=942,height=229!
> by way of contrast, if a parameter is marked as mandatory, then that _is_ checked when tab out, ie at the parameter level.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)