Martijn Dashorst wrote: > On 7/19/07, David Rosenstrauch <[EMAIL PROTECTED]> wrote: >> Martijn Dashorst wrote: >>> It is configurable: don't use PasswordTextField but TextField instead. >> No. If you try to use a TextField, then wicket will insist that you >> convert your HTML to use <input type="text"/> instead of <input >> type="password"/> - and thus lose the masked password entry capabilities >> (i.e., echoing "*" characters). > > In 1.3-beta2 the type is not specified: so you can use any type of > field.
? I am using 1.3-beta2. > IIUC (I don't have the code open) you can override the > getType() method of the textfield, and return null. > > Martijn > Hmmm ... I don't think I totally understand what you're suggesting here: new RequiredTextField() { public Class getType() { return ....what?!?!?; } } And now that I check, that's not even allowed. getType() is final in FormComponent. DR ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user