Hi,
El mar, 02-12-2008 a las 15:19 -0800, Lionel Armanet (via Nabble)
escribió:
> Hi,
>
> In facts, the WickextWebApplication class is just there to do a quick
> integration. If you look at the source code of this class, it just
> adds a listener to the web application. This listener manages WickeXt
> components' life cycle, such as auto JS import, theming of UI
> components etc.
>
> If you want to use WickeXt with a WebApplication without using
> inheritance, just do the following thing:
>
> 1/ override the init method in your Wicket application
> 2/ in this init method, add the WickeXt listener (its class is
> WickextPluginInstantiationListener).
>
@Lionel: I think this could happen automatically by using
o.a.wicket.IInitializer.
Just add wicket.properties at .../main/resources/ folder with content:
initializer=org.objetdirect.wickext.WickextInitializer
This initializer will register the listener but I don't see how it could
manipulate the theming ...