On Oct 26, 2005, at 7:49 PM, Igor Vaynberg wrote:
So where does the automatic injection stop? What if I have a panel
that
needs a reference to a service? Or a subclass of a component?
Good question. I think I'm going with this:
* Pages are application specific and thus can have references to an
application specific bean factory.
* Components should be generic and not directly tied to a specific
application. So instead of the static configuration using annotations
the component should have dynamic/programmatic configuration from
within the page that uses it.
I know it is not perfect. But for me the current setup works ok.
S.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user