Thanks Sven. I was actually talking about the new "replacING" component, not
the old replaced one. That replacing component had NULL as its Parent.

I found the solution discussed here:
http://apache-wicket.1842946.n4.nabble.com/Component-parent-null-after-replace-td1890602.html

The problem is it's not enough to do replaceWith(), you also have to reset
the reference.

panel.replaceWith(temp);
panel = temp;



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Panel-s-getParent-returns-NULL-after-replaceWith-tp4661961p4661965.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to