use of org.apache.wicket.devutils.stateless.StatelessChecker in project qi4j-sdk by Qi4j.
the class DCISampleApplication_a method wicketInit.
public void wicketInit() {
// Tabs and SEO urls
mountPages();
// 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));
}
use of org.apache.wicket.devutils.stateless.StatelessChecker in project qi4j-sdk by Qi4j.
the class DCISampleApplication_b method wicketInit.
public void wicketInit() {
// Tabs and SEO urls
mountPages();
// 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));
}
Aggregations