We have the following on our base TextField

        public void setMaxLength(int maxLength)
        {
                this.maxLength = maxLength;
                if (maxLength > 0)
                        add(new AttributeModifier("maxlength", true, new 
Model(maxLength)));
        }

On Tue, Mar 4, 2008 at 11:39 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> Is there a validator in wicket that constrains the input length?
>
>  Michael
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Scott Swank
reformed mathematician

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to