Re: Wicket CDI application junit test

2014-04-17 Thread Duke
4 with wicket-cdi 1.1 module. Best regards, Andrey -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665459.html Sent from the Users forum mailing list archive at Nabb

Re: Wicket CDI application junit test

2014-04-15 Thread Duke
Found some info in mail archives. I will try to upgrade gf4 with weld 2.1.x as I read. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665416.html Sent from the Users forum mailing list archive at Nabble.com

Re: Wicket CDI application junit test

2014-04-15 Thread Duke
lication yet. It fails without any injections, even I try to use at least one anonymous class. I must write a code without any anonymous classes? Or what can I do? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665415.html Sen

Re: Wicket CDI application junit test

2014-04-15 Thread Martin Grigorov
If I remove any injections, fail remains. It disappers only if I remove > { new CdiConfiguration().configure(this); } in Application.init(), but my > injections are nulls in this case. > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/

Re: Wicket CDI application junit test

2014-04-15 Thread Duke
igure(this); } in Application.init(), but my injections are nulls in this case. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665412.html Sent from the Users forum mailing list archive at

Re: Wicket CDI application junit test

2014-04-14 Thread Martin Grigorov
ent line with configuring of CdiConfiguration, all injections are > nulls (( > What I am doing wrong? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665402.html > Sent from the Users forum mailing l

Re: Wicket CDI application junit test

2014-04-14 Thread Duke
injections are nulls (( What I am doing wrong? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665402.html Sent from the Users forum mailing list archive at Nabble.com

Re: Wicket CDI application junit test

2014-04-11 Thread Duke
Found your thread, David :) Many thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665373.html Sent from the Users forum mailing list archive at Nabble.com

Re: Wicket CDI application junit test

2014-04-11 Thread David Beer
://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665371.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...

Re: Wicket CDI application junit test

2014-04-11 Thread Duke
ut it don't work. Then I found an issue about this problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-junit-test-tp4665366p4665371.html Sent from the Users forum mailing list archive at

Re: Wicket CDI application junit test

2014-04-11 Thread Stephan Schrader
;java:comp/BeanManager"); > } catch (NamingException ex) { > logger.error("Error while creating BeanManager. Error text: > {}", > ex.toString()); > } > new CdiConfiguration(manager).configure(this); > ... > } > } > > H

Wicket CDI application junit test

2014-04-10 Thread Duke
"Error while creating BeanManager. Error text: {}", ex.toString()); } new CdiConfiguration(manager).configure(this); ... } } How I can get BeanManager for tests? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-CDI-application-j