Description
In my application I use HybridUrlCodingStrategy for all my pages. I've noticed that when cookies are disabled, the FeedbackPanel isn't visible any more (when the form is submitted and there are errors or other types of messages -> they are simply not shown). When I disable the HybridUrlCodingStrategy, everything is ok.
Here is the quickstart:
in Application class:
public class MyApplication extends AuthenticatedWebApplication { @Override protected void init() { super.init(); mount(new HybridUrlCodingStrategy(url, HomePage.class)); } }
In HomePage.java, I have a form
public class HomePage extends WebPage { private final class SignInForm extends Form { private final ValueMap properties = new ValueMap(); public SignInForm(final String id) { super(id); add(new FeedbackPanel("feedback")); add(new TextField<String>("username", new PropertyModel<String>(properties, "username")).setRequired(true)); add(new PasswordTextField<String>("password", new PropertyModel<String>(properties, "password")).setRequired(true)); } }
Then, disable cookies in FF3 using Developer Toolbar. Access the page, hit the submit button when all fields are empty. Feedback messages are expected to be shown. But with cookies disabled, nothing happens. If you remove HybridUrlCodingStrategy mount, it works ok.