Sorry, the rest of the page displays fine...  Just nothing where the 
errors tag was...

I have other applications that are working with this...  This is 
frusterating...





-----Original Message-----
From: kkamholz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 10:54 AM
To: struts-user
Subject: RE: ActionErrors in ActionForm and JSP not showing up...


Hmmm.....
I'm not sure what to tell you, it was just a thought I had.  I've just
finished my first struts app, so I'm not exactly an expert or anything.
When you say it doesn't display anything after the font tag, do you mean 
it
doesn't display the <html:errors/> or the whole rest of the JSP?

~ Keith
http://www.buffalo.edu/~kkamholz


-----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]>

Reply via email to