Re: html:errors - how do you make a bulleted error list

2002-10-09 Thread David Graham

Do any of your error messages show up, or just the header and footer?
It will only print the prefix if there are errors to display.
Dave


>From: Doug Bryant <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>
>Subject: html:errors - how do you make a bulleted error list
>Date: 09 Oct 2002 17:14:14 -0400
>
>Hello,
>
>We are trying to display a list of errors at the top of a page.  We are
>trying to make each error bulleted, but are running into difficulty.
>
>I looked through the 1.1b2 examples and saw that there were a couple of
>examples using "errors.prefix" and "errors.suffix" to wrap errors in
>bullet points.  However, it's not displaying what I defined there.
>
>Does this feature work?  What am I doing wrong?  Below is what I have
>defined in my application.properties.  The errors.header and
>errors.footer show up properly.   We are using 1.1 beta 2 struts
>release.
>
>Thanks for any help.
>
>Doug
>
>errors.header=
>errors.footer=
>
>errors.prefix=
>errors.suffix=
>
>
>
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: html:errors - how do you make a bulleted error list

2002-10-10 Thread Doug Bryant

My error messages do show up.  They show up as one long string. For
instance, they would show up like "Text of error1. Text of error2. Text
of error3"

I would like to get this resolved without putting  tags around the
messages themselves.  

thanks, Doug

On Wed, 2002-10-09 at 17:37, David Graham wrote:
> Do any of your error messages show up, or just the header and footer?
> It will only print the prefix if there are errors to display.
> Dave
> 
> 
> >From: Doug Bryant <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: Struts Users Mailing List <[EMAIL PROTECTED]>
> >Subject: html:errors - how do you make a bulleted error list
> >Date: 09 Oct 2002 17:14:14 -0400
> >
> >Hello,
> >
> >We are trying to display a list of errors at the top of a page.  We are
> >trying to make each error bulleted, but are running into difficulty.
> >
> >I looked through the 1.1b2 examples and saw that there were a couple of
> >examples using "errors.prefix" and "errors.suffix" to wrap errors in
> >bullet points.  However, it's not displaying what I defined there.
> >
> >Does this feature work?  What am I doing wrong?  Below is what I have
> >defined in my application.properties.  The errors.header and
> >errors.footer show up properly.   We are using 1.1 beta 2 struts
> >release.
> >
> >Thanks for any help.
> >
> >Doug
> >
> >errors.header=
> >errors.footer=
> >
> >errors.prefix=
> >errors.suffix=
> >
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   
> >
> >For additional commands, e-mail: 
> >
> 
> 
> 
> 
> _
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: html:errors - how do you make a bulleted error list

2002-10-10 Thread Morycz, Felicia V

The only way I could get the prefix and suffix to work was by explicitly
asking for them in the jsp, like:


   
   
   
   
  
   
   
   


I'd rather keep the html in the jsp rather than in a property file, like:


   
   
   
   
  
   
   
   



Here are my properties:
errors.prefix=
errors.suffix=
errors.footer=
errors.header=Validation ErrorYou
must correct the following error(s) before proceeding:


We must be missing something.  Anyone else find another way to get prefix
and suffix to work?

-Original Message-
From: Doug Bryant [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 8:47 AM
To: Struts Users Mailing List
Subject: Re: html:errors - how do you make a bulleted error list


My error messages do show up.  They show up as one long string. For
instance, they would show up like "Text of error1. Text of error2. Text
of error3"

I would like to get this resolved without putting  tags around the
messages themselves.  

thanks, Doug

On Wed, 2002-10-09 at 17:37, David Graham wrote:
> Do any of your error messages show up, or just the header and footer?
> It will only print the prefix if there are errors to display.
> Dave
> 
> 
> >From: Doug Bryant <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: Struts Users Mailing List <[EMAIL PROTECTED]>
> >Subject: html:errors - how do you make a bulleted error list
> >Date: 09 Oct 2002 17:14:14 -0400
> >
> >Hello,
> >
> >We are trying to display a list of errors at the top of a page.  We are
> >trying to make each error bulleted, but are running into difficulty.
> >
> >I looked through the 1.1b2 examples and saw that there were a couple of
> >examples using "errors.prefix" and "errors.suffix" to wrap errors in
> >bullet points.  However, it's not displaying what I defined there.
> >
> >Does this feature work?  What am I doing wrong?  Below is what I have
> >defined in my application.properties.  The errors.header and
> >errors.footer show up properly.   We are using 1.1 beta 2 struts
> >release.
> >
> >Thanks for any help.
> >
> >Doug
> >
> >errors.header=
> >errors.footer=
> >
> >errors.prefix=
> >errors.suffix=
> >
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: 
> ><mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> _
> Send and receive Hotmail on your mobile device: http://mobile.msn.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]>

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