Author: jdonnerstag
Date: Sat Oct 3 11:59:19 2009
New Revision: 821296
URL: http://svn.apache.org/viewvc?rev=821296&view=rev
Log:
fixed: AutoComplete textfield ignores "visible" property within hierarchy.
fixed in a more generic way. renderHeader will not be called if the component
is not visible in the hierarchy.
Issue: WICKET-2497
Modified:
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
Modified:
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
URL:
http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java?rev=821296&r1=821295&r2=821296&view=diff
==============================================================================
---
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
(original)
+++
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
Sat Oct 3 11:59:19 2009
@@ -2692,7 +2692,7 @@
*/
public void renderHead(final HtmlHeaderContainer container)
{
- if (isVisible() && isRenderAllowed())
+ if (isVisibleInHierarchy() && isRenderAllowed())
{
if (this instanceof IHeaderContributor)
{