Hi!
I'm evaluating TP4. Looks great! But I ran into a problem with the
@InjectObject annotation. I could access the spring context via:
<inject property="AssetDAO" object="spring:AssetDAO"/>
So the setup of spring seems to be working. But I need to access it in the
component/page class like:
@InjectObject("spring:AssetDAO")
public abstract AssetDAO getAssetDAO();
This code throws a java.lang.IllegalArgumentException:
Unable to instantiate instance of class $Anno_15 using constructor public
....
argument type mismatch
I tried tapestry beta 1 through 3 with spring 1.2.2 without any success. I
assume I overlook a fault, but I can't figure it out. Should I provide the
whole stacktrace and/or more information?
Thanks
Dennis
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f�r Mail, Message, More +++
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]