The instantiation listener is called for every component (and thus page).
You check to see if the object is a page and then add the behavior to it
On Feb 17, 2010 8:10 PM, "Douglas Ferguson"
wrote:
But how would I add that to every page in the App?
On Feb 17, 2010, at 5:05 PM, James Carman wro
But how would I add that to every page in the App?
On Feb 17, 2010, at 5:05 PM, James Carman wrote:
> You could use an IComponentInstantiationListener/HeaderContributor I suppose.
>
> http://wicket.apache.org/docs/1.4/org/apache/wicket/application/IComponentInstantiationListener.html
>
> http:/
You could use an IComponentInstantiationListener/HeaderContributor I suppose.
http://wicket.apache.org/docs/1.4/org/apache/wicket/application/IComponentInstantiationListener.html
http://wicket.apache.org/docs/1.4/org/apache/wicket/behavior/HeaderContributor.html
On Wed, Feb 17, 2010 at 5:59 PM,
Is it possible to add a header contributor to all page in an Application
without making a base class?
D/
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org