回复:Re: how to Validate tabular input.

2009-02-27 Thread 张云勇
use vistor validator. you can see the sample app shipped with the struts full source download archives. 在2009-02-27,"Wes Wannemacher" 写道: On Thursday 26 February 2009 20:04:55 Greg Lindholm wrote: > I would really like to know the answer as well, how do you validate a list > of fields with ann

Re: how to Validate tabular input.

2009-02-26 Thread Wes Wannemacher
On Thursday 26 February 2009 20:04:55 Greg Lindholm wrote: > I would really like to know the answer as well, how do you validate a list > of fields with annotations? > > let me tweak your example a bit so it will at least work (before > validation). > (See http://struts.apache.org/2.x/docs/tabular-

Re: how to Validate tabular input.

2009-02-26 Thread Greg Lindholm
I would really like to know the answer as well, how do you validate a list of fields with annotations? let me tweak your example a bit so it will at least work (before validation). (See http://struts.apache.org/2.x/docs/tabular-inputs.html) public List getMytext() {return mytext;} public voi