Kishore,

Bingo!  Thanks, that's it!  I thought I had it set up right.  It makes
perfect sense now though.

Thanks again.

Thanks to Jim too for your help.

I'm also grateful to Mark for the chuckle we got ( I showed some colleagues
who are learning Stuts w/ me) from your first response.  I'll remember your
advice.

Bart

Bart M Fuller
DaimlerChrysler Services North America LLC
CIMS 405-03-15
27777 Inkster Road
Farmington HIlls MI  48334-5326

Phone: 248-427-5920    (T/L) 870-5920
mailto: [EMAIL PROTECTED]




                                                                           
             Kishore Senji                                                 
             <[EMAIL PROTECTED]                                             
             >                                                          To 
                                       Struts Users Mailing List           
             08/18/2004 04:26          <[EMAIL PROTECTED]>            
             PM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         Re: Validation plug-in & Websphere  
               "Struts Users           Studio 5.0.1                        
               Mailing List"                                               
             <[EMAIL PROTECTED]                                             
                  he.org>                                                  
                                                                           
                                                                           
                                                                           




What's your input attribute for that action? (My guess is your input
attribute might be pointing to the same action, instead of a jsp, the
only way, i can think of getting looped 163 times.)

Thanks,
Kishore Senji.

On Wed, 18 Aug 2004 15:05:39 -0400, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>
> My bad.
>
> That was some code I was trying just to see what would happen.  This line
> gets the same results and is the one I started with.  Promise.
>
>      errors.add(ActionErrors.GLOBAL_MESSAGE, new ActionError(
> "errors.physical.takeover"));
>
>             "Jim Barrows"
>             <[EMAIL PROTECTED]
>             m>                                                         To
>                                       "Struts Users Mailing List"

>             08/18/2004 02:54          <[EMAIL PROTECTED]>
>
>
>             PM                                                         cc
>
>                                                                   Subject
>             Please respond to         RE: Validation plug-in & Websphere
>               "Struts Users           Studio 5.0.1
>               Mailing List"
>             <[EMAIL PROTECTED]
>                  he.org>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, August 18, 2004 11:38 AM
> > To: Struts Users Mailing List
> > Subject: RE: Validation plug-in & Websphere Studio 5.0.1
>
> <snip> bunch of code</snip>
>
> >             if(physicalAudit == true){
> >                   if(takeoverAudit == true){
> >                         errors.add("Test add", new ActionError(
> > "errors.physical.takeover"));
>
> from the javadoc:
> public void add(java.lang.String property,
>                ActionError error)
> property - Property name (or ActionErrors.GLOBAL_ERROR)
>
> I don't think your property name is not a valid property name.  try
> test.add, testAdd or something similar.
> Or, for testing this out try GLOBABL_ERROR as defined above.
>
> >                   }
> >             }
> >             if(errors.isEmpty()){
> >                   return null;
> >             }else{
> >                   return errors;
> >             }
> >       }
> >
> >
> >
> >
> >
> >
> >
> >              "Jim Barrows"
> >
> >              <[EMAIL PROTECTED]
> >
> >              m>
> >           To
> >                                        "Struts Users Mailing
> > List"
> >              08/18/2004 01:58
> > <[EMAIL PROTECTED]>
> >              PM
> >           cc
> >
> >
> >
> >      Subject
> >              Please respond to         RE: Validation plug-in
> > & Websphere
> >                "Struts Users           Studio 5.0.1
> >
> >                Mailing List"
> >
> >              <[EMAIL PROTECTED]
> >
> >                   he.org>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, August 18, 2004 10:49 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Validation plug-in & Websphere Studio 5.0.1
> > >
> > >
> > >
> > >
> > >
> > >
> > > I'm new to Struts and couldn't find anything about this on
> > > the archive so
> > > please bear with me if I'm repeating a question.
> > >
> > > I'm developing a Struts 1.1 web app and trying to implement
> > > the validation
> > > plug-in.  Things went well as long as I was only using the
> > > validations that
> > > came with the plug-in.  When I try to add my own custom
> > validation by
> > > overriding the validate() method of the form the server
> > > crashes with an
> > > IllegalStateException after dozens of loops in the validate()
> > > method.  The
> > > statement causing the problem is the errors.add() statement.
> > > Without it
> > > there is no problem.
> > >
> > > If anyone can help I'd be grateful.  I can provide more
> > > details from the
> > > log if needed.
> >
> > How about some code?  Log is cool.... but code is better :)
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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




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

Reply via email to