List of usage examples for org.apache.wicket.devutils.stateless StatelessChecker StatelessChecker
StatelessChecker
From source file:org.qi4j.sample.dcicargo.sample_a.bootstrap.DCISampleApplication_a.java
License:Apache License
public void wicketInit() { // Tabs and SEO urls mountPages();/*from w ww . j a v a 2 s . co m*/ // Show/hide Ajax debugging getDebugSettings().setDevelopmentUtilitiesEnabled(true); // Check that components are stateless when required getComponentPostOnBeforeRenderListeners().add(new StatelessChecker()); // Show/hide wicket tags in html code getMarkupSettings().setStripWicketTags(true); // Default date format (we don't care for now about the hour of the day) ((ConverterLocator) getConverterLocator()).set(Date.class, new PatternDateConverter("yyyy-MM-dd", true)); }