Re: [wicket 6] Create/Register Spring Bean in wicket ?

2013-05-11 Thread Marco Springer
Maybe this is too simple but: Did you define this bean in the applicationContext.xml?: bean id=myobj class={impl. class}{possible properties}/bean And usually when I'm dealing with are objects that aren't wicket components, like models or the WebApplication object itself, I have to inject

Re: [wicket 6] Create/Register Spring Bean in wicket ?

2013-05-11 Thread smallufo
2013/5/11 Marco Springer ma...@glitchbox.nl Maybe this is too simple but: Did you define this bean in the applicationContext.xml?: bean id=myobj class={impl. class}{possible properties}/bean No this is not what I want. The whole story is ... I have two maven repositories : One is

Re: DataTable update components on Page Change

2013-05-11 Thread Francois Meillet
You can use the event handling mechanism. François Meillet Formation Wicket - Développement Wicket Le 11 mai 2013 à 01:17, David Beer david.m.b...@gmail.com a écrit : Hi All I have an Ajax DataTable that extends DataTable and when I click the navigation panel to change page in the

Re: FW: VITO:(CC0000002070237):Contracts from OPIB ZM from this week are not available in Signature

2013-05-11 Thread Joachim Schrod
malay.na...@kpn.com wrote: 4.In which browser(s) the problem appears ? As reported by the application user, response to this question is, PDF download is working on Firefox and not working on IE. That is a common problem if the document is requested by HTTPS and not by HTTP, and if in IE the

Spring @Autowire not working

2013-05-11 Thread ORACLEADF
The @Autowired annotation works when I call it from my tests, but doesn't work when I call it from my Wicket pages. How can I fix this? - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Spring-Autowire-not-working-tp4658728.html Sent from the Users

Re: DataTable update components on Page Change

2013-05-11 Thread David Beer
Hi Francois Thanks for the reply I am not sure howfrom a reference to my table which Extends DataTable I can update the button when the onPageChanged() method is fired. My Table looks like the following. AJaxTableContact, String contacts = new AJaxTableContact, String(persons, columns, new

Re: Spring @Autowire not working

2013-05-11 Thread Nick Pratt
@Autowired is a Spring thing. If you want to use auto wired beans within a Wicket instantiated page (as opposed to an object instantiated inside/by the Spring container) you need to use the @SpringBean annotation (which is a Wicket provided annotation) N On Sat, May 11, 2013 at 11:27 AM,

Re: Spring @Autowire not working

2013-05-11 Thread ORACLEADF
Nick, you are probably right and maybe this post doesn't belong on the Wicket forum. The reason why I posted it is that @Autowired annotation works when I call it from my tests, but doesn't work when I call it from my Wicket pages. So, this is more of a configuration rather than a bug question.

Re: Spring @Autowire not working

2013-05-11 Thread Nick Pratt
Are your unit tests extending one of the Spring unit test base classes, or are you running with one of the Spring Junit Test runners? On Sat, May 11, 2013 at 12:12 PM, ORACLEADF ora@gmail.com wrote: Nick, you are probably right and maybe this post doesn't belong on the Wicket forum. The

Re: Spring @Autowire not working

2013-05-11 Thread ORACLEADF
Hi Nick Thank you. I create a file applicationContext.xml like the following pic and I use it in DAO and BO classes : applicationContext.xml_.png http://apache-wicket.1842946.n4.nabble.com/file/n4658733/applicationContext.xml_.png and I tested it using public static void main like the