It may sound obvious, but I did check that over and over again!  Same 
thought I had.  I even went as far as to copy and paste it over the 
existing one just in case my cursed eyes were missing a mis-spelling!




-----Original Message-----
From: Christopher.Homer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 9:16 AM
To: struts-user
Subject: RE: ActionErrors in ActionForm and JSP not showing up...


I know it sounds obvious, but are you sure you have placed
"error.requestform.company.required" in your 
ApplicationResources.properties
file?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 31 July 2002 14:24
To: [EMAIL PROTECTED]
Subject: RE: ActionErrors in ActionForm and JSP not showing up...



I did not think you needed a saveErrors in an actionForms validate 
method... You return the error list from there... 

-----Original Message-----
From: emr [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 5:58 PM
To: struts-user
Subject: Re: ActionErrors in ActionForm and JSP not showing up...


On Tue, Jul 30, 2002 at 03:47:10PM -0400, 
[EMAIL PROTECTED] wrote:
> 
> Yep... I've got that tag in there...  Also, I started off with setting 

a 
> specific a field, but had no luck (I even just tried setting it in 
> specifically on both ends...)
> 
> Sigh.

You should add a

        saveErrors(request, errors);

before returning.

Hope this helps,
Erich

> I have fixed every other part of my app that needs fixing avoiding 
this 
> problem...
> 
> 
> 
> -----Original Message-----
> From: AKulp [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 30, 2002 3:18 PM
> To: struts-user
> Subject: RE: ActionErrors in ActionForm and JSP not showing up...
> 
> 
>       Just a thought, but have you remembered to define the tag libary 
> for
> HTML?  I had a similiar error once.  I think with that you would see
> <html:errors/> show up in the final HTML though.  The other thing, is 
> the
> use of ActionErrors.GLOBAL_ERROR.  I haven't used it so it may just be 


> my
> ignorance, but you may want to change it to reference a specific field 


> on
> the form and see if it comes through.
> 
>       -Arian
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 30, 2002 10:29 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: ActionErrors in ActionForm and JSP not showing up...
> > 
> > 
> > 
> > Hey Keith,
> > 
> > I know about the logic tag, I just added it there so I could get an 
> idea 
> > if the errors were making it into the page...
> > 
> > When I started on this, it was just the font and error tags...
> > 
> > PS. I am on a nightly build dated the 29th
> > 
> > -----Original Message-----
> > From: kkamholz [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 30, 2002 10:15 AM
> > To: struts-user
> > Subject: RE: ActionErrors in ActionForm and JSP not showing up...
> > 
> > 
> > You don't need the <logic:messagesPresent>.  It automatically checks 


> to 
> > see
> > if errors are present, so you can just use the font tag and the
> > <html:errors/>.  If there are no errors, it won't write anything 
out.  
> I
> > don't know if this would solve your issue, but maybe it has 
something 
> to 
> > do
> > with it.
> > 
> > ~ Keith
> > http://www.buffalo.edu/~kkamholz
> > 
> > 
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 30, 2002 10:21 AM
> > To: [EMAIL PROTECTED]
> > Subject: ActionErrors in ActionForm and JSP not showing up...
> > 
> > 
> > 
> > 
> >        if (this.companySelection == null || 
> > this.companySelection.equals("")) {
> >            System.out.println("FormPremadeReport:validate > No 
Company 
> 
> > Selected");
> >            errors.add(ActionErrors.GLOBAL_ERROR, new 
> > ActionError("error.requestform.company.required"));
> >        }
> >        return errors;
> > 
> > 
> > I have the above code in my ActionFormValidate...  When I submit the 


> > form it passes the IF (as it should) and returns me to the HTML form 


> > page.  BUT my JSP for:
> > 
> >     <logic:messagesPresent>
> >     <!-- Errors detected -->
> >     <font color="Red"><html:errors/></font>
> >     </logic:messagesPresent>
> > 
> > Sends back the comment and font tags, but nothing after that...
> > 
> > Any ideas?  I do have the application properties for all the 
settings, 
> 
> > plus the shown resource above...
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
> > <mailto:[EMAIL PROTECTED]>
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>
> 

-- 
Dr. Erich Meier, Software Process Improvement
method park Software AG, Wetterkreuz 19a, 91058 Erlangen, Germany
phone: +49-9131-97206-316  mailto:[EMAIL PROTECTED]
fax:   +49-9131-97206-200  http://www.methodpark.de/

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



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
For optimum solutions that save you time, visit www.ds-s.com.

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



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

Reply via email to