Hi wicketeers ;
Which is the recommended way of initializing page components: onInitialize()
or Constructor ?
regards.
Josh.
Use onInitialize() if you need access to the parent component or to
the associated markup
On Wed, Oct 19, 2011 at 3:28 PM, Josh Kamau joshnet2...@gmail.com wrote:
Hi wicketeers ;
Which is the recommended way of initializing page components: onInitialize()
or Constructor ?
regards.
Josh
Hi,
when onInitialize is called, component has already been inserted into
its hierarchy so you can call getParent() or getPage() safely.
Hi wicketeers ;
Which is the recommended way of initializing page components: onInitialize()
or Constructor ?
regards.
Josh
of initializing page components:
onInitialize()
or Constructor ?
regards.
Josh.
--**--**-
To unsubscribe, e-mail:
users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h