Hello *,

I'm looking for an elegant solution to determine a component for an entity.

Example:
There is a person and two sub-types of it - Manager and Sportsman.
The Manager can be listed in a listview by using a ManagerViewItem
and the Sportsman by using a SportsmanViewItem.

Currently I'm using a factory producing the appropriate viewitems. But this 
factory is injected by using spring.
I would like to reduce the coupling to spring within my component classes (e.g. 
Page).

So i'm looking for a "wicket way" to determine which component is required to 
list all persons.

Thanks for your ideas.
Per

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to