Do you need to write the method called super()? I Couldn't resist S
On Thu, Dec 30, 2010 at 4:29 PM, Dave Newton <davelnew...@gmail.com> wrote: > So, what might happen if you called it (super()) in validate()? > > I mean, I apologize for not just outright telling you, but I really like it > when people puzzle through stuff like this themselves, because it is *the* > most important skill you can have as a developer (or anything else, for > that > matter). > > (I also might be *totally* wrong, in which case sorry I confused the > issue--my bad.) > > Dave > > On Thu, Dec 30, 2010 at 5:13 PM, Anjib Mulepati <anji...@hotmail.com> > wrote: > > > The reason I want to do it in two place is I am hoping I can do simple > > validation in xml file and other custom validation in validate() method. > > This is all because in my file uploading program if I try to upload large > > file I get null in other text box which otherwise works fine with > smaller > > file. > > > > Anjib > > > > > > On 12/30/2010 2:03 PM, Dave Newton wrote: > > > >> ... > >> > >> So, what might happen if you called it in validate()? > >> > >> Dave > >> > >> On Thu, Dec 30, 2010 at 2:01 PM, Anjib Mulepati<anji...@hotmail.com> > >> wrote: > >> > >> Not in validate but in constructor. > >>> > >>> On 12/30/2010 1:56 PM, Dave Newton wrote: > >>> > >>> Are you calling super() in your validate() method? > >>>> > >>>> On Thu, Dec 30, 2010 at 1:38 PM, Anjib Mulepati<anji...@hotmail.com> > >>>> wrote: > >>>> > >>>> I am using 1.3.8. I try with simple one and seems that validate() has > >>>> the > >>>> > >>>>> precedence. In fact rules in .xml file is never checked even my class > >>>>> is > >>>>> extended from ValidatorForm. > >>>>> > >>>>> Do you call super () (S1)? > >>>>> > >>>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > >>> For additional commands, e-mail: user-h...@struts.apache.org > >>> > >>> > >>> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > >