[ https://issues.apache.org/jira/browse/WICKET-6447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kamil updated WICKET-6447: -------------------------- Attachment: showcase-requiredByVisibility.zip I'm also adding different use case where "required" is acheved by changing visibility. If you think that this is different bug, then just please separate them > Dynamic setRequired() is not taken into account by WicketTester > --------------------------------------------------------------- > > Key: WICKET-6447 > URL: https://issues.apache.org/jira/browse/WICKET-6447 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 8.0.0-M6 > Reporter: Kamil > Attachments: showcase-changeRequired.zip, > showcase-requiredByVisibility.zip > > > 1)Run the app > 2)Click submit (with empty field) -> you should see "SUCCESS" in console > 3)Click the checkbox and submit (with empty field) -> you should see "ERROR" > in console > now run the tests -- This message was sent by Atlassian JIRA (v6.4.14#64029)