You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ondrej Fafejta (Jira)" <ji...@apache.org> on 2021/01/26 11:07:00 UTC
[jira] [Created] (WICKET-6863) Method
Component.setVisibilityAllowed should call onVisibleStateChanged()
Ondrej Fafejta created WICKET-6863:
--------------------------------------
Summary: Method Component.setVisibilityAllowed should call onVisibleStateChanged()
Key: WICKET-6863
URL: https://issues.apache.org/jira/browse/WICKET-6863
Project: Wicket
Issue Type: Bug
Affects Versions: 9.2.0
Reporter: Ondrej Fafejta
Method {{Component.setVisibilityAllowed}} should call {{onVisibleStateChanged()}} as method {{Component.setVisible}} does.
Else exception is thrown:
{code:java}
org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. Possible reasons could be that:
1) you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered),
2) if your components were added in a parent container then make sure the markup for the child container includes them in <wicket:extend>.
{code}
All is demonstrated in github project
https://github.com/fafejtao/wicket9.2_visibility_bug
{{}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)