newConverterLocater created before Spring Injection
---------------------------------------------------

                 Key: WICKET-1279
                 URL: https://issues.apache.org/jira/browse/WICKET-1279
             Project: Wicket
          Issue Type: Task
    Affects Versions: 1.3.0-final
         Environment: n/a
            Reporter: Karen Schaper
            Priority: Minor


When upgrading to wicket 1.3 I had to use a new way of registering converters.  
The issue is that the newConverterLocater method is called before any Spring 
injection takes place.  I couldn't call InjectorHolder.getInjector().inject( 
this ) in my converter class.

Eelco asked me to enter this issue and stated in the mail list that:

"We should probably create
the converterLocator and possibly the session store lazily instead of
in Application#internalInit."

My workaround was to put the  "SpringComponentInjector  springInjector = new 
SpringComponentInjector( this );" line into the newConverterLocator which at 
least allows my server to start up. Haven't been able to test further since I 
have any issues now going on.

My first JIRA entry.

Karen

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to