Hi, You can add/attach validators only to Form and FormComponent components. A "cell" is rather a container like a Panel/Fragment, so there is no way to validate it.
On Mon, Sep 16, 2013 at 1:04 PM, [email protected] < [email protected]> wrote: > We're currently using Wicket 1.5.7, and have a need to display data in a > treegrid structure. My question relates to validation of individual cell > values. > The Wicketstuff Treegrid works on a per column model, and ideally what I > need is the ability to examine individual cells, and run defined validation > rules against them. The values of the cells may possibly be validated > against other cells, and any errors highlighted with appropriate styling > e.g. red background. > I'm not finding that the Treegrid is particularly easy to work with in > this respect. Ideally it would be nice to attach a validator to an > individual cell. Is this possible? I've not been able to find any examples > which demonstrate how to do this. > > Thanks > Andrew > > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@wicket.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > >
