Details
Description
It was noticed that we have session creation in unexpected places (JSESSIONID cookie is created)
As per this blog: http://blog.armstrongconsulting.com/?p=14
It seems that stateless pages become statefull if we use Forms - because forms are statefull components.
Top prevent this we need to use StatelessForm instead of Form components in all of our pages.
Also please apply the checkIfPageStateless() check in development mode only to list all the components that make page stageful again.
Use ShopContext.getLog(this) logger for this, please.
(Need to use isPageStateless() check as per http://stackoverflow.com/questions/14364340/stateless-wicket-page-still-having-page-version-url-parameter-appended-how-to)
This fix will require a full scale regression testing of checkout functionality.
Some examples for wicket stateless forms:
http://www.wicket-library.com/wicket-examples/stateless/foo?-1.IFormSubmitListener-statelessform