This is close to the solution we are currently using ;)
Thanks for the info on the Classes object.
Rgds
Ned
Kent Tong wrote:
>
>
> public class TestPage extends WebPage {
> @SpringBean(name = "panelFactory")
> private PanelFactory panelFactory;
>
> public TestPage() {
> add(panelFactory.getPanel("testPanelOne"));
> }
>
> }
> <bean id="config" class="myapp.Config" scope="singleton">
> <property name="panelClass">
> <value>myapp.TestPanel</value>
> </property>
> </bean>
> <bean id="panelFactory" class="myapp.PanelFactory" scope="singleton">
> <property name="config" ref="config"/>
> </bean>
>
>
--
View this message in context:
http://www.nabble.com/Accessing-prototype-scoped-panel-beans-using-%40SpringBean-annotation-tp15627974p15657435.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]