wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Validating a PropertyListView
Date Tue, 28 May 2013 06:41:48 GMT
Hi,

listView.setReuseItems(true);


TextField<Integer> tf = new TextField<Integer>("someId", model);
tf.add(RangeValidator.(range|minimum|maximum)(...));
listItem.add(tf);


On Tue, May 28, 2013 at 9:29 AM, madmax108 <lifeofnavin@gmail.com> wrote:

> Hi, I have a bunch of properties and I want to provide the user a form to
> override the properties, but the issue is that some of these properties are
> range bound (eg. value can be between 10 and 100), some of them are range
> bound on a single side (eg. value can only be greater than 5), and some of
> them are not bound.
>
> What would be the best way to go about this??
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Validating-a-PropertyListView-tp4659066.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message