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
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
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
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
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
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
@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,
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.
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
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
10 matches
Mail list logo