You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alexandru Objelean (JIRA)" <ji...@apache.org> on 2009/04/01 10:27:13 UTC

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

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.


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

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2198.
-----------------------------------

         Assignee: Igor Vaynberg
    Fix Version/s: 1.4.0
       Resolution: Cannot Reproduce

could not reproduce with latest 1.4-snap

> 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
>            Assignee: Igor Vaynberg
>             Fix For: 1.4.0
>
>
> 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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-2198:
----------------------------------

    Priority: Major  (was: Critical)

> 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
>
> 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.