Ignore:
Timestamp:
01/06/14 08:18:53 (10 years ago)
Author:
twagoo
Message:

Branched off keeloo's wicket-6 conversion branch.
Applied a number of fixes to make code properly compilable, runnable (app still doesn't start properly).
To be merged back with keeloo's work.

Location:
vlo/branches/to-wicket-1.6-twagoo
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • vlo/branches/to-wicket-1.6-twagoo/vlo_web_app/src/main/java/eu/clarin/cmdi/vlo/dao/DaoLocator.java

    r2788 r4212  
    22
    33import eu.clarin.cmdi.vlo.VloWebApplication;
    4 import org.apache.wicket.RequestCycle;
     4import org.apache.wicket.Application;
     5
    56
    67public final class DaoLocator {
     
    89    public static SearchResultsDao getSearchResultsDao()
    910    {
    10         VloWebApplication app = (VloWebApplication)RequestCycle.get().getApplication();
     11        VloWebApplication app = (VloWebApplication)Application.get();
    1112        return app.getSearchResultsDao();
    1213    }
Note: See TracChangeset for help on using the changeset viewer.