You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2009/04/07 15:17:12 UTC

[jira] Commented: (WICKET-2198) HybridUrlCodingStrategy & FeedbackPanel when Cookies are disabed

    [ https://issues.apache.org/jira/browse/WICKET-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696521#action_12696521 ] 

Juergen Donnerstag commented on WICKET-2198:
--------------------------------------------

Please attach a fully functional quickstart: http://wicket.apache.org/quickstart.html
Thanks

> HybridUrlCodingStrategy & FeedbackPanel when Cookies are disabed
> ----------------------------------------------------------------
>
>                 Key: WICKET-2198
>                 URL: https://issues.apache.org/jira/browse/WICKET-2198
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>            Reporter: Alexandru Objelean
>            Priority: Critical
>
> 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:
> {code}
> public class MyApplication extends AuthenticatedWebApplication {
>     @Override
>   protected void init() {
>     super.init();
>     mount(new HybridUrlCodingStrategy(url, HomePage.class));
>   }
> }
> {code}
> In HomePage.java, I have a form
> {code}
> 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));
>   }
> }
> {code}
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.