56 | | === Development === |
| 56 | === Front-end development === |
| 57 | |
| 58 | ==== Architecture ==== |
| 59 | |
| 60 | * Wicket + Spring |
| 61 | * Spring wiring through eu.clarin.cmdi.vlo.config.VloSpringConfig |
| 62 | * Bootstrapped through filter in web.xml and applicationContext.xml in WEB-INF |
| 63 | * Beans are defined here and can be injected into wicket components and other wicket beans |
| 64 | * For a tutorial/introduction, see http://hwellmann.blogspot.nl/2011/02/building-web-applicaton-with-wicket.html |
| 65 | * Unit test may inject a custom (overridden) spring configuration |
| 66 | |
| 67 | ==== Configuration ==== |
| 68 | |
| 69 | !VloConfig is POJO |
| 70 | |
| 71 | * Factories for different ways of creating config |
| 72 | * Context parameters read via ServletVloConfigFactory |
| 73 | * Ignored and technical fields are configured through VloConfig.xml |
| 74 | |
| 75 | ==== Localisation ==== |
| 76 | |
| 77 | Using Wicket i8n support, see [http://wicket.apache.org/guide/guide/i18n.html Wicket Guide]. |
| 78 | |
| 79 | * Field names in fieldNames.properties |