[Wicket-user] Dead? addComponentInstantiationListener(new SpringComponentInjector(this));

2007-07-11 Thread Tremelune

I recently went from 1.3-snapshot to 1.3-beta2 and the following line of code
now won't compile:

addComponentInstantiationListener(new SpringComponentInjector(this));

I'm sure there is a simple solution to this, but I've sniffed around this
forum and looked for clues in the 1.3-beta2 source with no apparent
replacement for adding spring annotations. Can anyone enlighten me? No
mention in the migration...



IComponentInstantiationListener listener = new
IComponentInstantiationListener() {
  public void onInstantiation(final Component component) {
//???

//Here be dragons!!!
  }
};

addComponentInstantiationListener(listener);

-- 
View this message in context: 
http://www.nabble.com/Dead--addComponentInstantiationListener%28new-SpringComponentInjector%28this%29%29--tf4064885.html#a11549775
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Dead? addComponentInstantiationListener(new SpringComponentInjector(this));

2007-07-11 Thread Nick Heudecker

This might be caused by a missing wicket-ioc JAR in your project.  I think
sometime between before beta2, a new IOC project was introduced.  If you're
compiling from SVN, this should be another project directory.



On 7/11/07, Tremelune [EMAIL PROTECTED] wrote:



I recently went from 1.3-snapshot to 1.3-beta2 and the following line of
code
now won't compile:

addComponentInstantiationListener(new SpringComponentInjector(this));

I'm sure there is a simple solution to this, but I've sniffed around this
forum and looked for clues in the 1.3-beta2 source with no apparent
replacement for adding spring annotations. Can anyone enlighten me? No
mention in the migration...



IComponentInstantiationListener listener = new
IComponentInstantiationListener() {
  public void onInstantiation(final Component component) {
//???

//Here be dragons!!!
  }
};

addComponentInstantiationListener(listener);

--
View this message in context:
http://www.nabble.com/Dead--addComponentInstantiationListener%28new-SpringComponentInjector%28this%29%29--tf4064885.html#a11549775
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Nick Heudecker
Professional Wicket Training  Consulting
http://www.systemmobile.com

Eventful - Intelligent Event Management
http://www.eventfulhq.com
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Dead? addComponentInstantiationListener(new SpringComponentInjector(this));

2007-07-11 Thread Tremelune

Bingo, thanks. I'll add that to my mavenization...That threw me for a loop!




This might be caused by a missing wicket-ioc JAR in your project.  I think
sometime between before beta2, a new IOC project was introduced.  If you're
compiling from SVN, this should be another project directory.

-- 
View this message in context: 
http://www.nabble.com/Dead--addComponentInstantiationListener%28new-SpringComponentInjector%28this%29%29--tf4064885.html#a11550113
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Dead? addComponentInstantiationListener(new SpringComponentInjector(this));

2007-07-11 Thread Igor Vaynberg

On 7/11/07, Tremelune [EMAIL PROTECTED] wrote:



Bingo, thanks. I'll add that to my mavenization...That threw me for a
loop!



you dont need to reference it directly in your pom, its transient from
wicket-spring - just need to rebuild your project with mvn eclipse:eclipse

-igor



This might be caused by a missing wicket-ioc JAR in your project.  I think

sometime between before beta2, a new IOC project was introduced.  If
you're
compiling from SVN, this should be another project directory.

--
View this message in context:
http://www.nabble.com/Dead--addComponentInstantiationListener%28new-SpringComponentInjector%28this%29%29--tf4064885.html#a11550113
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user