The replaced component is removed from the component tree, thus it no
longer has a parent.
Sven
On 10/25/2013 05:37 PM, eugenebalt wrote:
In other words, a Read-only panel is replaced with an Editable panel after
clicking "Edit":
panelReadOnly.replaceWith(
new panelEditable());
The panelEditable is found to have a NULL Parent ID afterwards. We need to
keep track of certain fields only accessible through the parent.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Panel-s-getParent-returns-NULL-after-replaceWith-tp4661961p4661962.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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org