Form form = new Form("form");
                form.setOutputMarkupId(true);
                add(form);
                
                RequiredTextField<String> username = new
RequiredTextField<String>("username", new Model<String>());
                form.add(username);
                
                final PasswordTextField password = new 
PasswordTextField("password", new
Model<String>());
                password.add(new ValidationMessageBehavior());
                form.add(password);

        Link<String> localeLinkDE = new Link<String>("localeLinkDE") {
            @Override
            public void onClick() {
                Locale localeDE = new Locale("de", "DE");
                setLocale(localeDE);
                password.getFeedbackMessages().clear();
            }
        };
        add(localeLinkDE);



-----
François Meillet
Formation Wicket - Développement Wicket
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Filtered-feedback-message-cleanup-tp4662503p4662523.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to