[ 
https://issues.apache.org/jira/browse/WICKET-6901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17380783#comment-17380783
 ] 

Sven Meier commented on WICKET-6901:
------------------------------------

You can easily change the configuration to not alter the markup:

    beanValidationConfiguration.reguster(Size.class, (component, tag, 
annotation) -> {});

Maybe I misunderstood you, but is this what you are looking for?

> PropertyValidator and JSR303 problem
> ------------------------------------
>
>                 Key: WICKET-6901
>                 URL: https://issues.apache.org/jira/browse/WICKET-6901
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-bean-validation
>            Reporter: Sergei
>            Priority: Major
>         Attachments: Screenshot_20210714_165724.png, bugreportproject.zip
>
>
> When using JSR 303 annotations, PropertyValidator does not display a message 
> in the feedback panel due to the automatic addition of the maxlength 
> attribute to the markup. To do this, you need to manually increase the value 
> of the maxlength attribute in the markup or do it during rendering using 
> AttributeModifier.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to