Oops, the form is not needed here anymore:
public void SignIn.reset() {
if (isMustReset()) {
properties.remove("username");
properties.remove("password");
}
}
On 9/7/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> public void reset() {
> // This check is here because I think maybe
> // I want to call reset() from outside unconditionally
> if (isMustReset()) {
> MarkupContainer form = null;
> if (formId != null) {
> form = (MarkupContainer) get(formId);
> }
> // Resetting form model by removing
> // the corresponding objects altogether
> if (form != null) {
> properties.remove("username");
> properties.remove("password");
> }
> }
> }
>
> So, the fields are cleared and a user sees an empty form.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop