[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Keir Haywood updated CAUSEWAY-3436:
------------------------------------------
    Description: 
In demo app, on the @Property#maxLength page, also demonstrates use of 
@Parameter#maxLength.

When specifying a string that's too long, the validation message appears in the 
same place that a validateXxx() message would appear (ie for the entire action 
prompt), rather than scoped to the param (as it would for a validate0Xxx() 
message).

 

!image-2023-04-20-06-53-59-278.png|width=729,height=174!

 

similarly for @Property#mustSatisfy:

 

!image-2023-04-20-07-12-37-411.png|width=736,height=209!

  was:
In demo app, on the @Property#maxLength page, also demonstrates use of 
@Parameter#maxLength.

When specifying a string that's too long, the validation message appears in the 
same place that a validateXxx() message would appear (ie for the entire action 
prompt), rather than scoped to the param (as it would for a validate0Xxx() 
message).

 

!image-2023-04-20-06-53-59-278.png|width=729,height=174!


> [demo app] @Parameter#maxLength seems to be evaluated at the action level 
> rather than param level.
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3436
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3436
>             Project: Causeway
>          Issue Type: Improvement
>          Components: Core, Viewer Wicket
>    Affects Versions: 2.0.0-RC1
>            Reporter: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 2.0.0-RC3
>
>         Attachments: image-2023-04-20-06-53-59-278.png, 
> image-2023-04-20-07-12-37-411.png
>
>
> In demo app, on the @Property#maxLength page, also demonstrates use of 
> @Parameter#maxLength.
> When specifying a string that's too long, the validation message appears in 
> the same place that a validateXxx() message would appear (ie for the entire 
> action prompt), rather than scoped to the param (as it would for a 
> validate0Xxx() message).
>  
> !image-2023-04-20-06-53-59-278.png|width=729,height=174!
>  
> similarly for @Property#mustSatisfy:
>  
> !image-2023-04-20-07-12-37-411.png|width=736,height=209!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to