We are using Spring.

Liam Clarke-Hutchinson-3 wrote:
> 
> Are you using an IoC container at all?
> 
> On 4/24/09, Nick Wiedenbrück <[email protected]> wrote:
>> Hi,
>>
>> I'm having many Components (DropDowns, ChoiceRenderers, ...) that are
>> reused
>> in different places in my application. For example I have one
>> ChoiceRenderer  for persons, one for accounts and so on. I want to
>> centralize the creation of these components in a factory in order to
>> decople
>> the clients. For example I'm thinking about a ChoiceRendererFactory with
>> methods createPersonChoiceRenderer() and createAccountChoiceRenderer().
>>
>> Now, my question is where to put this factory. I need a central place,
>> where
>> the can find the factory. Is it a good idea to have a method
>> createChoiceRendererFactory() on my Application class?
>>
>> Regards,
>> Nick
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Factory-for-Components-tp23212875p23216937.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to