[
https://issues.apache.org/jira/browse/CAUSEWAY-3480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood updated CAUSEWAY-3480:
------------------------------------------
Summary: [duplicate] [Wicket Viewer] parameter#mustSatisfy is evaluated
when hit OK, rather than when tab out (ie action scoped, not parameter scoped)
(was: [Wicket Viewer] parameter#mustSatisfy is evaluated when hit OK, rather
than when tab out (ie action scoped, not parameter scoped))
> [duplicate] [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.1.0
>
> 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)