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

Reply via email to